Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2984 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Nov 25, 2004, 1:45:48 PM (20 years ago)
Author:
nico
Message:

orxonox/branches/osX: refitted to osX

Location:
orxonox/branches/osX
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/osX/aclocal.m4

    r2983 r2984  
    1 # generated automatically by aclocal 1.8.5 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
     1# generated automatically by aclocal 1.7.6 -*- Autoconf -*-
     2
     3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    44# Free Software Foundation, Inc.
    55# This file is free software; the Free Software Foundation
     
    1212# PARTICULAR PURPOSE.
    1313
    14 
    15 dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
    16 dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
    17 dnl also defines GSTUFF_PKG_ERRORS on error
    18 AC_DEFUN(PKG_CHECK_MODULES, [
    19   succeeded=no
    20 
    21   if test -z "$PKG_CONFIG"; then
    22     AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
     14# Do all the work for Automake.                            -*- Autoconf -*-
     15
     16# This macro actually does too much some checks are only needed if
     17# your package does certain things.  But this isn't really a big deal.
     18
     19# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     20# Free Software Foundation, Inc.
     21
     22# This program is free software; you can redistribute it and/or modify
     23# it under the terms of the GNU General Public License as published by
     24# the Free Software Foundation; either version 2, or (at your option)
     25# any later version.
     26
     27# This program is distributed in the hope that it will be useful,
     28# but WITHOUT ANY WARRANTY; without even the implied warranty of
     29# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     30# GNU General Public License for more details.
     31
     32# You should have received a copy of the GNU General Public License
     33# along with this program; if not, write to the Free Software
     34# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     35# 02111-1307, USA.
     36
     37# serial 10
     38
     39AC_PREREQ([2.54])
     40
     41# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
     42# the ones we care about.
     43m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
     44
     45# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     46# AM_INIT_AUTOMAKE([OPTIONS])
     47# -----------------------------------------------
     48# The call with PACKAGE and VERSION arguments is the old style
     49# call (pre autoconf-2.50), which is being phased out.  PACKAGE
     50# and VERSION should now be passed to AC_INIT and removed from
     51# the call to AM_INIT_AUTOMAKE.
     52# We support both call styles for the transition.  After
     53# the next Automake release, Autoconf can make the AC_INIT
     54# arguments mandatory, and then we can depend on a new Autoconf
     55# release and drop the old call support.
     56AC_DEFUN([AM_INIT_AUTOMAKE],
     57[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
     58 AC_REQUIRE([AC_PROG_INSTALL])dnl
     59# test to see if srcdir already configured
     60if test "`cd $srcdir && pwd`" != "`pwd`" &&
     61   test -f $srcdir/config.status; then
     62  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
     63fi
     64
     65# test whether we have cygpath
     66if test -z "$CYGPATH_W"; then
     67  if (cygpath --version) >/dev/null 2>/dev/null; then
     68    CYGPATH_W='cygpath -w'
     69  else
     70    CYGPATH_W=echo
    2371  fi
    24 
    25   if test "$PKG_CONFIG" = "no" ; then
    26      echo "*** The pkg-config script could not be found. Make sure it is"
    27      echo "*** in your path, or set the PKG_CONFIG environment variable"
    28      echo "*** to the full path to pkg-config."
    29      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
    30   else
    31      PKG_CONFIG_MIN_VERSION=0.9.0
    32      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
    33         AC_MSG_CHECKING(for $2)
    34 
    35         if $PKG_CONFIG --exists "$2" ; then
    36             AC_MSG_RESULT(yes)
    37             succeeded=yes
    38 
    39             AC_MSG_CHECKING($1_CFLAGS)
    40             $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
    41             AC_MSG_RESULT($$1_CFLAGS)
    42 
    43             AC_MSG_CHECKING($1_LIBS)
    44             $1_LIBS=`$PKG_CONFIG --libs "$2"`
    45             AC_MSG_RESULT($$1_LIBS)
    46         else
    47             $1_CFLAGS=""
    48             $1_LIBS=""
    49             ## If we have a custom action on failure, don't print errors, but
    50             ## do set a variable so people can do so.
    51             $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
    52             ifelse([$4], ,echo $$1_PKG_ERRORS,)
    53         fi
    54 
    55         AC_SUBST($1_CFLAGS)
    56         AC_SUBST($1_LIBS)
    57      else
    58         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
    59         echo "*** See http://www.freedesktop.org/software/pkgconfig"
    60      fi
    61   fi
    62 
    63   if test $succeeded = yes; then
    64      ifelse([$3], , :, [$3])
    65   else
    66      ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
    67   fi
     72fi
     73AC_SUBST([CYGPATH_W])
     74
     75# Define the identity of the package.
     76dnl Distinguish between old-style and new-style calls.
     77m4_ifval([$2],
     78[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
     79 AC_SUBST([PACKAGE], [$1])dnl
     80 AC_SUBST([VERSION], [$2])],
     81[_AM_SET_OPTIONS([$1])dnl
     82 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
     83 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
     84
     85_AM_IF_OPTION([no-define],,
     86[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
     87 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
     88
     89# Some tools Automake needs.
     90AC_REQUIRE([AM_SANITY_CHECK])dnl
     91AC_REQUIRE([AC_ARG_PROGRAM])dnl
     92AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
     93AM_MISSING_PROG(AUTOCONF, autoconf)
     94AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
     95AM_MISSING_PROG(AUTOHEADER, autoheader)
     96AM_MISSING_PROG(MAKEINFO, makeinfo)
     97AM_MISSING_PROG(AMTAR, tar)
     98AM_PROG_INSTALL_SH
     99AM_PROG_INSTALL_STRIP
     100# We need awk for the "check" target.  The system "awk" is bad on
     101# some platforms.
     102AC_REQUIRE([AC_PROG_AWK])dnl
     103AC_REQUIRE([AC_PROG_MAKE_SET])dnl
     104AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     105
     106_AM_IF_OPTION([no-dependencies],,
     107[AC_PROVIDE_IFELSE([AC_PROG_CC],
     108                  [_AM_DEPENDENCIES(CC)],
     109                  [define([AC_PROG_CC],
     110                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
     111AC_PROVIDE_IFELSE([AC_PROG_CXX],
     112                  [_AM_DEPENDENCIES(CXX)],
     113                  [define([AC_PROG_CXX],
     114                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
    68115])
    69 
    70 
    71 
    72 # Configure paths for SDL
    73 # Sam Lantinga 9/21/99
    74 # stolen from Manish Singh
    75 # stolen back from Frank Belew
    76 # stolen from Manish Singh
    77 # Shamelessly stolen from Owen Taylor
    78 
    79 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
    80 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
    81 dnl
    82 AC_DEFUN([AM_PATH_SDL],
    83 [dnl
    84 dnl Get the cflags and libraries from the sdl-config script
    85 dnl
    86 AC_ARG_WITH(sdl-prefix,[  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)],
    87             sdl_prefix="$withval", sdl_prefix="")
    88 AC_ARG_WITH(sdl-exec-prefix,[  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
    89             sdl_exec_prefix="$withval", sdl_exec_prefix="")
    90 AC_ARG_ENABLE(sdltest, [  --disable-sdltest       Do not try to compile and run a test SDL program],
    91                     , enable_sdltest=yes)
    92 
    93   if test x$sdl_exec_prefix != x ; then
    94      sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
    95      if test x${SDL_CONFIG+set} != xset ; then
    96         SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
    97      fi
    98   fi
    99   if test x$sdl_prefix != x ; then
    100      sdl_args="$sdl_args --prefix=$sdl_prefix"
    101      if test x${SDL_CONFIG+set} != xset ; then
    102         SDL_CONFIG=$sdl_prefix/bin/sdl-config
    103      fi
    104   fi
    105 
    106   AC_REQUIRE([AC_CANONICAL_TARGET])
    107   PATH="$prefix/bin:$prefix/usr/bin:$PATH"
    108   AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
    109   min_sdl_version=ifelse([$1], ,0.11.0,$1)
    110   AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    111   no_sdl=""
    112   if test "$SDL_CONFIG" = "no" ; then
    113     no_sdl=yes
    114   else
    115     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
    116     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
    117 
    118     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
    119            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
    120     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
    121            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
    122     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
    123            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
    124     if test "x$enable_sdltest" = "xyes" ; then
    125       ac_save_CFLAGS="$CFLAGS"
    126       ac_save_LIBS="$LIBS"
    127       CFLAGS="$CFLAGS $SDL_CFLAGS"
    128       LIBS="$LIBS $SDL_LIBS"
    129 dnl
    130 dnl Now check if the installed SDL is sufficiently new. (Also sanity
    131 dnl checks the results of sdl-config to some extent
    132 dnl
    133       rm -f conf.sdltest
    134       AC_TRY_RUN([
    135 #include <stdio.h>
    136 #include <stdlib.h>
    137 #include <string.h>
    138 #include "SDL.h"
    139 
    140 char*
    141 my_strdup (char *str)
    142 {
    143   char *new_str;
    144  
    145   if (str)
    146     {
    147       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
    148       strcpy (new_str, str);
    149     }
    150   else
    151     new_str = NULL;
    152  
    153   return new_str;
    154 }
    155 
    156 int main (int argc, char *argv[])
    157 {
    158   int major, minor, micro;
    159   char *tmp_version;
    160 
    161   /* This hangs on some systems (?)
    162   system ("touch conf.sdltest");
    163   */
    164   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
    165 
    166   /* HP/UX 9 (%@#!) writes to sscanf strings */
    167   tmp_version = my_strdup("$min_sdl_version");
    168   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
    169      printf("%s, bad version string\n", "$min_sdl_version");
    170      exit(1);
    171    }
    172 
    173    if (($sdl_major_version > major) ||
    174       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
    175       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
    176     {
    177       return 0;
    178     }
    179   else
    180     {
    181       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
    182       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
    183       printf("*** best to upgrade to the required version.\n");
    184       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
    185       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
    186       printf("*** config.cache before re-running configure\n");
    187       return 1;
    188     }
    189 }
    190 
    191 ],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
    192        CFLAGS="$ac_save_CFLAGS"
    193        LIBS="$ac_save_LIBS"
    194      fi
    195   fi
    196   if test "x$no_sdl" = x ; then
    197      AC_MSG_RESULT(yes)
    198      ifelse([$2], , :, [$2])     
    199   else
    200      AC_MSG_RESULT(no)
    201      if test "$SDL_CONFIG" = "no" ; then
    202        echo "*** The sdl-config script installed by SDL could not be found"
    203        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
    204        echo "*** your path, or set the SDL_CONFIG environment variable to the"
    205        echo "*** full path to sdl-config."
    206      else
    207        if test -f conf.sdltest ; then
    208         :
    209        else
    210           echo "*** Could not run SDL test program, checking why..."
    211           CFLAGS="$CFLAGS $SDL_CFLAGS"
    212           LIBS="$LIBS $SDL_LIBS"
    213           AC_TRY_LINK([
    214 #include <stdio.h>
    215 #include "SDL.h"
    216 
    217 int main(int argc, char *argv[])
    218 { return 0; }
    219 #undef  main
    220 #define main K_and_R_C_main
    221 ],      [ return 0; ],
    222         [ echo "*** The test program compiled, but did not run. This usually means"
    223           echo "*** that the run-time linker is not finding SDL or finding the wrong"
    224           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
    225           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
    226           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
    227           echo "*** is required on your system"
    228           echo "***"
    229           echo "*** If you have an old version installed, it is best to remove it, although"
    230           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
    231         [ echo "*** The test program failed to compile or link. See the file config.log for the"
    232           echo "*** exact error that occured. This usually means SDL was incorrectly installed"
    233           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
    234           echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
    235           CFLAGS="$ac_save_CFLAGS"
    236           LIBS="$ac_save_LIBS"
    237        fi
    238      fi
    239      SDL_CFLAGS=""
    240      SDL_LIBS=""
    241      ifelse([$3], , :, [$3])
    242   fi
    243   AC_SUBST(SDL_CFLAGS)
    244   AC_SUBST(SDL_LIBS)
    245   rm -f conf.sdltest
    246116])
    247117
    248 #                                                        -*- Autoconf -*-
    249 # Copyright (C) 2002, 2003  Free Software Foundation, Inc.
    250 # Generated from amversion.in; do not edit by hand.
     118
     119# When config.status generates a header, we must update the stamp-h file.
     120# This file resides in the same directory as the config header
     121# that is generated.  The stamp files are numbered to have different names.
     122
     123# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
     124# loop where config.status creates the headers, so we can generate
     125# our stamp files there.
     126AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
     127[# Compute $1's index in $config_headers.
     128_am_stamp_count=1
     129for _am_header in $config_headers :; do
     130  case $_am_header in
     131    $1 | $1:* )
     132      break ;;
     133    * )
     134      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
     135  esac
     136done
     137echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
     138
     139# Copyright 2002  Free Software Foundation, Inc.
    251140
    252141# This program is free software; you can redistribute it and/or modify
     
    268157# Automake X.Y traces this macro to ensure aclocal.m4 has been
    269158# generated from the m4 files accompanying Automake X.Y.
    270 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
     159AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
    271160
    272161# AM_SET_CURRENT_AUTOMAKE_VERSION
     
    275164# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
    276165AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    277          [AM_AUTOMAKE_VERSION([1.8.5])])
     166         [AM_AUTOMAKE_VERSION([1.7.6])])
     167
     168# Helper functions for option handling.                    -*- Autoconf -*-
     169
     170# Copyright 2001, 2002  Free Software Foundation, Inc.
     171
     172# This program is free software; you can redistribute it and/or modify
     173# it under the terms of the GNU General Public License as published by
     174# the Free Software Foundation; either version 2, or (at your option)
     175# any later version.
     176
     177# This program is distributed in the hope that it will be useful,
     178# but WITHOUT ANY WARRANTY; without even the implied warranty of
     179# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     180# GNU General Public License for more details.
     181
     182# You should have received a copy of the GNU General Public License
     183# along with this program; if not, write to the Free Software
     184# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     185# 02111-1307, USA.
     186
     187# serial 2
     188
     189# _AM_MANGLE_OPTION(NAME)
     190# -----------------------
     191AC_DEFUN([_AM_MANGLE_OPTION],
     192[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
     193
     194# _AM_SET_OPTION(NAME)
     195# ------------------------------
     196# Set option NAME.  Presently that only means defining a flag for this option.
     197AC_DEFUN([_AM_SET_OPTION],
     198[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
     199
     200# _AM_SET_OPTIONS(OPTIONS)
     201# ----------------------------------
     202# OPTIONS is a space-separated list of Automake options.
     203AC_DEFUN([_AM_SET_OPTIONS],
     204[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
     205
     206# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
     207# -------------------------------------------
     208# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
     209AC_DEFUN([_AM_IF_OPTION],
     210[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
     211
     212#
     213# Check to make sure that the build environment is sane.
     214#
     215
     216# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
     217
     218# This program is free software; you can redistribute it and/or modify
     219# it under the terms of the GNU General Public License as published by
     220# the Free Software Foundation; either version 2, or (at your option)
     221# any later version.
     222
     223# This program is distributed in the hope that it will be useful,
     224# but WITHOUT ANY WARRANTY; without even the implied warranty of
     225# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     226# GNU General Public License for more details.
     227
     228# You should have received a copy of the GNU General Public License
     229# along with this program; if not, write to the Free Software
     230# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     231# 02111-1307, USA.
     232
     233# serial 3
     234
     235# AM_SANITY_CHECK
     236# ---------------
     237AC_DEFUN([AM_SANITY_CHECK],
     238[AC_MSG_CHECKING([whether build environment is sane])
     239# Just in case
     240sleep 1
     241echo timestamp > conftest.file
     242# Do `set' in a subshell so we don't clobber the current shell's
     243# arguments.  Must try -L first in case configure is actually a
     244# symlink; some systems play weird games with the mod time of symlinks
     245# (eg FreeBSD returns the mod time of the symlink's containing
     246# directory).
     247if (
     248   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
     249   if test "$[*]" = "X"; then
     250      # -L didn't work.
     251      set X `ls -t $srcdir/configure conftest.file`
     252   fi
     253   rm -f conftest.file
     254   if test "$[*]" != "X $srcdir/configure conftest.file" \
     255      && test "$[*]" != "X conftest.file $srcdir/configure"; then
     256
     257      # If neither matched, then we have a broken ls.  This can happen
     258      # if, for instance, CONFIG_SHELL is bash and it inherits a
     259      # broken ls alias from the environment.  This has actually
     260      # happened.  Such a system could not be considered "sane".
     261      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
     262alias in your environment])
     263   fi
     264
     265   test "$[2]" = conftest.file
     266   )
     267then
     268   # Ok.
     269   :
     270else
     271   AC_MSG_ERROR([newly created file is older than distributed files!
     272Check your system clock])
     273fi
     274AC_MSG_RESULT(yes)])
     275
     276#  -*- Autoconf -*-
     277
     278
     279# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
     280
     281# This program is free software; you can redistribute it and/or modify
     282# it under the terms of the GNU General Public License as published by
     283# the Free Software Foundation; either version 2, or (at your option)
     284# any later version.
     285
     286# This program is distributed in the hope that it will be useful,
     287# but WITHOUT ANY WARRANTY; without even the implied warranty of
     288# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     289# GNU General Public License for more details.
     290
     291# You should have received a copy of the GNU General Public License
     292# along with this program; if not, write to the Free Software
     293# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     294# 02111-1307, USA.
     295
     296# serial 3
     297
     298# AM_MISSING_PROG(NAME, PROGRAM)
     299# ------------------------------
     300AC_DEFUN([AM_MISSING_PROG],
     301[AC_REQUIRE([AM_MISSING_HAS_RUN])
     302$1=${$1-"${am_missing_run}$2"}
     303AC_SUBST($1)])
     304
     305
     306# AM_MISSING_HAS_RUN
     307# ------------------
     308# Define MISSING if not defined so far and test if it supports --run.
     309# If it does, set am_missing_run to use it, otherwise, to nothing.
     310AC_DEFUN([AM_MISSING_HAS_RUN],
     311[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     312test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     313# Use eval to expand $SHELL
     314if eval "$MISSING --run true"; then
     315  am_missing_run="$MISSING --run "
     316else
     317  am_missing_run=
     318  AC_MSG_WARN([`missing' script is too old or missing])
     319fi
     320])
    278321
    279322# AM_AUX_DIR_EXPAND
    280323
    281 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
     324# Copyright 2001 Free Software Foundation, Inc.
    282325
    283326# This program is free software; you can redistribute it and/or modify
     
    334377# configured tree to be moved without reconfiguration.
    335378
    336 AC_DEFUN([AM_AUX_DIR_EXPAND],
    337 [dnl Rely on autoconf to set up CDPATH properly.
    338 AC_PREREQ([2.50])dnl
     379# Rely on autoconf to set up CDPATH properly.
     380AC_PREREQ([2.50])
     381
     382AC_DEFUN([AM_AUX_DIR_EXPAND], [
    339383# expand $ac_aux_dir to an absolute path
    340384am_aux_dir=`cd $ac_aux_dir && pwd`
    341385])
    342386
    343 # AM_CONDITIONAL                                              -*- Autoconf -*-
    344 
    345 # Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
    346 
    347 # This program is free software; you can redistribute it and/or modify
    348 # it under the terms of the GNU General Public License as published by
    349 # the Free Software Foundation; either version 2, or (at your option)
    350 # any later version.
    351 
    352 # This program is distributed in the hope that it will be useful,
    353 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    354 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    355 # GNU General Public License for more details.
    356 
    357 # You should have received a copy of the GNU General Public License
    358 # along with this program; if not, write to the Free Software
    359 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    360 # 02111-1307, USA.
    361 
    362 # serial 6
    363 
    364 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
    365 # -------------------------------------
    366 # Define a conditional.
    367 AC_DEFUN([AM_CONDITIONAL],
    368 [AC_PREREQ(2.52)dnl
    369  ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
    370         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
    371 AC_SUBST([$1_TRUE])
    372 AC_SUBST([$1_FALSE])
    373 if $2; then
    374   $1_TRUE=
    375   $1_FALSE='#'
     387# AM_PROG_INSTALL_SH
     388# ------------------
     389# Define $install_sh.
     390
     391# Copyright 2001 Free Software Foundation, Inc.
     392
     393# This program is free software; you can redistribute it and/or modify
     394# it under the terms of the GNU General Public License as published by
     395# the Free Software Foundation; either version 2, or (at your option)
     396# any later version.
     397
     398# This program is distributed in the hope that it will be useful,
     399# but WITHOUT ANY WARRANTY; without even the implied warranty of
     400# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     401# GNU General Public License for more details.
     402
     403# You should have received a copy of the GNU General Public License
     404# along with this program; if not, write to the Free Software
     405# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     406# 02111-1307, USA.
     407
     408AC_DEFUN([AM_PROG_INSTALL_SH],
     409[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     410install_sh=${install_sh-"$am_aux_dir/install-sh"}
     411AC_SUBST(install_sh)])
     412
     413# AM_PROG_INSTALL_STRIP
     414
     415# Copyright 2001 Free Software Foundation, Inc.
     416
     417# This program is free software; you can redistribute it and/or modify
     418# it under the terms of the GNU General Public License as published by
     419# the Free Software Foundation; either version 2, or (at your option)
     420# any later version.
     421
     422# This program is distributed in the hope that it will be useful,
     423# but WITHOUT ANY WARRANTY; without even the implied warranty of
     424# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     425# GNU General Public License for more details.
     426
     427# You should have received a copy of the GNU General Public License
     428# along with this program; if not, write to the Free Software
     429# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     430# 02111-1307, USA.
     431
     432# One issue with vendor `install' (even GNU) is that you can't
     433# specify the program used to strip binaries.  This is especially
     434# annoying in cross-compiling environments, where the build's strip
     435# is unlikely to handle the host's binaries.
     436# Fortunately install-sh will honor a STRIPPROG variable, so we
     437# always use install-sh in `make install-strip', and initialize
     438# STRIPPROG with the value of the STRIP variable (set by the user).
     439AC_DEFUN([AM_PROG_INSTALL_STRIP],
     440[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
     441# Installed binaries are usually stripped using `strip' when the user
     442# run `make install-strip'.  However `strip' might not be the right
     443# tool to use in cross-compilation environments, therefore Automake
     444# will honor the `STRIP' environment variable to overrule this program.
     445dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
     446if test "$cross_compiling" != no; then
     447  AC_CHECK_TOOL([STRIP], [strip], :)
     448fi
     449INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
     450AC_SUBST([INSTALL_STRIP_PROGRAM])])
     451
     452#                                                          -*- Autoconf -*-
     453# Copyright (C) 2003  Free Software Foundation, Inc.
     454
     455# This program is free software; you can redistribute it and/or modify
     456# it under the terms of the GNU General Public License as published by
     457# the Free Software Foundation; either version 2, or (at your option)
     458# any later version.
     459
     460# This program is distributed in the hope that it will be useful,
     461# but WITHOUT ANY WARRANTY; without even the implied warranty of
     462# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     463# GNU General Public License for more details.
     464
     465# You should have received a copy of the GNU General Public License
     466# along with this program; if not, write to the Free Software
     467# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     468# 02111-1307, USA.
     469
     470# serial 1
     471
     472# Check whether the underlying file-system supports filenames
     473# with a leading dot.  For instance MS-DOS doesn't.
     474AC_DEFUN([AM_SET_LEADING_DOT],
     475[rm -rf .tst 2>/dev/null
     476mkdir .tst 2>/dev/null
     477if test -d .tst; then
     478  am__leading_dot=.
    376479else
    377   $1_TRUE='#'
    378   $1_FALSE=
     480  am__leading_dot=_
    379481fi
    380 AC_CONFIG_COMMANDS_PRE(
    381 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
    382   AC_MSG_ERROR([conditional "$1" was never defined.
    383 Usually this means the macro was only invoked conditionally.])
    384 fi])])
    385 
    386 # serial 7                                              -*- Autoconf -*-
    387 
    388 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
    389 # Free Software Foundation, Inc.
     482rmdir .tst 2>/dev/null
     483AC_SUBST([am__leading_dot])])
     484
     485# serial 5                                              -*- Autoconf -*-
     486
     487# Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
    390488
    391489# This program is free software; you can redistribute it and/or modify
     
    471569    for i in 1 2 3 4 5 6; do
    472570      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    473       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    474       # Solaris 8's {/usr,}/bin/sh.
    475       touch sub/conftst$i.h
     571      : > sub/conftst$i.h
    476572    done
    477573    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    501597       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    502598      # icc doesn't choke on unknown options, it will just issue warnings
    503       # or remarks (even with -Werror).  So we grep stderr for any message
    504       # that says an option was ignored or not supported.
    505       # When given -MP, icc 7.0 and 7.1 complain thusly:
    506       #   icc: Command line warning: ignoring option '-M'; no argument required
    507       # The diagnosis changed in icc 8.0:
    508       #   icc: Command line remark: option '-MP' not supported
    509       if (grep 'ignoring option' conftest.err ||
    510           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     599      # (even with -Werror).  So we grep stderr for any message
     600      # that says an option was ignored.
     601      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
    511602        am_cv_$1_dependencies_compiler_type=$depmode
    512603        break
     
    542633AC_DEFUN([AM_DEP_TRACK],
    543634[AC_ARG_ENABLE(dependency-tracking,
    544 [  --disable-dependency-tracking  speeds up one-time build
    545   --enable-dependency-tracking   do not reject slow dependency extractors])
     635[  --disable-dependency-tracking Speeds up one-time builds
     636  --enable-dependency-tracking  Do not reject slow dependency extractors])
    546637if test "x$enable_dependency_tracking" != xno; then
    547638  am_depcomp="$ac_aux_dir/depcomp"
     
    554645# Generate code to set up dependency tracking.   -*- Autoconf -*-
    555646
    556 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
     647# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    557648
    558649# This program is free software; you can redistribute it and/or modify
     
    593684  # Extract the definition of DEP_FILES from the Makefile without
    594685  # running `make'.
    595   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
     686  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
    596687  test -z "$DEPDIR" && continue
    597688  # When using ansi2knr, U may be empty or an underscore; expand it
    598   U=`sed -n 's/^U = //p' < "$mf"`
     689  U=`sed -n -e '/^U = / s///p' < "$mf"`
    599690  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
    600691  # We invoke sed twice because it is the simplest approach to
    601692  # changing $(DEPDIR) to its actual value in the expansion.
    602   for file in `sed -n '
     693  for file in `sed -n -e '
    603694    /^DEP_FILES = .*\\\\$/ {
    604695      s/^DEP_FILES = //
     
    635726     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
    636727])
    637 
    638 # Do all the work for Automake.                            -*- Autoconf -*-
    639 
    640 # This macro actually does too much some checks are only needed if
    641 # your package does certain things.  But this isn't really a big deal.
    642 
    643 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    644 # Free Software Foundation, Inc.
    645 
    646 # This program is free software; you can redistribute it and/or modify
    647 # it under the terms of the GNU General Public License as published by
    648 # the Free Software Foundation; either version 2, or (at your option)
    649 # any later version.
    650 
    651 # This program is distributed in the hope that it will be useful,
    652 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    653 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    654 # GNU General Public License for more details.
    655 
    656 # You should have received a copy of the GNU General Public License
    657 # along with this program; if not, write to the Free Software
    658 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    659 # 02111-1307, USA.
    660 
    661 # serial 11
    662 
    663 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
    664 # AM_INIT_AUTOMAKE([OPTIONS])
    665 # -----------------------------------------------
    666 # The call with PACKAGE and VERSION arguments is the old style
    667 # call (pre autoconf-2.50), which is being phased out.  PACKAGE
    668 # and VERSION should now be passed to AC_INIT and removed from
    669 # the call to AM_INIT_AUTOMAKE.
    670 # We support both call styles for the transition.  After
    671 # the next Automake release, Autoconf can make the AC_INIT
    672 # arguments mandatory, and then we can depend on a new Autoconf
    673 # release and drop the old call support.
    674 AC_DEFUN([AM_INIT_AUTOMAKE],
    675 [AC_PREREQ([2.58])dnl
    676 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
    677 dnl the ones we care about.
    678 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
    679 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
    680 AC_REQUIRE([AC_PROG_INSTALL])dnl
    681 # test to see if srcdir already configured
    682 if test "`cd $srcdir && pwd`" != "`pwd`" &&
    683    test -f $srcdir/config.status; then
    684   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
    685 fi
    686 
    687 # test whether we have cygpath
    688 if test -z "$CYGPATH_W"; then
    689   if (cygpath --version) >/dev/null 2>/dev/null; then
    690     CYGPATH_W='cygpath -w'
    691   else
    692     CYGPATH_W=echo
    693   fi
    694 fi
    695 AC_SUBST([CYGPATH_W])
    696 
    697 # Define the identity of the package.
    698 dnl Distinguish between old-style and new-style calls.
    699 m4_ifval([$2],
    700 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
    701  AC_SUBST([PACKAGE], [$1])dnl
    702  AC_SUBST([VERSION], [$2])],
    703 [_AM_SET_OPTIONS([$1])dnl
    704  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
    705  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
    706 
    707 _AM_IF_OPTION([no-define],,
    708 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
    709  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
    710 
    711 # Some tools Automake needs.
    712 AC_REQUIRE([AM_SANITY_CHECK])dnl
    713 AC_REQUIRE([AC_ARG_PROGRAM])dnl
    714 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
    715 AM_MISSING_PROG(AUTOCONF, autoconf)
    716 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
    717 AM_MISSING_PROG(AUTOHEADER, autoheader)
    718 AM_MISSING_PROG(MAKEINFO, makeinfo)
    719 AM_MISSING_PROG(AMTAR, tar)
    720 AM_PROG_INSTALL_SH
    721 AM_PROG_INSTALL_STRIP
    722 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
    723 # We need awk for the "check" target.  The system "awk" is bad on
    724 # some platforms.
    725 AC_REQUIRE([AC_PROG_AWK])dnl
    726 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
    727 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
    728 
    729 _AM_IF_OPTION([no-dependencies],,
    730 [AC_PROVIDE_IFELSE([AC_PROG_CC],
    731                   [_AM_DEPENDENCIES(CC)],
    732                   [define([AC_PROG_CC],
    733                           defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
    734 AC_PROVIDE_IFELSE([AC_PROG_CXX],
    735                   [_AM_DEPENDENCIES(CXX)],
    736                   [define([AC_PROG_CXX],
    737                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
    738 ])
    739 ])
    740 
    741 
    742 # When config.status generates a header, we must update the stamp-h file.
    743 # This file resides in the same directory as the config header
    744 # that is generated.  The stamp files are numbered to have different names.
    745 
    746 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
    747 # loop where config.status creates the headers, so we can generate
    748 # our stamp files there.
    749 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
    750 [# Compute $1's index in $config_headers.
    751 _am_stamp_count=1
    752 for _am_header in $config_headers :; do
    753   case $_am_header in
    754     $1 | $1:* )
    755       break ;;
    756     * )
    757       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
    758   esac
    759 done
    760 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
    761 
    762 # AM_PROG_INSTALL_SH
    763 # ------------------
    764 # Define $install_sh.
    765 
    766 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
    767 
    768 # This program is free software; you can redistribute it and/or modify
    769 # it under the terms of the GNU General Public License as published by
    770 # the Free Software Foundation; either version 2, or (at your option)
    771 # any later version.
    772 
    773 # This program is distributed in the hope that it will be useful,
    774 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    775 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    776 # GNU General Public License for more details.
    777 
    778 # You should have received a copy of the GNU General Public License
    779 # along with this program; if not, write to the Free Software
    780 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    781 # 02111-1307, USA.
    782 
    783 AC_DEFUN([AM_PROG_INSTALL_SH],
    784 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    785 install_sh=${install_sh-"$am_aux_dir/install-sh"}
    786 AC_SUBST(install_sh)])
    787 
    788 #                                                          -*- Autoconf -*-
    789 # Copyright (C) 2003  Free Software Foundation, Inc.
    790 
    791 # This program is free software; you can redistribute it and/or modify
    792 # it under the terms of the GNU General Public License as published by
    793 # the Free Software Foundation; either version 2, or (at your option)
    794 # any later version.
    795 
    796 # This program is distributed in the hope that it will be useful,
    797 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    798 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    799 # GNU General Public License for more details.
    800 
    801 # You should have received a copy of the GNU General Public License
    802 # along with this program; if not, write to the Free Software
    803 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    804 # 02111-1307, USA.
    805 
    806 # serial 1
    807 
    808 # Check whether the underlying file-system supports filenames
    809 # with a leading dot.  For instance MS-DOS doesn't.
    810 AC_DEFUN([AM_SET_LEADING_DOT],
    811 [rm -rf .tst 2>/dev/null
    812 mkdir .tst 2>/dev/null
    813 if test -d .tst; then
    814   am__leading_dot=.
    815 else
    816   am__leading_dot=_
    817 fi
    818 rmdir .tst 2>/dev/null
    819 AC_SUBST([am__leading_dot])])
    820728
    821729# Check to see how 'make' treats includes.      -*- Autoconf -*-
     
    882790])
    883791
    884 #  -*- Autoconf -*-
    885 
    886 
    887 # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
    888 
    889 # This program is free software; you can redistribute it and/or modify
    890 # it under the terms of the GNU General Public License as published by
    891 # the Free Software Foundation; either version 2, or (at your option)
    892 # any later version.
    893 
    894 # This program is distributed in the hope that it will be useful,
    895 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    896 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    897 # GNU General Public License for more details.
    898 
    899 # You should have received a copy of the GNU General Public License
    900 # along with this program; if not, write to the Free Software
    901 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    902 # 02111-1307, USA.
    903 
    904 # serial 3
    905 
    906 # AM_MISSING_PROG(NAME, PROGRAM)
    907 # ------------------------------
    908 AC_DEFUN([AM_MISSING_PROG],
    909 [AC_REQUIRE([AM_MISSING_HAS_RUN])
    910 $1=${$1-"${am_missing_run}$2"}
    911 AC_SUBST($1)])
    912 
    913 
    914 # AM_MISSING_HAS_RUN
    915 # ------------------
    916 # Define MISSING if not defined so far and test if it supports --run.
    917 # If it does, set am_missing_run to use it, otherwise, to nothing.
    918 AC_DEFUN([AM_MISSING_HAS_RUN],
    919 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    920 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
    921 # Use eval to expand $SHELL
    922 if eval "$MISSING --run true"; then
    923   am_missing_run="$MISSING --run "
     792# AM_CONDITIONAL                                              -*- Autoconf -*-
     793
     794# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
     795
     796# This program is free software; you can redistribute it and/or modify
     797# it under the terms of the GNU General Public License as published by
     798# the Free Software Foundation; either version 2, or (at your option)
     799# any later version.
     800
     801# This program is distributed in the hope that it will be useful,
     802# but WITHOUT ANY WARRANTY; without even the implied warranty of
     803# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     804# GNU General Public License for more details.
     805
     806# You should have received a copy of the GNU General Public License
     807# along with this program; if not, write to the Free Software
     808# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     809# 02111-1307, USA.
     810
     811# serial 5
     812
     813AC_PREREQ(2.52)
     814
     815# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     816# -------------------------------------
     817# Define a conditional.
     818AC_DEFUN([AM_CONDITIONAL],
     819[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
     820        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     821AC_SUBST([$1_TRUE])
     822AC_SUBST([$1_FALSE])
     823if $2; then
     824  $1_TRUE=
     825  $1_FALSE='#'
    924826else
    925   am_missing_run=
    926   AC_MSG_WARN([`missing' script is too old or missing])
     827  $1_TRUE='#'
     828  $1_FALSE=
    927829fi
     830AC_CONFIG_COMMANDS_PRE(
     831[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
     832  AC_MSG_ERROR([conditional "$1" was never defined.
     833Usually this means the macro was only invoked conditionally.])
     834fi])])
     835
     836# Configure paths for SDL
     837# Sam Lantinga 9/21/99
     838# stolen from Manish Singh
     839# stolen back from Frank Belew
     840# stolen from Manish Singh
     841# Shamelessly stolen from Owen Taylor
     842
     843dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
     844dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
     845dnl
     846AC_DEFUN([AM_PATH_SDL],
     847[dnl
     848dnl Get the cflags and libraries from the sdl-config script
     849dnl
     850AC_ARG_WITH(sdl-prefix,[  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)],
     851            sdl_prefix="$withval", sdl_prefix="")
     852AC_ARG_WITH(sdl-exec-prefix,[  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
     853            sdl_exec_prefix="$withval", sdl_exec_prefix="")
     854AC_ARG_ENABLE(sdltest, [  --disable-sdltest       Do not try to compile and run a test SDL program],
     855                    , enable_sdltest=yes)
     856
     857  if test x$sdl_exec_prefix != x ; then
     858     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
     859     if test x${SDL_CONFIG+set} != xset ; then
     860        SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
     861     fi
     862  fi
     863  if test x$sdl_prefix != x ; then
     864     sdl_args="$sdl_args --prefix=$sdl_prefix"
     865     if test x${SDL_CONFIG+set} != xset ; then
     866        SDL_CONFIG=$sdl_prefix/bin/sdl-config
     867     fi
     868  fi
     869
     870  AC_REQUIRE([AC_CANONICAL_TARGET])
     871  PATH="$prefix/bin:$prefix/usr/bin:$PATH"
     872  AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
     873  min_sdl_version=ifelse([$1], ,0.11.0,$1)
     874  AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
     875  no_sdl=""
     876  if test "$SDL_CONFIG" = "no" ; then
     877    no_sdl=yes
     878  else
     879    SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
     880    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
     881
     882    sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
     883           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
     884    sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
     885           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
     886    sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
     887           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
     888    if test "x$enable_sdltest" = "xyes" ; then
     889      ac_save_CFLAGS="$CFLAGS"
     890      ac_save_LIBS="$LIBS"
     891      CFLAGS="$CFLAGS $SDL_CFLAGS"
     892      LIBS="$LIBS $SDL_LIBS"
     893dnl
     894dnl Now check if the installed SDL is sufficiently new. (Also sanity
     895dnl checks the results of sdl-config to some extent
     896dnl
     897      rm -f conf.sdltest
     898      AC_TRY_RUN([
     899#include <stdio.h>
     900#include <stdlib.h>
     901#include <string.h>
     902#include "SDL.h"
     903
     904char*
     905my_strdup (char *str)
     906{
     907  char *new_str;
     908 
     909  if (str)
     910    {
     911      new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
     912      strcpy (new_str, str);
     913    }
     914  else
     915    new_str = NULL;
     916 
     917  return new_str;
     918}
     919
     920int main (int argc, char *argv[])
     921{
     922  int major, minor, micro;
     923  char *tmp_version;
     924
     925  /* This hangs on some systems (?)
     926  system ("touch conf.sdltest");
     927  */
     928  { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
     929
     930  /* HP/UX 9 (%@#!) writes to sscanf strings */
     931  tmp_version = my_strdup("$min_sdl_version");
     932  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     933     printf("%s, bad version string\n", "$min_sdl_version");
     934     exit(1);
     935   }
     936
     937   if (($sdl_major_version > major) ||
     938      (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
     939      (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
     940    {
     941      return 0;
     942    }
     943  else
     944    {
     945      printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
     946      printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
     947      printf("*** best to upgrade to the required version.\n");
     948      printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
     949      printf("*** to point to the correct copy of sdl-config, and remove the file\n");
     950      printf("*** config.cache before re-running configure\n");
     951      return 1;
     952    }
     953}
     954
     955],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
     956       CFLAGS="$ac_save_CFLAGS"
     957       LIBS="$ac_save_LIBS"
     958     fi
     959  fi
     960  if test "x$no_sdl" = x ; then
     961     AC_MSG_RESULT(yes)
     962     ifelse([$2], , :, [$2])     
     963  else
     964     AC_MSG_RESULT(no)
     965     if test "$SDL_CONFIG" = "no" ; then
     966       echo "*** The sdl-config script installed by SDL could not be found"
     967       echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
     968       echo "*** your path, or set the SDL_CONFIG environment variable to the"
     969       echo "*** full path to sdl-config."
     970     else
     971       if test -f conf.sdltest ; then
     972        :
     973       else
     974          echo "*** Could not run SDL test program, checking why..."
     975          CFLAGS="$CFLAGS $SDL_CFLAGS"
     976          LIBS="$LIBS $SDL_LIBS"
     977          AC_TRY_LINK([
     978#include <stdio.h>
     979#include "SDL.h"
     980
     981int main(int argc, char *argv[])
     982{ return 0; }
     983#undef  main
     984#define main K_and_R_C_main
     985],      [ return 0; ],
     986        [ echo "*** The test program compiled, but did not run. This usually means"
     987          echo "*** that the run-time linker is not finding SDL or finding the wrong"
     988          echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
     989          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
     990          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
     991          echo "*** is required on your system"
     992          echo "***"
     993          echo "*** If you have an old version installed, it is best to remove it, although"
     994          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
     995        [ echo "*** The test program failed to compile or link. See the file config.log for the"
     996          echo "*** exact error that occured. This usually means SDL was incorrectly installed"
     997          echo "*** or that you have moved SDL since it was installed. In the latter case, you"
     998          echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
     999          CFLAGS="$ac_save_CFLAGS"
     1000          LIBS="$ac_save_LIBS"
     1001       fi
     1002     fi
     1003     SDL_CFLAGS=""
     1004     SDL_LIBS=""
     1005     ifelse([$3], , :, [$3])
     1006  fi
     1007  AC_SUBST(SDL_CFLAGS)
     1008  AC_SUBST(SDL_LIBS)
     1009  rm -f conf.sdltest
    9281010])
    9291011
    930 # AM_PROG_MKDIR_P
    931 # ---------------
    932 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
    933 
    934 # Copyright (C) 2003, 2004 Free Software Foundation, Inc.
    935 
    936 # This program is free software; you can redistribute it and/or modify
    937 # it under the terms of the GNU General Public License as published by
    938 # the Free Software Foundation; either version 2, or (at your option)
    939 # any later version.
    940 
    941 # This program is distributed in the hope that it will be useful,
    942 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    943 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    944 # GNU General Public License for more details.
    945 
    946 # You should have received a copy of the GNU General Public License
    947 # along with this program; if not, write to the Free Software
    948 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    949 # 02111-1307, USA.
    950 
    951 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
    952 # created by `make install' are always world readable, even if the
    953 # installer happens to have an overly restrictive umask (e.g. 077).
    954 # This was a mistake.  There are at least two reasons why we must not
    955 # use `-m 0755':
    956 #   - it causes special bits like SGID to be ignored,
    957 #   - it may be too restrictive (some setups expect 775 directories).
    958 #
    959 # Do not use -m 0755 and let people choose whatever they expect by
    960 # setting umask.
    961 #
    962 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
    963 # Some implementations (such as Solaris 8's) are not thread-safe: if a
    964 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
    965 # concurrently, both version can detect that a/ is missing, but only
    966 # one can create it and the other will error out.  Consequently we
    967 # restrict ourselves to GNU make (using the --version option ensures
    968 # this.)
    969 AC_DEFUN([AM_PROG_MKDIR_P],
    970 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    971   # Keeping the `.' argument allows $(mkdir_p) to be used without
    972   # argument.  Indeed, we sometimes output rules like
    973   #   $(mkdir_p) $(somedir)
    974   # where $(somedir) is conditionally defined.
    975   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
    976   # expensive solution, as it forces Make to start a sub-shell.)
    977   mkdir_p='mkdir -p -- .'
    978 else
    979   # On NextStep and OpenStep, the `mkdir' command does not
    980   # recognize any option.  It will interpret all options as
    981   # directories to create, and then abort because `.' already
    982   # exists.
    983   for d in ./-p ./--version;
    984   do
    985     test -d $d && rmdir $d
    986   done
    987   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    988   if test -f "$ac_aux_dir/mkinstalldirs"; then
    989     mkdir_p='$(mkinstalldirs)'
    990   else
    991     mkdir_p='$(install_sh) -d'
    992   fi
    993 fi
    994 AC_SUBST([mkdir_p])])
    995 
    996 # Helper functions for option handling.                    -*- Autoconf -*-
    997 
    998 # Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
    999 
    1000 # This program is free software; you can redistribute it and/or modify
    1001 # it under the terms of the GNU General Public License as published by
    1002 # the Free Software Foundation; either version 2, or (at your option)
    1003 # any later version.
    1004 
    1005 # This program is distributed in the hope that it will be useful,
    1006 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    1007 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1008 # GNU General Public License for more details.
    1009 
    1010 # You should have received a copy of the GNU General Public License
    1011 # along with this program; if not, write to the Free Software
    1012 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    1013 # 02111-1307, USA.
    1014 
    1015 # serial 2
    1016 
    1017 # _AM_MANGLE_OPTION(NAME)
    1018 # -----------------------
    1019 AC_DEFUN([_AM_MANGLE_OPTION],
    1020 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
    1021 
    1022 # _AM_SET_OPTION(NAME)
    1023 # ------------------------------
    1024 # Set option NAME.  Presently that only means defining a flag for this option.
    1025 AC_DEFUN([_AM_SET_OPTION],
    1026 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
    1027 
    1028 # _AM_SET_OPTIONS(OPTIONS)
    1029 # ----------------------------------
    1030 # OPTIONS is a space-separated list of Automake options.
    1031 AC_DEFUN([_AM_SET_OPTIONS],
    1032 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
    1033 
    1034 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
    1035 # -------------------------------------------
    1036 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
    1037 AC_DEFUN([_AM_IF_OPTION],
    1038 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    1039 
    1040 #
    1041 # Check to make sure that the build environment is sane.
    1042 #
    1043 
    1044 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
    1045 
    1046 # This program is free software; you can redistribute it and/or modify
    1047 # it under the terms of the GNU General Public License as published by
    1048 # the Free Software Foundation; either version 2, or (at your option)
    1049 # any later version.
    1050 
    1051 # This program is distributed in the hope that it will be useful,
    1052 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    1053 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1054 # GNU General Public License for more details.
    1055 
    1056 # You should have received a copy of the GNU General Public License
    1057 # along with this program; if not, write to the Free Software
    1058 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    1059 # 02111-1307, USA.
    1060 
    1061 # serial 3
    1062 
    1063 # AM_SANITY_CHECK
    1064 # ---------------
    1065 AC_DEFUN([AM_SANITY_CHECK],
    1066 [AC_MSG_CHECKING([whether build environment is sane])
    1067 # Just in case
    1068 sleep 1
    1069 echo timestamp > conftest.file
    1070 # Do `set' in a subshell so we don't clobber the current shell's
    1071 # arguments.  Must try -L first in case configure is actually a
    1072 # symlink; some systems play weird games with the mod time of symlinks
    1073 # (eg FreeBSD returns the mod time of the symlink's containing
    1074 # directory).
    1075 if (
    1076    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    1077    if test "$[*]" = "X"; then
    1078       # -L didn't work.
    1079       set X `ls -t $srcdir/configure conftest.file`
    1080    fi
    1081    rm -f conftest.file
    1082    if test "$[*]" != "X $srcdir/configure conftest.file" \
    1083       && test "$[*]" != "X conftest.file $srcdir/configure"; then
    1084 
    1085       # If neither matched, then we have a broken ls.  This can happen
    1086       # if, for instance, CONFIG_SHELL is bash and it inherits a
    1087       # broken ls alias from the environment.  This has actually
    1088       # happened.  Such a system could not be considered "sane".
    1089       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
    1090 alias in your environment])
    1091    fi
    1092 
    1093    test "$[2]" = conftest.file
    1094    )
    1095 then
    1096    # Ok.
    1097    :
    1098 else
    1099    AC_MSG_ERROR([newly created file is older than distributed files!
    1100 Check your system clock])
    1101 fi
    1102 AC_MSG_RESULT(yes)])
    1103 
    1104 # AM_PROG_INSTALL_STRIP
    1105 
    1106 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
    1107 
    1108 # This program is free software; you can redistribute it and/or modify
    1109 # it under the terms of the GNU General Public License as published by
    1110 # the Free Software Foundation; either version 2, or (at your option)
    1111 # any later version.
    1112 
    1113 # This program is distributed in the hope that it will be useful,
    1114 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    1115 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1116 # GNU General Public License for more details.
    1117 
    1118 # You should have received a copy of the GNU General Public License
    1119 # along with this program; if not, write to the Free Software
    1120 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    1121 # 02111-1307, USA.
    1122 
    1123 # One issue with vendor `install' (even GNU) is that you can't
    1124 # specify the program used to strip binaries.  This is especially
    1125 # annoying in cross-compiling environments, where the build's strip
    1126 # is unlikely to handle the host's binaries.
    1127 # Fortunately install-sh will honor a STRIPPROG variable, so we
    1128 # always use install-sh in `make install-strip', and initialize
    1129 # STRIPPROG with the value of the STRIP variable (set by the user).
    1130 AC_DEFUN([AM_PROG_INSTALL_STRIP],
    1131 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    1132 # Installed binaries are usually stripped using `strip' when the user
    1133 # run `make install-strip'.  However `strip' might not be the right
    1134 # tool to use in cross-compilation environments, therefore Automake
    1135 # will honor the `STRIP' environment variable to overrule this program.
    1136 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
    1137 if test "$cross_compiling" != no; then
    1138   AC_CHECK_TOOL([STRIP], [strip], :)
    1139 fi
    1140 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
    1141 AC_SUBST([INSTALL_STRIP_PROGRAM])])
    1142 
  • orxonox/branches/osX/configure

    r2983 r2984  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59 for orxonox 0.1-pre-alpha.
     3# Generated by GNU Autoconf 2.57 for orxonox 0.1-pre-alpha.
    44#
    55# Report bugs to <orxonox-dev@mail.datacore.ch>.
    66#
    7 # Copyright (C) 2003 Free Software Foundation, Inc.
     7# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     8# Free Software Foundation, Inc.
    89# This configure script is free software; the Free Software Foundation
    910# gives unlimited permission to copy, distribute and modify it.
     
    2223  set -o posix
    2324fi
    24 DUALCASE=1; export DUALCASE # for MKS sh
    2525
    2626# Support unset when possible.
    27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     27if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    2828  as_unset=unset
    2929else
     
    4444  LC_TELEPHONE LC_TIME
    4545do
    46   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     46  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
    4747    eval $as_var=C; export $as_var
    4848  else
     
    221221  as_mkdir_p=:
    222222else
    223   test -d ./-p && rmdir ./-p
    224223  as_mkdir_p=false
    225224fi
     
    228227
    229228# Sed expression to map a string onto a valid CPP name.
    230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     229as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    231230
    232231# Sed expression to map a string onto a valid variable name.
    233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     232as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    234233
    235234
     
    312311#endif"
    313312
    314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP SDL_CONFIG SDL_CFLAGS SDL_LIBS MSBITFIELDS PKG_CONFIG GTK2_CFLAGS GTK2_LIBS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'
     313ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP SDL_CONFIG SDL_CFLAGS SDL_LIBS MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'
    315314ac_subst_files=''
    316315
     
    671670# Be sure to have absolute paths.
    672671for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    673               localstatedir libdir includedir oldincludedir infodir mandir
     672              localstatedir libdir includedir oldincludedir infodir mandir
    674673do
    675674  eval ac_val=$`echo $ac_var`
     
    711710  ac_confdir=`(dirname "$0") 2>/dev/null ||
    712711$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    713         X"$0" : 'X\(//\)[^/]' \| \
    714         X"$0" : 'X\(//\)$' \| \
    715         X"$0" : 'X\(/\)' \| \
    716         .     : '\(.\)' 2>/dev/null ||
     712        X"$0" : 'X\(//\)[^/]' \| \
     713        X"$0" : 'X\(//\)$' \| \
     714        X"$0" : 'X\(/\)' \| \
     715        .     : '\(.\)' 2>/dev/null ||
    717716echo X"$0" |
    718717    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    814813Installation directories:
    815814  --prefix=PREFIX         install architecture-independent files in PREFIX
    816                           [$ac_default_prefix]
     815                          [$ac_default_prefix]
    817816  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    818                           [PREFIX]
     817                          [PREFIX]
    819818
    820819By default, \`make install' will install all the files in
     
    863862  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    864863  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    865   --disable-dependency-tracking  speeds up one-time build
    866   --enable-dependency-tracking   do not reject slow dependency extractors
     864  --disable-dependency-tracking Speeds up one-time builds
     865  --enable-dependency-tracking  Do not reject slow dependency extractors
    867866  --disable-sdltest       Do not try to compile and run a test SDL program
    868867
     
    921920    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    922921esac
    923 
    924 # Do not use `cd foo && pwd` to compute absolute paths, because
    925 # the directories may not exist.
    926 case `pwd` in
    927 .) ac_abs_builddir="$ac_dir";;
    928 *)
    929   case "$ac_dir" in
    930   .) ac_abs_builddir=`pwd`;;
    931   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    932   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    933   esac;;
    934 esac
    935 case $ac_abs_builddir in
    936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    937 *)
    938   case ${ac_top_builddir}. in
    939   .) ac_abs_top_builddir=$ac_abs_builddir;;
    940   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    941   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    942   esac;;
    943 esac
    944 case $ac_abs_builddir in
    945 .) ac_abs_srcdir=$ac_srcdir;;
    946 *)
    947   case $ac_srcdir in
    948   .) ac_abs_srcdir=$ac_abs_builddir;;
    949   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    950   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    951   esac;;
    952 esac
    953 case $ac_abs_builddir in
    954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    955 *)
    956   case $ac_top_srcdir in
    957   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    958   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    959   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    960   esac;;
    961 esac
     922# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     923# absolute.
     924ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     925ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     926ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     927ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
    962928
    963929    cd $ac_dir
     
    970936      $SHELL $ac_srcdir/configure  --help=recursive
    971937    elif test -f $ac_srcdir/configure.ac ||
    972            test -f $ac_srcdir/configure.in; then
     938           test -f $ac_srcdir/configure.in; then
    973939      echo
    974940      $ac_configure --help
     
    984950  cat <<\_ACEOF
    985951orxonox configure 0.1-pre-alpha
    986 generated by GNU Autoconf 2.59
    987 
    988 Copyright (C) 2003 Free Software Foundation, Inc.
     952generated by GNU Autoconf 2.57
     953
     954Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     955Free Software Foundation, Inc.
    989956This configure script is free software; the Free Software Foundation
    990957gives unlimited permission to copy, distribute and modify it.
     
    998965
    999966It was created by orxonox $as_me 0.1-pre-alpha, which was
    1000 generated by GNU Autoconf 2.59.  Invocation command line was
     967generated by GNU Autoconf 2.57.  Invocation command line was
    1001968
    1002969  $ $0 $@
     
    10751042      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    10761043      if test $ac_must_keep_next = true; then
    1077         ac_must_keep_next=false # Got value, back to normal.
     1044        ac_must_keep_next=false # Got value, back to normal.
    10781045      else
    1079         case $ac_arg in
    1080           *=* | --config-cache | -C | -disable-* | --disable-* \
    1081           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
    1082           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
    1083           | -with-* | --with-* | -without-* | --without-* | --x)
    1084             case "$ac_configure_args0 " in
    1085               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
    1086             esac
    1087             ;;
    1088           -* ) ac_must_keep_next=true ;;
    1089         esac
     1046        case $ac_arg in
     1047          *=* | --config-cache | -C | -disable-* | --disable-* \
     1048          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     1049          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     1050          | -with-* | --with-* | -without-* | --without-* | --x)
     1051            case "$ac_configure_args0 " in
     1052              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     1053            esac
     1054            ;;
     1055          -* ) ac_must_keep_next=true ;;
     1056        esac
    10901057      fi
    10911058      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     
    11211088    *ac_space=\ *)
    11221089      sed -n \
    1123         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1124           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1090        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1091          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    11251092      ;;
    11261093    *)
    11271094      sed -n \
    1128         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1095        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    11291096      ;;
    11301097    esac;
     
    11551122      do
    11561123        eval ac_val=$`echo $ac_var`
    1157         echo "$ac_var='"'"'$ac_val'"'"'"
     1124        echo "$ac_var='"'"'$ac_val'"'"'"
    11581125      done | sort
    11591126      echo
     
    11741141    echo "$as_me: exit $exit_status"
    11751142  } >&5
    1176   rm -f core *.core &&
     1143  rm -f core core.* *.core &&
    11771144  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    11781145    exit $exit_status
     
    12541221ac_cache_corrupted=false
    12551222for ac_var in `(set) 2>&1 |
    1256                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1223               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    12571224  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12581225  eval ac_new_set=\$ac_env_${ac_var}_set
     
    12711238    *)
    12721239      if test "x$ac_old_val" != "x$ac_new_val"; then
    1273         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1240        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    12741241echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1275         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1242        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    12761243echo "$as_me:   former value:  $ac_old_val" >&2;}
    1277         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1244        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    12781245echo "$as_me:   current value: $ac_new_val" >&2;}
    1279         ac_cache_corrupted=:
     1246        ac_cache_corrupted=:
    12801247      fi;;
    12811248  esac
     
    14441411
    14451412
    1446 am__api_version="1.8"
     1413am__api_version="1.7"
    14471414# Find a good install program.  We prefer a C program (faster),
    14481415# so one script is as good as another.  But avoid the broken or
     
    14561423# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    14571424# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    1458 # OS/2's system install, which has a completely different semantic
    14591425# ./install, which can be erroneously created by make from ./install.sh.
    14601426echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    14731439  ./ | .// | /cC/* | \
    14741440  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    1475   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    14761441  /usr/ucb/* ) ;;
    14771442  *)
     
    14811446    for ac_prog in ginstall scoinst install; do
    14821447      for ac_exec_ext in '' $ac_executable_extensions; do
    1483         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    1484           if test $ac_prog = install &&
    1485             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    1486             # AIX install.  It has an incompatible calling convention.
    1487             :
    1488           elif test $ac_prog = install &&
    1489             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    1490             # program-specific install script used by HP pwplus--don't use.
    1491             :
    1492           else
    1493             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    1494             break 3
    1495           fi
    1496         fi
     1448        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     1449          if test $ac_prog = install &&
     1450            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1451            # AIX install.  It has an incompatible calling convention.
     1452            :
     1453          elif test $ac_prog = install &&
     1454            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1455            # program-specific install script used by HP pwplus--don't use.
     1456            :
     1457          else
     1458            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     1459            break 3
     1460          fi
     1461        fi
    14971462      done
    14981463    done
     
    15821547rm conftest.sed
    15831548
     1549
    15841550# expand $ac_aux_dir to an absolute path
    15851551am_aux_dir=`cd $ac_aux_dir && pwd`
     
    15931559  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    15941560echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    1595 fi
    1596 
    1597 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    1598   # Keeping the `.' argument allows $(mkdir_p) to be used without
    1599   # argument.  Indeed, we sometimes output rules like
    1600   #   $(mkdir_p) $(somedir)
    1601   # where $(somedir) is conditionally defined.
    1602   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
    1603   # expensive solution, as it forces Make to start a sub-shell.)
    1604   mkdir_p='mkdir -p -- .'
    1605 else
    1606   # On NextStep and OpenStep, the `mkdir' command does not
    1607   # recognize any option.  It will interpret all options as
    1608   # directories to create, and then abort because `.' already
    1609   # exists.
    1610   for d in ./-p ./--version;
    1611   do
    1612     test -d $d && rmdir $d
    1613   done
    1614   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    1615   if test -f "$ac_aux_dir/mkinstalldirs"; then
    1616     mkdir_p='$(mkinstalldirs)'
    1617   else
    1618     mkdir_p='$(install_sh) -d'
    1619   fi
    16201561fi
    16211562
     
    16621603echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    16631604echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    1664 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     1605set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
    16651606if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    16661607  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16981639rmdir .tst 2>/dev/null
    16991640
    1700 # test to see if srcdir already configured
     1641 # test to see if srcdir already configured
    17011642if test "`cd $srcdir && pwd`" != "`pwd`" &&
    17021643   test -f $srcdir/config.status; then
     
    19651906
    19661907cat >conftest.$ac_ext <<_ACEOF
     1908#line $LINENO "configure"
    19671909/* confdefs.h.  */
    19681910_ACEOF
     
    19841926# It will help us diagnose broken compilers, and finding out an intuition
    19851927# of exeext.
    1986 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
    1987 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
     1928echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
     1929echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
    19881930ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    19891931if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     
    20051947  case $ac_file in
    20061948    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    2007         ;;
     1949        ;;
    20081950    conftest.$ac_ext )
    2009         # This is the source file.
    2010         ;;
     1951        # This is the source file.
     1952        ;;
    20111953    [ab].out )
    2012         # We found the default executable, but exeext='' is most
    2013         # certainly right.
    2014         break;;
     1954        # We found the default executable, but exeext='' is most
     1955        # certainly right.
     1956        break;;
    20151957    *.* )
    2016         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2017         # FIXME: I believe we export ac_cv_exeext for Libtool,
    2018         # but it would be cool to find out if it's true.  Does anybody
    2019         # maintain Libtool? --akim.
    2020         export ac_cv_exeext
    2021         break;;
     1958        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1959        # FIXME: I believe we export ac_cv_exeext for Libtool,
     1960        # but it would be cool to find out if it's true.  Does anybody
     1961        # maintain Libtool? --akim.
     1962        export ac_cv_exeext
     1963        break;;
    20221964    * )
    2023         break;;
     1965        break;;
    20241966  esac
    20251967done
     
    20952037    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    20962038    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2097           export ac_cv_exeext
    2098           break;;
     2039          export ac_cv_exeext
     2040          break;;
    20992041    * ) break;;
    21002042  esac
     
    21212063else
    21222064  cat >conftest.$ac_ext <<_ACEOF
     2065#line $LINENO "configure"
    21232066/* confdefs.h.  */
    21242067_ACEOF
     
    21712114else
    21722115  cat >conftest.$ac_ext <<_ACEOF
     2116#line $LINENO "configure"
    21732117/* confdefs.h.  */
    21742118_ACEOF
     
    21902134rm -f conftest.$ac_objext
    21912135if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2192   (eval $ac_compile) 2>conftest.er1
    2193   ac_status=$?
    2194   grep -v '^ *+' conftest.er1 >conftest.err
    2195   rm -f conftest.er1
    2196   cat conftest.err >&5
     2136  (eval $ac_compile) 2>&5
     2137  ac_status=$?
    21972138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21982139  (exit $ac_status); } &&
    2199          { ac_try='test -z "$ac_cxx_werror_flag"
    2200                          || test ! -s conftest.err'
     2140         { ac_try='test -s conftest.$ac_objext'
    22012141  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22022142  (eval $ac_try) 2>&5
    22032143  ac_status=$?
    22042144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2205   (exit $ac_status); }; } &&
    2206          { ac_try='test -s conftest.$ac_objext'
    2207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2208   (eval $ac_try) 2>&5
    2209   ac_status=$?
    2210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22112145  (exit $ac_status); }; }; then
    22122146  ac_compiler_gnu=yes
     
    22172151ac_compiler_gnu=no
    22182152fi
    2219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2153rm -f conftest.$ac_objext conftest.$ac_ext
    22202154ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    22212155
     
    22332167else
    22342168  cat >conftest.$ac_ext <<_ACEOF
     2169#line $LINENO "configure"
    22352170/* confdefs.h.  */
    22362171_ACEOF
     
    22492184rm -f conftest.$ac_objext
    22502185if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2251   (eval $ac_compile) 2>conftest.er1
    2252   ac_status=$?
    2253   grep -v '^ *+' conftest.er1 >conftest.err
    2254   rm -f conftest.er1
    2255   cat conftest.err >&5
     2186  (eval $ac_compile) 2>&5
     2187  ac_status=$?
    22562188  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22572189  (exit $ac_status); } &&
    2258          { ac_try='test -z "$ac_cxx_werror_flag"
    2259                          || test ! -s conftest.err'
     2190         { ac_try='test -s conftest.$ac_objext'
    22602191  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22612192  (eval $ac_try) 2>&5
    22622193  ac_status=$?
    22632194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2264   (exit $ac_status); }; } &&
    2265          { ac_try='test -s conftest.$ac_objext'
    2266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2267   (eval $ac_try) 2>&5
    2268   ac_status=$?
    2269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22702195  (exit $ac_status); }; }; then
    22712196  ac_cv_prog_cxx_g=yes
     
    22762201ac_cv_prog_cxx_g=no
    22772202fi
    2278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2203rm -f conftest.$ac_objext conftest.$ac_ext
    22792204fi
    22802205echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     
    22962221fi
    22972222for ac_declaration in \
    2298    '' \
     2223   ''\
     2224   '#include <stdlib.h>' \
    22992225   'extern "C" void std::exit (int) throw (); using std::exit;' \
    23002226   'extern "C" void std::exit (int); using std::exit;' \
     
    23042230do
    23052231  cat >conftest.$ac_ext <<_ACEOF
     2232#line $LINENO "configure"
    23062233/* confdefs.h.  */
    23072234_ACEOF
     
    23092236cat >>conftest.$ac_ext <<_ACEOF
    23102237/* end confdefs.h.  */
     2238#include <stdlib.h>
    23112239$ac_declaration
    2312 #include <stdlib.h>
    23132240int
    23142241main ()
     
    23212248rm -f conftest.$ac_objext
    23222249if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2323   (eval $ac_compile) 2>conftest.er1
    2324   ac_status=$?
    2325   grep -v '^ *+' conftest.er1 >conftest.err
    2326   rm -f conftest.er1
    2327   cat conftest.err >&5
     2250  (eval $ac_compile) 2>&5
     2251  ac_status=$?
    23282252  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23292253  (exit $ac_status); } &&
    2330          { ac_try='test -z "$ac_cxx_werror_flag"
    2331                          || test ! -s conftest.err'
     2254         { ac_try='test -s conftest.$ac_objext'
    23322255  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23332256  (eval $ac_try) 2>&5
    23342257  ac_status=$?
    23352258  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2336   (exit $ac_status); }; } &&
    2337          { ac_try='test -s conftest.$ac_objext'
    2338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2339   (eval $ac_try) 2>&5
    2340   ac_status=$?
    2341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23422259  (exit $ac_status); }; }; then
    23432260  :
     
    23482265continue
    23492266fi
    2350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2267rm -f conftest.$ac_objext conftest.$ac_ext
    23512268  cat >conftest.$ac_ext <<_ACEOF
     2269#line $LINENO "configure"
    23522270/* confdefs.h.  */
    23532271_ACEOF
     
    23662284rm -f conftest.$ac_objext
    23672285if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2368   (eval $ac_compile) 2>conftest.er1
    2369   ac_status=$?
    2370   grep -v '^ *+' conftest.er1 >conftest.err
    2371   rm -f conftest.er1
    2372   cat conftest.err >&5
     2286  (eval $ac_compile) 2>&5
     2287  ac_status=$?
    23732288  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23742289  (exit $ac_status); } &&
    2375          { ac_try='test -z "$ac_cxx_werror_flag"
    2376                          || test ! -s conftest.err'
     2290         { ac_try='test -s conftest.$ac_objext'
    23772291  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23782292  (eval $ac_try) 2>&5
    23792293  ac_status=$?
    23802294  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2381   (exit $ac_status); }; } &&
    2382          { ac_try='test -s conftest.$ac_objext'
    2383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2384   (eval $ac_try) 2>&5
    2385   ac_status=$?
    2386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23872295  (exit $ac_status); }; }; then
    23882296  break
     
    23922300
    23932301fi
    2394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2302rm -f conftest.$ac_objext conftest.$ac_ext
    23952303done
    23962304rm -f conftest*
     
    25132421    for i in 1 2 3 4 5 6; do
    25142422      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    2515       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    2516       # Solaris 8's {/usr,}/bin/sh.
    2517       touch sub/conftst$i.h
     2423      : > sub/conftst$i.h
    25182424    done
    25192425    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    25432449       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    25442450      # icc doesn't choke on unknown options, it will just issue warnings
    2545       # or remarks (even with -Werror).  So we grep stderr for any message
    2546       # that says an option was ignored or not supported.
    2547       # When given -MP, icc 7.0 and 7.1 complain thusly:
    2548       #   icc: Command line warning: ignoring option '-M'; no argument required
    2549       # The diagnosis changed in icc 8.0:
    2550       #   icc: Command line remark: option '-MP' not supported
    2551       if (grep 'ignoring option' conftest.err ||
    2552           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     2451      # (even with -Werror).  So we grep stderr for any message
     2452      # that says an option was ignored.
     2453      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
    25532454        am_cv_CXX_dependencies_compiler_type=$depmode
    25542455        break
     
    29222823else
    29232824  cat >conftest.$ac_ext <<_ACEOF
     2825#line $LINENO "configure"
    29242826/* confdefs.h.  */
    29252827_ACEOF
     
    29412843rm -f conftest.$ac_objext
    29422844if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2943   (eval $ac_compile) 2>conftest.er1
    2944   ac_status=$?
    2945   grep -v '^ *+' conftest.er1 >conftest.err
    2946   rm -f conftest.er1
    2947   cat conftest.err >&5
     2845  (eval $ac_compile) 2>&5
     2846  ac_status=$?
    29482847  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29492848  (exit $ac_status); } &&
    2950          { ac_try='test -z "$ac_c_werror_flag"
    2951                          || test ! -s conftest.err'
     2849         { ac_try='test -s conftest.$ac_objext'
    29522850  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    29532851  (eval $ac_try) 2>&5
    29542852  ac_status=$?
    29552853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2956   (exit $ac_status); }; } &&
    2957          { ac_try='test -s conftest.$ac_objext'
    2958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2959   (eval $ac_try) 2>&5
    2960   ac_status=$?
    2961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29622854  (exit $ac_status); }; }; then
    29632855  ac_compiler_gnu=yes
     
    29682860ac_compiler_gnu=no
    29692861fi
    2970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2862rm -f conftest.$ac_objext conftest.$ac_ext
    29712863ac_cv_c_compiler_gnu=$ac_compiler_gnu
    29722864
     
    29842876else
    29852877  cat >conftest.$ac_ext <<_ACEOF
     2878#line $LINENO "configure"
    29862879/* confdefs.h.  */
    29872880_ACEOF
     
    30002893rm -f conftest.$ac_objext
    30012894if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3002   (eval $ac_compile) 2>conftest.er1
    3003   ac_status=$?
    3004   grep -v '^ *+' conftest.er1 >conftest.err
    3005   rm -f conftest.er1
    3006   cat conftest.err >&5
     2895  (eval $ac_compile) 2>&5
     2896  ac_status=$?
    30072897  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30082898  (exit $ac_status); } &&
    3009          { ac_try='test -z "$ac_c_werror_flag"
    3010                          || test ! -s conftest.err'
     2899         { ac_try='test -s conftest.$ac_objext'
    30112900  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    30122901  (eval $ac_try) 2>&5
    30132902  ac_status=$?
    30142903  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3015   (exit $ac_status); }; } &&
    3016          { ac_try='test -s conftest.$ac_objext'
    3017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3018   (eval $ac_try) 2>&5
    3019   ac_status=$?
    3020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30212904  (exit $ac_status); }; }; then
    30222905  ac_cv_prog_cc_g=yes
     
    30272910ac_cv_prog_cc_g=no
    30282911fi
    3029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2912rm -f conftest.$ac_objext conftest.$ac_ext
    30302913fi
    30312914echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     
    30542937ac_save_CC=$CC
    30552938cat >conftest.$ac_ext <<_ACEOF
     2939#line $LINENO "configure"
    30562940/* confdefs.h.  */
    30572941_ACEOF
     
    30812965  return s;
    30822966}
    3083 
    3084 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    3085    function prototypes and stuff, but not '\xHH' hex character constants.
    3086    These don't provoke an error unfortunately, instead are silently treated
    3087    as 'x'.  The following induces an error, until -std1 is added to get
    3088    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    3089    array size at least.  It's necessary to write '\x00'==0 to get something
    3090    that's true only with -std1.  */
    3091 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    3092 
    30932967int test (int i, double x);
    30942968struct s1 {int (*f) (int a);};
     
    31172991  rm -f conftest.$ac_objext
    31182992if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3119   (eval $ac_compile) 2>conftest.er1
    3120   ac_status=$?
    3121   grep -v '^ *+' conftest.er1 >conftest.err
    3122   rm -f conftest.er1
    3123   cat conftest.err >&5
     2993  (eval $ac_compile) 2>&5
     2994  ac_status=$?
    31242995  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    31252996  (exit $ac_status); } &&
    3126          { ac_try='test -z "$ac_c_werror_flag"
    3127                          || test ! -s conftest.err'
    3128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3129   (eval $ac_try) 2>&5
    3130   ac_status=$?
    3131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3132   (exit $ac_status); }; } &&
    3133          { ac_try='test -s conftest.$ac_objext'
     2997         { ac_try='test -s conftest.$ac_objext'
    31342998  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    31352999  (eval $ac_try) 2>&5
     
    31443008
    31453009fi
    3146 rm -f conftest.err conftest.$ac_objext
     3010rm -f conftest.$ac_objext
    31473011done
    31483012rm -f conftest.$ac_ext conftest.$ac_objext
     
    31723036rm -f conftest.$ac_objext
    31733037if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3174   (eval $ac_compile) 2>conftest.er1
    3175   ac_status=$?
    3176   grep -v '^ *+' conftest.er1 >conftest.err
    3177   rm -f conftest.er1
    3178   cat conftest.err >&5
     3038  (eval $ac_compile) 2>&5
     3039  ac_status=$?
    31793040  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    31803041  (exit $ac_status); } &&
    3181          { ac_try='test -z "$ac_c_werror_flag"
    3182                          || test ! -s conftest.err'
     3042         { ac_try='test -s conftest.$ac_objext'
    31833043  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    31843044  (eval $ac_try) 2>&5
    31853045  ac_status=$?
    31863046  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3187   (exit $ac_status); }; } &&
    3188          { ac_try='test -s conftest.$ac_objext'
    3189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3190   (eval $ac_try) 2>&5
    3191   ac_status=$?
    3192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    31933047  (exit $ac_status); }; }; then
    31943048  for ac_declaration in \
    3195    '' \
     3049   ''\
     3050   '#include <stdlib.h>' \
    31963051   'extern "C" void std::exit (int) throw (); using std::exit;' \
    31973052   'extern "C" void std::exit (int); using std::exit;' \
     
    32013056do
    32023057  cat >conftest.$ac_ext <<_ACEOF
     3058#line $LINENO "configure"
    32033059/* confdefs.h.  */
    32043060_ACEOF
     
    32063062cat >>conftest.$ac_ext <<_ACEOF
    32073063/* end confdefs.h.  */
     3064#include <stdlib.h>
    32083065$ac_declaration
    3209 #include <stdlib.h>
    32103066int
    32113067main ()
     
    32183074rm -f conftest.$ac_objext
    32193075if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3220   (eval $ac_compile) 2>conftest.er1
    3221   ac_status=$?
    3222   grep -v '^ *+' conftest.er1 >conftest.err
    3223   rm -f conftest.er1
    3224   cat conftest.err >&5
     3076  (eval $ac_compile) 2>&5
     3077  ac_status=$?
    32253078  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32263079  (exit $ac_status); } &&
    3227          { ac_try='test -z "$ac_c_werror_flag"
    3228                          || test ! -s conftest.err'
     3080         { ac_try='test -s conftest.$ac_objext'
    32293081  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    32303082  (eval $ac_try) 2>&5
    32313083  ac_status=$?
    32323084  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3233   (exit $ac_status); }; } &&
    3234          { ac_try='test -s conftest.$ac_objext'
    3235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3236   (eval $ac_try) 2>&5
    3237   ac_status=$?
    3238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32393085  (exit $ac_status); }; }; then
    32403086  :
     
    32453091continue
    32463092fi
    3247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3093rm -f conftest.$ac_objext conftest.$ac_ext
    32483094  cat >conftest.$ac_ext <<_ACEOF
     3095#line $LINENO "configure"
    32493096/* confdefs.h.  */
    32503097_ACEOF
     
    32633110rm -f conftest.$ac_objext
    32643111if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3265   (eval $ac_compile) 2>conftest.er1
    3266   ac_status=$?
    3267   grep -v '^ *+' conftest.er1 >conftest.err
    3268   rm -f conftest.er1
    3269   cat conftest.err >&5
     3112  (eval $ac_compile) 2>&5
     3113  ac_status=$?
    32703114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32713115  (exit $ac_status); } &&
    3272          { ac_try='test -z "$ac_c_werror_flag"
    3273                          || test ! -s conftest.err'
     3116         { ac_try='test -s conftest.$ac_objext'
    32743117  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    32753118  (eval $ac_try) 2>&5
    32763119  ac_status=$?
    32773120  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3278   (exit $ac_status); }; } &&
    3279          { ac_try='test -s conftest.$ac_objext'
    3280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3281   (eval $ac_try) 2>&5
    3282   ac_status=$?
    3283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32843121  (exit $ac_status); }; }; then
    32853122  break
     
    32893126
    32903127fi
    3291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3128rm -f conftest.$ac_objext conftest.$ac_ext
    32923129done
    32933130rm -f conftest*
     
    33033140
    33043141fi
    3305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3142rm -f conftest.$ac_objext conftest.$ac_ext
    33063143ac_ext=c
    33073144ac_cpp='$CPP $CPPFLAGS'
     
    33513188    for i in 1 2 3 4 5 6; do
    33523189      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    3353       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    3354       # Solaris 8's {/usr,}/bin/sh.
    3355       touch sub/conftst$i.h
     3190      : > sub/conftst$i.h
    33563191    done
    33573192    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    33813216       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    33823217      # icc doesn't choke on unknown options, it will just issue warnings
    3383       # or remarks (even with -Werror).  So we grep stderr for any message
    3384       # that says an option was ignored or not supported.
    3385       # When given -MP, icc 7.0 and 7.1 complain thusly:
    3386       #   icc: Command line warning: ignoring option '-M'; no argument required
    3387       # The diagnosis changed in icc 8.0:
    3388       #   icc: Command line remark: option '-MP' not supported
    3389       if (grep 'ignoring option' conftest.err ||
    3390           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     3218      # (even with -Werror).  So we grep stderr for any message
     3219      # that says an option was ignored.
     3220      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
    33913221        am_cv_CC_dependencies_compiler_type=$depmode
    33923222        break
     
    34483278  # not just through cpp. "Syntax error" is here to catch this case.
    34493279  cat >conftest.$ac_ext <<_ACEOF
     3280#line $LINENO "configure"
    34503281/* confdefs.h.  */
    34513282_ACEOF
     
    34583289# include <assert.h>
    34593290#endif
    3460                      Syntax error
     3291                     Syntax error
    34613292_ACEOF
    34623293if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     
    34703301  if test -s conftest.err; then
    34713302    ac_cpp_err=$ac_c_preproc_warn_flag
    3472     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    34733303  else
    34743304    ac_cpp_err=
     
    34913321  # can be detected and how.
    34923322  cat >conftest.$ac_ext <<_ACEOF
     3323#line $LINENO "configure"
    34933324/* confdefs.h.  */
    34943325_ACEOF
     
    35083339  if test -s conftest.err; then
    35093340    ac_cpp_err=$ac_c_preproc_warn_flag
    3510     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    35113341  else
    35123342    ac_cpp_err=
     
    35553385  # not just through cpp. "Syntax error" is here to catch this case.
    35563386  cat >conftest.$ac_ext <<_ACEOF
     3387#line $LINENO "configure"
    35573388/* confdefs.h.  */
    35583389_ACEOF
     
    35653396# include <assert.h>
    35663397#endif
    3567                      Syntax error
     3398                     Syntax error
    35683399_ACEOF
    35693400if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     
    35773408  if test -s conftest.err; then
    35783409    ac_cpp_err=$ac_c_preproc_warn_flag
    3579     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    35803410  else
    35813411    ac_cpp_err=
     
    35983428  # can be detected and how.
    35993429  cat >conftest.$ac_ext <<_ACEOF
     3430#line $LINENO "configure"
    36003431/* confdefs.h.  */
    36013432_ACEOF
     
    36153446  if test -s conftest.err; then
    36163447    ac_cpp_err=$ac_c_preproc_warn_flag
    3617     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    36183448  else
    36193449    ac_cpp_err=
     
    36763506else
    36773507  cat >conftest.$ac_ext <<_ACEOF
     3508#line $LINENO "configure"
    36783509/* confdefs.h.  */
    36793510_ACEOF
     
    36963527rm -f conftest.$ac_objext
    36973528if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3698   (eval $ac_compile) 2>conftest.er1
    3699   ac_status=$?
    3700   grep -v '^ *+' conftest.er1 >conftest.err
    3701   rm -f conftest.er1
    3702   cat conftest.err >&5
     3529  (eval $ac_compile) 2>&5
     3530  ac_status=$?
    37033531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37043532  (exit $ac_status); } &&
    3705          { ac_try='test -z "$ac_c_werror_flag"
    3706                          || test ! -s conftest.err'
     3533         { ac_try='test -s conftest.$ac_objext'
    37073534  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    37083535  (eval $ac_try) 2>&5
    37093536  ac_status=$?
    37103537  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3711   (exit $ac_status); }; } &&
    3712          { ac_try='test -s conftest.$ac_objext'
    3713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3714   (eval $ac_try) 2>&5
    3715   ac_status=$?
    3716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37173538  (exit $ac_status); }; }; then
    37183539  ac_cv_header_stdc=yes
     
    37233544ac_cv_header_stdc=no
    37243545fi
    3725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3546rm -f conftest.$ac_objext conftest.$ac_ext
    37263547
    37273548if test $ac_cv_header_stdc = yes; then
    37283549  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    37293550  cat >conftest.$ac_ext <<_ACEOF
     3551#line $LINENO "configure"
    37303552/* confdefs.h.  */
    37313553_ACEOF
     
    37493571  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    37503572  cat >conftest.$ac_ext <<_ACEOF
     3573#line $LINENO "configure"
    37513574/* confdefs.h.  */
    37523575_ACEOF
     
    37733596else
    37743597  cat >conftest.$ac_ext <<_ACEOF
     3598#line $LINENO "configure"
    37753599/* confdefs.h.  */
    37763600_ACEOF
     
    37843608#else
    37853609# define ISLOWER(c) \
    3786                    (('a' <= (c) && (c) <= 'i') \
    3787                      || ('j' <= (c) && (c) <= 'r') \
    3788                      || ('s' <= (c) && (c) <= 'z'))
     3610                   (('a' <= (c) && (c) <= 'i') \
     3611                     || ('j' <= (c) && (c) <= 'r') \
     3612                     || ('s' <= (c) && (c) <= 'z'))
    37893613# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    37903614#endif
     
    37973621  for (i = 0; i < 256; i++)
    37983622    if (XOR (islower (i), ISLOWER (i))
    3799         || toupper (i) != TOUPPER (i))
     3623        || toupper (i) != TOUPPER (i))
    38003624      exit(2);
    38013625  exit (0);
     
    38223646ac_cv_header_stdc=no
    38233647fi
    3824 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3648rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    38253649fi
    38263650fi
     
    38663690
    38673691for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    3868                   inttypes.h stdint.h unistd.h
     3692                  inttypes.h stdint.h unistd.h
    38693693do
    38703694as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    38753699else
    38763700  cat >conftest.$ac_ext <<_ACEOF
     3701#line $LINENO "configure"
    38773702/* confdefs.h.  */
    38783703_ACEOF
     
    38863711rm -f conftest.$ac_objext
    38873712if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3888   (eval $ac_compile) 2>conftest.er1
    3889   ac_status=$?
    3890   grep -v '^ *+' conftest.er1 >conftest.err
    3891   rm -f conftest.er1
    3892   cat conftest.err >&5
     3713  (eval $ac_compile) 2>&5
     3714  ac_status=$?
    38933715  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    38943716  (exit $ac_status); } &&
    3895          { ac_try='test -z "$ac_c_werror_flag"
    3896                          || test ! -s conftest.err'
     3717         { ac_try='test -s conftest.$ac_objext'
    38973718  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    38983719  (eval $ac_try) 2>&5
    38993720  ac_status=$?
    39003721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3901   (exit $ac_status); }; } &&
    3902          { ac_try='test -s conftest.$ac_objext'
    3903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3904   (eval $ac_try) 2>&5
    3905   ac_status=$?
    3906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    39073722  (exit $ac_status); }; }; then
    39083723  eval "$as_ac_Header=yes"
     
    39133728eval "$as_ac_Header=no"
    39143729fi
    3915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3730rm -f conftest.$ac_objext conftest.$ac_ext
    39163731fi
    39173732echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    39443759echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    39453760cat >conftest.$ac_ext <<_ACEOF
     3761#line $LINENO "configure"
    39463762/* confdefs.h.  */
    39473763_ACEOF
     
    39543770rm -f conftest.$ac_objext
    39553771if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3956   (eval $ac_compile) 2>conftest.er1
    3957   ac_status=$?
    3958   grep -v '^ *+' conftest.er1 >conftest.err
    3959   rm -f conftest.er1
    3960   cat conftest.err >&5
     3772  (eval $ac_compile) 2>&5
     3773  ac_status=$?
    39613774  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    39623775  (exit $ac_status); } &&
    3963          { ac_try='test -z "$ac_c_werror_flag"
    3964                          || test ! -s conftest.err'
     3776         { ac_try='test -s conftest.$ac_objext'
    39653777  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    39663778  (eval $ac_try) 2>&5
    39673779  ac_status=$?
    39683780  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3969   (exit $ac_status); }; } &&
    3970          { ac_try='test -s conftest.$ac_objext'
    3971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3972   (eval $ac_try) 2>&5
    3973   ac_status=$?
    3974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    39753781  (exit $ac_status); }; }; then
    39763782  ac_header_compiler=yes
     
    39813787ac_header_compiler=no
    39823788fi
    3983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3789rm -f conftest.$ac_objext conftest.$ac_ext
    39843790echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    39853791echo "${ECHO_T}$ac_header_compiler" >&6
     
    39893795echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    39903796cat >conftest.$ac_ext <<_ACEOF
     3797#line $LINENO "configure"
    39913798/* confdefs.h.  */
    39923799_ACEOF
     
    40063813  if test -s conftest.err; then
    40073814    ac_cpp_err=$ac_c_preproc_warn_flag
    4008     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    40093815  else
    40103816    ac_cpp_err=
     
    40263832
    40273833# So?  What about this header?
    4028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4029   yes:no: )
     3834case $ac_header_compiler:$ac_header_preproc in
     3835  yes:no )
    40303836    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    40313837echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4032     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    4033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    4034     ac_header_preproc=yes
     3838    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     3839echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     3840    (
     3841      cat <<\_ASBOX
     3842## ------------------------------------ ##
     3843## Report this to bug-autoconf@gnu.org. ##
     3844## ------------------------------------ ##
     3845_ASBOX
     3846    ) |
     3847      sed "s/^/$as_me: WARNING:     /" >&2
    40353848    ;;
    4036   no:yes:* )
     3849  no:yes )
    40373850    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    40383851echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4039     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    4040 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    4041     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    4042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    4043     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    4044 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     3852    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     3853echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    40453854    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    40463855echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4047     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    4048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    40493856    (
    40503857      cat <<\_ASBOX
    4051 ## ------------------------------------------- ##
    4052 ## Report this to orxonox-dev@mail.datacore.ch ##
    4053 ## ------------------------------------------- ##
     3858## ------------------------------------ ##
     3859## Report this to bug-autoconf@gnu.org. ##
     3860## ------------------------------------ ##
    40543861_ASBOX
    40553862    ) |
     
    40623869  echo $ECHO_N "(cached) $ECHO_C" >&6
    40633870else
    4064   eval "$as_ac_Header=\$ac_header_preproc"
     3871  eval "$as_ac_Header=$ac_header_preproc"
    40653872fi
    40663873echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    40903897LIBS="-lopengl32  $LIBS"
    40913898cat >conftest.$ac_ext <<_ACEOF
     3899#line $LINENO "configure"
    40923900/* confdefs.h.  */
    40933901_ACEOF
     
    41073915rm -f conftest.$ac_objext conftest$ac_exeext
    41083916if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4109   (eval $ac_link) 2>conftest.er1
    4110   ac_status=$?
    4111   grep -v '^ *+' conftest.er1 >conftest.err
    4112   rm -f conftest.er1
    4113   cat conftest.err >&5
     3917  (eval $ac_link) 2>&5
     3918  ac_status=$?
    41143919  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    41153920  (exit $ac_status); } &&
    4116          { ac_try='test -z "$ac_c_werror_flag"
    4117                          || test ! -s conftest.err'
     3921         { ac_try='test -s conftest$ac_exeext'
    41183922  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    41193923  (eval $ac_try) 2>&5
    41203924  ac_status=$?
    41213925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4122   (exit $ac_status); }; } &&
    4123          { ac_try='test -s conftest$ac_exeext'
    4124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4125   (eval $ac_try) 2>&5
    4126   ac_status=$?
    4127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    41283926  (exit $ac_status); }; }; then
    41293927  ac_cv_lib_opengl32_main=yes
     
    41343932ac_cv_lib_opengl32_main=no
    41353933fi
    4136 rm -f conftest.err conftest.$ac_objext \
    4137       conftest$ac_exeext conftest.$ac_ext
     3934rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    41383935LIBS=$ac_check_lib_save_LIBS
    41393936fi
     
    41743971echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    41753972cat >conftest.$ac_ext <<_ACEOF
     3973#line $LINENO "configure"
    41763974/* confdefs.h.  */
    41773975_ACEOF
     
    41843982rm -f conftest.$ac_objext
    41853983if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4186   (eval $ac_compile) 2>conftest.er1
    4187   ac_status=$?
    4188   grep -v '^ *+' conftest.er1 >conftest.err
    4189   rm -f conftest.er1
    4190   cat conftest.err >&5
     3984  (eval $ac_compile) 2>&5
     3985  ac_status=$?
    41913986  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    41923987  (exit $ac_status); } &&
    4193          { ac_try='test -z "$ac_c_werror_flag"
    4194                          || test ! -s conftest.err'
     3988         { ac_try='test -s conftest.$ac_objext'
    41953989  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    41963990  (eval $ac_try) 2>&5
    41973991  ac_status=$?
    41983992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4199   (exit $ac_status); }; } &&
    4200          { ac_try='test -s conftest.$ac_objext'
    4201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4202   (eval $ac_try) 2>&5
    4203   ac_status=$?
    4204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    42053993  (exit $ac_status); }; }; then
    42063994  ac_header_compiler=yes
     
    42113999ac_header_compiler=no
    42124000fi
    4213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4001rm -f conftest.$ac_objext conftest.$ac_ext
    42144002echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    42154003echo "${ECHO_T}$ac_header_compiler" >&6
     
    42194007echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    42204008cat >conftest.$ac_ext <<_ACEOF
     4009#line $LINENO "configure"
    42214010/* confdefs.h.  */
    42224011_ACEOF
     
    42364025  if test -s conftest.err; then
    42374026    ac_cpp_err=$ac_c_preproc_warn_flag
    4238     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    42394027  else
    42404028    ac_cpp_err=
     
    42564044
    42574045# So?  What about this header?
    4258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4259   yes:no: )
     4046case $ac_header_compiler:$ac_header_preproc in
     4047  yes:no )
    42604048    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    42614049echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4262     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    4263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    4264     ac_header_preproc=yes
     4050    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4051echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4052    (
     4053      cat <<\_ASBOX
     4054## ------------------------------------ ##
     4055## Report this to bug-autoconf@gnu.org. ##
     4056## ------------------------------------ ##
     4057_ASBOX
     4058    ) |
     4059      sed "s/^/$as_me: WARNING:     /" >&2
    42654060    ;;
    4266   no:yes:* )
     4061  no:yes )
    42674062    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    42684063echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4269     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    4270 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    4271     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    4272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    4273     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    4274 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4064    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     4065echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    42754066    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    42764067echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4277     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    4278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    42794068    (
    42804069      cat <<\_ASBOX
    4281 ## ------------------------------------------- ##
    4282 ## Report this to orxonox-dev@mail.datacore.ch ##
    4283 ## ------------------------------------------- ##
     4070## ------------------------------------ ##
     4071## Report this to bug-autoconf@gnu.org. ##
     4072## ------------------------------------ ##
    42844073_ASBOX
    42854074    ) |
     
    42924081  echo $ECHO_N "(cached) $ECHO_C" >&6
    42934082else
    4294   eval "$as_ac_Header=\$ac_header_preproc"
     4083  eval "$as_ac_Header=$ac_header_preproc"
    42954084fi
    42964085echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    43214110LIBS="-lglu32  $LIBS"
    43224111cat >conftest.$ac_ext <<_ACEOF
     4112#line $LINENO "configure"
    43234113/* confdefs.h.  */
    43244114_ACEOF
     
    43384128rm -f conftest.$ac_objext conftest$ac_exeext
    43394129if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4340   (eval $ac_link) 2>conftest.er1
    4341   ac_status=$?
    4342   grep -v '^ *+' conftest.er1 >conftest.err
    4343   rm -f conftest.er1
    4344   cat conftest.err >&5
     4130  (eval $ac_link) 2>&5
     4131  ac_status=$?
    43454132  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43464133  (exit $ac_status); } &&
    4347          { ac_try='test -z "$ac_c_werror_flag"
    4348                          || test ! -s conftest.err'
     4134         { ac_try='test -s conftest$ac_exeext'
    43494135  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    43504136  (eval $ac_try) 2>&5
    43514137  ac_status=$?
    43524138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4353   (exit $ac_status); }; } &&
    4354          { ac_try='test -s conftest$ac_exeext'
    4355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4356   (eval $ac_try) 2>&5
    4357   ac_status=$?
    4358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43594139  (exit $ac_status); }; }; then
    43604140  ac_cv_lib_glu32_main=yes
     
    43654145ac_cv_lib_glu32_main=no
    43664146fi
    4367 rm -f conftest.err conftest.$ac_objext \
    4368       conftest$ac_exeext conftest.$ac_ext
     4147rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    43694148LIBS=$ac_check_lib_save_LIBS
    43704149fi
     
    43944173LIBS="-lmingw32  $LIBS"
    43954174cat >conftest.$ac_ext <<_ACEOF
     4175#line $LINENO "configure"
    43964176/* confdefs.h.  */
    43974177_ACEOF
     
    44114191rm -f conftest.$ac_objext conftest$ac_exeext
    44124192if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4413   (eval $ac_link) 2>conftest.er1
    4414   ac_status=$?
    4415   grep -v '^ *+' conftest.er1 >conftest.err
    4416   rm -f conftest.er1
    4417   cat conftest.err >&5
     4193  (eval $ac_link) 2>&5
     4194  ac_status=$?
    44184195  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    44194196  (exit $ac_status); } &&
    4420          { ac_try='test -z "$ac_c_werror_flag"
    4421                          || test ! -s conftest.err'
     4197         { ac_try='test -s conftest$ac_exeext'
    44224198  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    44234199  (eval $ac_try) 2>&5
    44244200  ac_status=$?
    44254201  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4426   (exit $ac_status); }; } &&
    4427          { ac_try='test -s conftest$ac_exeext'
    4428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4429   (eval $ac_try) 2>&5
    4430   ac_status=$?
    4431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    44324202  (exit $ac_status); }; }; then
    44334203  ac_cv_lib_mingw32_main=yes
     
    44384208ac_cv_lib_mingw32_main=no
    44394209fi
    4440 rm -f conftest.err conftest.$ac_objext \
    4441       conftest$ac_exeext conftest.$ac_ext
     4210rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    44424211LIBS=$ac_check_lib_save_LIBS
    44434212fi
     
    44694238echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    44704239cat >conftest.$ac_ext <<_ACEOF
     4240#line $LINENO "configure"
    44714241/* confdefs.h.  */
    44724242_ACEOF
     
    44794249rm -f conftest.$ac_objext
    44804250if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4481   (eval $ac_compile) 2>conftest.er1
    4482   ac_status=$?
    4483   grep -v '^ *+' conftest.er1 >conftest.err
    4484   rm -f conftest.er1
    4485   cat conftest.err >&5
     4251  (eval $ac_compile) 2>&5
     4252  ac_status=$?
    44864253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    44874254  (exit $ac_status); } &&
    4488          { ac_try='test -z "$ac_c_werror_flag"
    4489                          || test ! -s conftest.err'
     4255         { ac_try='test -s conftest.$ac_objext'
    44904256  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    44914257  (eval $ac_try) 2>&5
    44924258  ac_status=$?
    44934259  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4494   (exit $ac_status); }; } &&
    4495          { ac_try='test -s conftest.$ac_objext'
    4496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4497   (eval $ac_try) 2>&5
    4498   ac_status=$?
    4499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    45004260  (exit $ac_status); }; }; then
    45014261  ac_header_compiler=yes
     
    45064266ac_header_compiler=no
    45074267fi
    4508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4268rm -f conftest.$ac_objext conftest.$ac_ext
    45094269echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    45104270echo "${ECHO_T}$ac_header_compiler" >&6
     
    45144274echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    45154275cat >conftest.$ac_ext <<_ACEOF
     4276#line $LINENO "configure"
    45164277/* confdefs.h.  */
    45174278_ACEOF
     
    45314292  if test -s conftest.err; then
    45324293    ac_cpp_err=$ac_c_preproc_warn_flag
    4533     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    45344294  else
    45354295    ac_cpp_err=
     
    45514311
    45524312# So?  What about this header?
    4553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4554   yes:no: )
     4313case $ac_header_compiler:$ac_header_preproc in
     4314  yes:no )
    45554315    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    45564316echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4557     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    4558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    4559     ac_header_preproc=yes
     4317    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4318echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4319    (
     4320      cat <<\_ASBOX
     4321## ------------------------------------ ##
     4322## Report this to bug-autoconf@gnu.org. ##
     4323## ------------------------------------ ##
     4324_ASBOX
     4325    ) |
     4326      sed "s/^/$as_me: WARNING:     /" >&2
    45604327    ;;
    4561   no:yes:* )
     4328  no:yes )
    45624329    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    45634330echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4564     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    4565 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    4566     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    4567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    4568     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    4569 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4331    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     4332echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    45704333    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    45714334echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4572     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    4573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    45744335    (
    45754336      cat <<\_ASBOX
    4576 ## ------------------------------------------- ##
    4577 ## Report this to orxonox-dev@mail.datacore.ch ##
    4578 ## ------------------------------------------- ##
     4337## ------------------------------------ ##
     4338## Report this to bug-autoconf@gnu.org. ##
     4339## ------------------------------------ ##
    45794340_ASBOX
    45804341    ) |
     
    45874348  echo $ECHO_N "(cached) $ECHO_C" >&6
    45884349else
    4589   eval "$as_ac_Header=\$ac_header_preproc"
     4350  eval "$as_ac_Header=$ac_header_preproc"
    45904351fi
    45914352echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    46164377LIBS="-lsdlmain  $LIBS"
    46174378cat >conftest.$ac_ext <<_ACEOF
     4379#line $LINENO "configure"
    46184380/* confdefs.h.  */
    46194381_ACEOF
     
    46334395rm -f conftest.$ac_objext conftest$ac_exeext
    46344396if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4635   (eval $ac_link) 2>conftest.er1
    4636   ac_status=$?
    4637   grep -v '^ *+' conftest.er1 >conftest.err
    4638   rm -f conftest.er1
    4639   cat conftest.err >&5
     4397  (eval $ac_link) 2>&5
     4398  ac_status=$?
    46404399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    46414400  (exit $ac_status); } &&
    4642          { ac_try='test -z "$ac_c_werror_flag"
    4643                          || test ! -s conftest.err'
     4401         { ac_try='test -s conftest$ac_exeext'
    46444402  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    46454403  (eval $ac_try) 2>&5
    46464404  ac_status=$?
    46474405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4648   (exit $ac_status); }; } &&
    4649          { ac_try='test -s conftest$ac_exeext'
    4650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4651   (eval $ac_try) 2>&5
    4652   ac_status=$?
    4653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    46544406  (exit $ac_status); }; }; then
    46554407  ac_cv_lib_sdlmain_main=yes
     
    46604412ac_cv_lib_sdlmain_main=no
    46614413fi
    4662 rm -f conftest.err conftest.$ac_objext \
    4663       conftest$ac_exeext conftest.$ac_ext
     4414rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    46644415LIBS=$ac_check_lib_save_LIBS
    46654416fi
     
    46874438LIBS="-lsdl  $LIBS"
    46884439cat >conftest.$ac_ext <<_ACEOF
     4440#line $LINENO "configure"
    46894441/* confdefs.h.  */
    46904442_ACEOF
     
    47044456rm -f conftest.$ac_objext conftest$ac_exeext
    47054457if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4706   (eval $ac_link) 2>conftest.er1
    4707   ac_status=$?
    4708   grep -v '^ *+' conftest.er1 >conftest.err
    4709   rm -f conftest.er1
    4710   cat conftest.err >&5
     4458  (eval $ac_link) 2>&5
     4459  ac_status=$?
    47114460  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47124461  (exit $ac_status); } &&
    4713          { ac_try='test -z "$ac_c_werror_flag"
    4714                          || test ! -s conftest.err'
     4462         { ac_try='test -s conftest$ac_exeext'
    47154463  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    47164464  (eval $ac_try) 2>&5
    47174465  ac_status=$?
    47184466  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4719   (exit $ac_status); }; } &&
    4720          { ac_try='test -s conftest$ac_exeext'
    4721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4722   (eval $ac_try) 2>&5
    4723   ac_status=$?
    4724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47254467  (exit $ac_status); }; }; then
    47264468  ac_cv_lib_sdl_main=yes
     
    47314473ac_cv_lib_sdl_main=no
    47324474fi
    4733 rm -f conftest.err conftest.$ac_objext \
    4734       conftest$ac_exeext conftest.$ac_ext
     4475rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    47354476LIBS=$ac_check_lib_save_LIBS
    47364477fi
     
    47784519echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    47794520cat >conftest.$ac_ext <<_ACEOF
     4521#line $LINENO "configure"
    47804522/* confdefs.h.  */
    47814523_ACEOF
     
    47884530rm -f conftest.$ac_objext
    47894531if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4790   (eval $ac_compile) 2>conftest.er1
    4791   ac_status=$?
    4792   grep -v '^ *+' conftest.er1 >conftest.err
    4793   rm -f conftest.er1
    4794   cat conftest.err >&5
     4532  (eval $ac_compile) 2>&5
     4533  ac_status=$?
    47954534  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47964535  (exit $ac_status); } &&
    4797          { ac_try='test -z "$ac_c_werror_flag"
    4798                          || test ! -s conftest.err'
     4536         { ac_try='test -s conftest.$ac_objext'
    47994537  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    48004538  (eval $ac_try) 2>&5
    48014539  ac_status=$?
    48024540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4803   (exit $ac_status); }; } &&
    4804          { ac_try='test -s conftest.$ac_objext'
    4805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4806   (eval $ac_try) 2>&5
    4807   ac_status=$?
    4808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    48094541  (exit $ac_status); }; }; then
    48104542  ac_header_compiler=yes
     
    48154547ac_header_compiler=no
    48164548fi
    4817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4549rm -f conftest.$ac_objext conftest.$ac_ext
    48184550echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    48194551echo "${ECHO_T}$ac_header_compiler" >&6
     
    48234555echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    48244556cat >conftest.$ac_ext <<_ACEOF
     4557#line $LINENO "configure"
    48254558/* confdefs.h.  */
    48264559_ACEOF
     
    48404573  if test -s conftest.err; then
    48414574    ac_cpp_err=$ac_c_preproc_warn_flag
    4842     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    48434575  else
    48444576    ac_cpp_err=
     
    48604592
    48614593# So?  What about this header?
    4862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4863   yes:no: )
     4594case $ac_header_compiler:$ac_header_preproc in
     4595  yes:no )
    48644596    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    48654597echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4866     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    4867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    4868     ac_header_preproc=yes
     4598    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4599echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4600    (
     4601      cat <<\_ASBOX
     4602## ------------------------------------ ##
     4603## Report this to bug-autoconf@gnu.org. ##
     4604## ------------------------------------ ##
     4605_ASBOX
     4606    ) |
     4607      sed "s/^/$as_me: WARNING:     /" >&2
    48694608    ;;
    4870   no:yes:* )
     4609  no:yes )
    48714610    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    48724611echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4873     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    4874 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    4875     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    4876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    4877     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    4878 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4612    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     4613echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    48794614    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    48804615echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4881     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    4882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    48834616    (
    48844617      cat <<\_ASBOX
    4885 ## ------------------------------------------- ##
    4886 ## Report this to orxonox-dev@mail.datacore.ch ##
    4887 ## ------------------------------------------- ##
     4618## ------------------------------------ ##
     4619## Report this to bug-autoconf@gnu.org. ##
     4620## ------------------------------------ ##
    48884621_ASBOX
    48894622    ) |
     
    48964629  echo $ECHO_N "(cached) $ECHO_C" >&6
    48974630else
    4898   eval "$as_ac_Header=\$ac_header_preproc"
     4631  eval "$as_ac_Header=$ac_header_preproc"
    48994632fi
    49004633echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    49254658LIBS="-lGL  $LIBS"
    49264659cat >conftest.$ac_ext <<_ACEOF
     4660#line $LINENO "configure"
    49274661/* confdefs.h.  */
    49284662_ACEOF
     
    49424676rm -f conftest.$ac_objext conftest$ac_exeext
    49434677if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4944   (eval $ac_link) 2>conftest.er1
    4945   ac_status=$?
    4946   grep -v '^ *+' conftest.er1 >conftest.err
    4947   rm -f conftest.er1
    4948   cat conftest.err >&5
     4678  (eval $ac_link) 2>&5
     4679  ac_status=$?
    49494680  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    49504681  (exit $ac_status); } &&
    4951          { ac_try='test -z "$ac_c_werror_flag"
    4952                          || test ! -s conftest.err'
     4682         { ac_try='test -s conftest$ac_exeext'
    49534683  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    49544684  (eval $ac_try) 2>&5
    49554685  ac_status=$?
    49564686  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4957   (exit $ac_status); }; } &&
    4958          { ac_try='test -s conftest$ac_exeext'
    4959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4960   (eval $ac_try) 2>&5
    4961   ac_status=$?
    4962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    49634687  (exit $ac_status); }; }; then
    49644688  ac_cv_lib_GL_main=yes
     
    49694693ac_cv_lib_GL_main=no
    49704694fi
    4971 rm -f conftest.err conftest.$ac_objext \
    4972       conftest$ac_exeext conftest.$ac_ext
     4695rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    49734696LIBS=$ac_check_lib_save_LIBS
    49744697fi
     
    50074730echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    50084731cat >conftest.$ac_ext <<_ACEOF
     4732#line $LINENO "configure"
    50094733/* confdefs.h.  */
    50104734_ACEOF
     
    50174741rm -f conftest.$ac_objext
    50184742if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5019   (eval $ac_compile) 2>conftest.er1
    5020   ac_status=$?
    5021   grep -v '^ *+' conftest.er1 >conftest.err
    5022   rm -f conftest.er1
    5023   cat conftest.err >&5
     4743  (eval $ac_compile) 2>&5
     4744  ac_status=$?
    50244745  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    50254746  (exit $ac_status); } &&
    5026          { ac_try='test -z "$ac_c_werror_flag"
    5027                          || test ! -s conftest.err'
     4747         { ac_try='test -s conftest.$ac_objext'
    50284748  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    50294749  (eval $ac_try) 2>&5
    50304750  ac_status=$?
    50314751  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5032   (exit $ac_status); }; } &&
    5033          { ac_try='test -s conftest.$ac_objext'
    5034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5035   (eval $ac_try) 2>&5
    5036   ac_status=$?
    5037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    50384752  (exit $ac_status); }; }; then
    50394753  ac_header_compiler=yes
     
    50444758ac_header_compiler=no
    50454759fi
    5046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4760rm -f conftest.$ac_objext conftest.$ac_ext
    50474761echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    50484762echo "${ECHO_T}$ac_header_compiler" >&6
     
    50524766echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    50534767cat >conftest.$ac_ext <<_ACEOF
     4768#line $LINENO "configure"
    50544769/* confdefs.h.  */
    50554770_ACEOF
     
    50694784  if test -s conftest.err; then
    50704785    ac_cpp_err=$ac_c_preproc_warn_flag
    5071     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    50724786  else
    50734787    ac_cpp_err=
     
    50894803
    50904804# So?  What about this header?
    5091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5092   yes:no: )
     4805case $ac_header_compiler:$ac_header_preproc in
     4806  yes:no )
    50934807    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    50944808echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5095     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5096 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5097     ac_header_preproc=yes
     4809    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4810echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4811    (
     4812      cat <<\_ASBOX
     4813## ------------------------------------ ##
     4814## Report this to bug-autoconf@gnu.org. ##
     4815## ------------------------------------ ##
     4816_ASBOX
     4817    ) |
     4818      sed "s/^/$as_me: WARNING:     /" >&2
    50984819    ;;
    5099   no:yes:* )
     4820  no:yes )
    51004821    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    51014822echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5102     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5103 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5104     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5105 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5106     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5107 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4823    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     4824echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    51084825    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    51094826echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5110     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5111 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    51124827    (
    51134828      cat <<\_ASBOX
    5114 ## ------------------------------------------- ##
    5115 ## Report this to orxonox-dev@mail.datacore.ch ##
    5116 ## ------------------------------------------- ##
     4829## ------------------------------------ ##
     4830## Report this to bug-autoconf@gnu.org. ##
     4831## ------------------------------------ ##
    51174832_ASBOX
    51184833    ) |
     
    51254840  echo $ECHO_N "(cached) $ECHO_C" >&6
    51264841else
    5127   eval "$as_ac_Header=\$ac_header_preproc"
     4842  eval "$as_ac_Header=$ac_header_preproc"
    51284843fi
    51294844echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    51534868LIBS="-lGLU  $LIBS"
    51544869cat >conftest.$ac_ext <<_ACEOF
     4870#line $LINENO "configure"
    51554871/* confdefs.h.  */
    51564872_ACEOF
     
    51764892rm -f conftest.$ac_objext conftest$ac_exeext
    51774893if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5178   (eval $ac_link) 2>conftest.er1
    5179   ac_status=$?
    5180   grep -v '^ *+' conftest.er1 >conftest.err
    5181   rm -f conftest.er1
    5182   cat conftest.err >&5
     4894  (eval $ac_link) 2>&5
     4895  ac_status=$?
    51834896  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    51844897  (exit $ac_status); } &&
    5185          { ac_try='test -z "$ac_c_werror_flag"
    5186                          || test ! -s conftest.err'
     4898         { ac_try='test -s conftest$ac_exeext'
    51874899  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    51884900  (eval $ac_try) 2>&5
    51894901  ac_status=$?
    51904902  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5191   (exit $ac_status); }; } &&
    5192          { ac_try='test -s conftest$ac_exeext'
    5193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5194   (eval $ac_try) 2>&5
    5195   ac_status=$?
    5196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    51974903  (exit $ac_status); }; }; then
    51984904  ac_cv_lib_GLU_gluProject=yes
     
    52034909ac_cv_lib_GLU_gluProject=no
    52044910fi
    5205 rm -f conftest.err conftest.$ac_objext \
    5206       conftest$ac_exeext conftest.$ac_ext
     4911rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    52074912LIBS=$ac_check_lib_save_LIBS
    52084913fi
     
    53305035else
    53315036  cat >conftest.$ac_ext <<_ACEOF
     5037#line $LINENO "configure"
    53325038/* confdefs.h.  */
    53335039_ACEOF
     
    54145120no_sdl=yes
    54155121fi
    5416 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5122rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    54175123fi
    54185124       CFLAGS="$ac_save_CFLAGS"
     
    54405146          LIBS="$LIBS $SDL_LIBS"
    54415147          cat >conftest.$ac_ext <<_ACEOF
     5148#line $LINENO "configure"
    54425149/* confdefs.h.  */
    54435150_ACEOF
     
    54645171rm -f conftest.$ac_objext conftest$ac_exeext
    54655172if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5466   (eval $ac_link) 2>conftest.er1
    5467   ac_status=$?
    5468   grep -v '^ *+' conftest.er1 >conftest.err
    5469   rm -f conftest.er1
    5470   cat conftest.err >&5
     5173  (eval $ac_link) 2>&5
     5174  ac_status=$?
    54715175  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    54725176  (exit $ac_status); } &&
    5473          { ac_try='test -z "$ac_c_werror_flag"
    5474                          || test ! -s conftest.err'
    5475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5476   (eval $ac_try) 2>&5
    5477   ac_status=$?
    5478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5479   (exit $ac_status); }; } &&
    5480          { ac_try='test -s conftest$ac_exeext'
     5177         { ac_try='test -s conftest$ac_exeext'
    54815178  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    54825179  (eval $ac_try) 2>&5
     
    55025199          echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
    55035200fi
    5504 rm -f conftest.err conftest.$ac_objext \
    5505       conftest$ac_exeext conftest.$ac_ext
     5201rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    55065202          CFLAGS="$ac_save_CFLAGS"
    55075203          LIBS="$ac_save_LIBS"
     
    55245220
    55255221### OS X ###
    5526  *Darwin*)
     5222 *darwin*)
    55275223echo "OS X detected"
    55285224
     
    55475243echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    55485244cat >conftest.$ac_ext <<_ACEOF
     5245#line $LINENO "configure"
    55495246/* confdefs.h.  */
    55505247_ACEOF
     
    55575254rm -f conftest.$ac_objext
    55585255if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5559   (eval $ac_compile) 2>conftest.er1
    5560   ac_status=$?
    5561   grep -v '^ *+' conftest.er1 >conftest.err
    5562   rm -f conftest.er1
    5563   cat conftest.err >&5
     5256  (eval $ac_compile) 2>&5
     5257  ac_status=$?
    55645258  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    55655259  (exit $ac_status); } &&
    5566          { ac_try='test -z "$ac_c_werror_flag"
    5567                          || test ! -s conftest.err'
     5260         { ac_try='test -s conftest.$ac_objext'
    55685261  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    55695262  (eval $ac_try) 2>&5
    55705263  ac_status=$?
    55715264  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5572   (exit $ac_status); }; } &&
    5573          { ac_try='test -s conftest.$ac_objext'
    5574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5575   (eval $ac_try) 2>&5
    5576   ac_status=$?
    5577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    55785265  (exit $ac_status); }; }; then
    55795266  ac_header_compiler=yes
     
    55845271ac_header_compiler=no
    55855272fi
    5586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5273rm -f conftest.$ac_objext conftest.$ac_ext
    55875274echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    55885275echo "${ECHO_T}$ac_header_compiler" >&6
     
    55925279echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    55935280cat >conftest.$ac_ext <<_ACEOF
     5281#line $LINENO "configure"
    55945282/* confdefs.h.  */
    55955283_ACEOF
     
    56095297  if test -s conftest.err; then
    56105298    ac_cpp_err=$ac_c_preproc_warn_flag
    5611     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    56125299  else
    56135300    ac_cpp_err=
     
    56295316
    56305317# So?  What about this header?
    5631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5632   yes:no: )
     5318case $ac_header_compiler:$ac_header_preproc in
     5319  yes:no )
    56335320    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    56345321echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5635     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5637     ac_header_preproc=yes
     5322    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5323echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5324    (
     5325      cat <<\_ASBOX
     5326## ------------------------------------ ##
     5327## Report this to bug-autoconf@gnu.org. ##
     5328## ------------------------------------ ##
     5329_ASBOX
     5330    ) |
     5331      sed "s/^/$as_me: WARNING:     /" >&2
    56385332    ;;
    5639   no:yes:* )
     5333  no:yes )
    56405334    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    56415335echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5642     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5643 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5644     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5646     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5647 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5336    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     5337echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    56485338    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    56495339echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5650     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    56525340    (
    56535341      cat <<\_ASBOX
    5654 ## ------------------------------------------- ##
    5655 ## Report this to orxonox-dev@mail.datacore.ch ##
    5656 ## ------------------------------------------- ##
     5342## ------------------------------------ ##
     5343## Report this to bug-autoconf@gnu.org. ##
     5344## ------------------------------------ ##
    56575345_ASBOX
    56585346    ) |
     
    56655353  echo $ECHO_N "(cached) $ECHO_C" >&6
    56665354else
    5667   eval "$as_ac_Header=\$ac_header_preproc"
     5355  eval "$as_ac_Header=$ac_header_preproc"
    56685356fi
    56695357echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    57025390echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    57035391cat >conftest.$ac_ext <<_ACEOF
     5392#line $LINENO "configure"
    57045393/* confdefs.h.  */
    57055394_ACEOF
     
    57125401rm -f conftest.$ac_objext
    57135402if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5714   (eval $ac_compile) 2>conftest.er1
    5715   ac_status=$?
    5716   grep -v '^ *+' conftest.er1 >conftest.err
    5717   rm -f conftest.er1
    5718   cat conftest.err >&5
     5403  (eval $ac_compile) 2>&5
     5404  ac_status=$?
    57195405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    57205406  (exit $ac_status); } &&
    5721          { ac_try='test -z "$ac_c_werror_flag"
    5722                          || test ! -s conftest.err'
     5407         { ac_try='test -s conftest.$ac_objext'
    57235408  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    57245409  (eval $ac_try) 2>&5
    57255410  ac_status=$?
    57265411  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5727   (exit $ac_status); }; } &&
    5728          { ac_try='test -s conftest.$ac_objext'
    5729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5730   (eval $ac_try) 2>&5
    5731   ac_status=$?
    5732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    57335412  (exit $ac_status); }; }; then
    57345413  ac_header_compiler=yes
     
    57395418ac_header_compiler=no
    57405419fi
    5741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5420rm -f conftest.$ac_objext conftest.$ac_ext
    57425421echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    57435422echo "${ECHO_T}$ac_header_compiler" >&6
     
    57475426echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    57485427cat >conftest.$ac_ext <<_ACEOF
     5428#line $LINENO "configure"
    57495429/* confdefs.h.  */
    57505430_ACEOF
     
    57645444  if test -s conftest.err; then
    57655445    ac_cpp_err=$ac_c_preproc_warn_flag
    5766     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    57675446  else
    57685447    ac_cpp_err=
     
    57845463
    57855464# So?  What about this header?
    5786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5787   yes:no: )
     5465case $ac_header_compiler:$ac_header_preproc in
     5466  yes:no )
    57885467    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    57895468echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5790     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5792     ac_header_preproc=yes
     5469    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5470echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5471    (
     5472      cat <<\_ASBOX
     5473## ------------------------------------ ##
     5474## Report this to bug-autoconf@gnu.org. ##
     5475## ------------------------------------ ##
     5476_ASBOX
     5477    ) |
     5478      sed "s/^/$as_me: WARNING:     /" >&2
    57935479    ;;
    5794   no:yes:* )
     5480  no:yes )
    57955481    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    57965482echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5797     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5798 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5799     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5801     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5802 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5483    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     5484echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    58035485    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    58045486echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5805     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    58075487    (
    58085488      cat <<\_ASBOX
    5809 ## ------------------------------------------- ##
    5810 ## Report this to orxonox-dev@mail.datacore.ch ##
    5811 ## ------------------------------------------- ##
     5489## ------------------------------------ ##
     5490## Report this to bug-autoconf@gnu.org. ##
     5491## ------------------------------------ ##
    58125492_ASBOX
    58135493    ) |
     
    58205500  echo $ECHO_N "(cached) $ECHO_C" >&6
    58215501else
    5822   eval "$as_ac_Header=\$ac_header_preproc"
     5502  eval "$as_ac_Header=$ac_header_preproc"
    58235503fi
    58245504echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    58415521
    58425522   LIBS="$LIBS -framework OpenGL"
    5843 
    5844 # checking for SDL-headers
    5845 
    5846 for ac_header in SDL/SDL.h
    5847 do
    5848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5850   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5853   echo $ECHO_N "(cached) $ECHO_C" >&6
    5854 fi
    5855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5857 else
    5858   # Is the header compilable?
    5859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    5861 cat >conftest.$ac_ext <<_ACEOF
    5862 /* confdefs.h.  */
    5863 _ACEOF
    5864 cat confdefs.h >>conftest.$ac_ext
    5865 cat >>conftest.$ac_ext <<_ACEOF
    5866 /* end confdefs.h.  */
    5867 $ac_includes_default
    5868 #include <$ac_header>
    5869 _ACEOF
    5870 rm -f conftest.$ac_objext
    5871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5872   (eval $ac_compile) 2>conftest.er1
    5873   ac_status=$?
    5874   grep -v '^ *+' conftest.er1 >conftest.err
    5875   rm -f conftest.er1
    5876   cat conftest.err >&5
    5877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5878   (exit $ac_status); } &&
    5879          { ac_try='test -z "$ac_c_werror_flag"
    5880                          || test ! -s conftest.err'
    5881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5882   (eval $ac_try) 2>&5
    5883   ac_status=$?
    5884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5885   (exit $ac_status); }; } &&
    5886          { ac_try='test -s conftest.$ac_objext'
    5887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5888   (eval $ac_try) 2>&5
    5889   ac_status=$?
    5890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5891   (exit $ac_status); }; }; then
    5892   ac_header_compiler=yes
    5893 else
    5894   echo "$as_me: failed program was:" >&5
    5895 sed 's/^/| /' conftest.$ac_ext >&5
    5896 
    5897 ac_header_compiler=no
    5898 fi
    5899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5901 echo "${ECHO_T}$ac_header_compiler" >&6
    5902 
    5903 # Is the header present?
    5904 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    5906 cat >conftest.$ac_ext <<_ACEOF
    5907 /* confdefs.h.  */
    5908 _ACEOF
    5909 cat confdefs.h >>conftest.$ac_ext
    5910 cat >>conftest.$ac_ext <<_ACEOF
    5911 /* end confdefs.h.  */
    5912 #include <$ac_header>
    5913 _ACEOF
    5914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5915   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5916   ac_status=$?
    5917   grep -v '^ *+' conftest.er1 >conftest.err
    5918   rm -f conftest.er1
    5919   cat conftest.err >&5
    5920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5921   (exit $ac_status); } >/dev/null; then
    5922   if test -s conftest.err; then
    5923     ac_cpp_err=$ac_c_preproc_warn_flag
    5924     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5925   else
    5926     ac_cpp_err=
    5927   fi
    5928 else
    5929   ac_cpp_err=yes
    5930 fi
    5931 if test -z "$ac_cpp_err"; then
    5932   ac_header_preproc=yes
    5933 else
    5934   echo "$as_me: failed program was:" >&5
    5935 sed 's/^/| /' conftest.$ac_ext >&5
    5936 
    5937   ac_header_preproc=no
    5938 fi
    5939 rm -f conftest.err conftest.$ac_ext
    5940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5941 echo "${ECHO_T}$ac_header_preproc" >&6
    5942 
    5943 # So?  What about this header?
    5944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5945   yes:no: )
    5946     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5948     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5950     ac_header_preproc=yes
    5951     ;;
    5952   no:yes:* )
    5953     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5955     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5956 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5957     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5959     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5960 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5961     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5963     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5965     (
    5966       cat <<\_ASBOX
    5967 ## ------------------------------------------- ##
    5968 ## Report this to orxonox-dev@mail.datacore.ch ##
    5969 ## ------------------------------------------- ##
    5970 _ASBOX
    5971     ) |
    5972       sed "s/^/$as_me: WARNING:     /" >&2
    5973     ;;
    5974 esac
    5975 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5978   echo $ECHO_N "(cached) $ECHO_C" >&6
    5979 else
    5980   eval "$as_ac_Header=\$ac_header_preproc"
    5981 fi
    5982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5984 
    5985 fi
    5986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    5987   cat >>confdefs.h <<_ACEOF
    5988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5989 _ACEOF
    5990 
    5991 else
    5992   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5
    5993 echo "$as_me: error: cannot find SDL headers" >&2;}
    5994    { (exit 1); exit 1; }; }
    5995 fi
    5996 
    5997 done
    5998 
    59995523
    60005524## checking for SDL
     
    61055629else
    61065630  cat >conftest.$ac_ext <<_ACEOF
     5631#line $LINENO "configure"
    61075632/* confdefs.h.  */
    61085633_ACEOF
     
    61895714no_sdl=yes
    61905715fi
    6191 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5716rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    61925717fi
    61935718       CFLAGS="$ac_save_CFLAGS"
     
    62155740          LIBS="$LIBS $SDL_LIBS"
    62165741          cat >conftest.$ac_ext <<_ACEOF
     5742#line $LINENO "configure"
    62175743/* confdefs.h.  */
    62185744_ACEOF
     
    62395765rm -f conftest.$ac_objext conftest$ac_exeext
    62405766if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6241   (eval $ac_link) 2>conftest.er1
    6242   ac_status=$?
    6243   grep -v '^ *+' conftest.er1 >conftest.err
    6244   rm -f conftest.er1
    6245   cat conftest.err >&5
     5767  (eval $ac_link) 2>&5
     5768  ac_status=$?
    62465769  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    62475770  (exit $ac_status); } &&
    6248          { ac_try='test -z "$ac_c_werror_flag"
    6249                          || test ! -s conftest.err'
    6250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6251   (eval $ac_try) 2>&5
    6252   ac_status=$?
    6253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6254   (exit $ac_status); }; } &&
    6255          { ac_try='test -s conftest$ac_exeext'
     5771         { ac_try='test -s conftest$ac_exeext'
    62565772  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    62575773  (eval $ac_try) 2>&5
     
    62775793          echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
    62785794fi
    6279 rm -f conftest.err conftest.$ac_objext \
    6280       conftest$ac_exeext conftest.$ac_ext
     5795rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    62815796          CFLAGS="$ac_save_CFLAGS"
    62825797          LIBS="$ac_save_LIBS"
     
    63095824
    63105825## checking for GTK
    6311 
    6312   succeeded=no
    6313 
    6314   if test -z "$PKG_CONFIG"; then
    6315     # Extract the first word of "pkg-config", so it can be a program name with args.
    6316 set dummy pkg-config; ac_word=$2
    6317 echo "$as_me:$LINENO: checking for $ac_word" >&5
    6318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    6319 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
    6320   echo $ECHO_N "(cached) $ECHO_C" >&6
    6321 else
    6322   case $PKG_CONFIG in
    6323   [\\/]* | ?:[\\/]*)
    6324   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
    6325   ;;
    6326   *)
    6327   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6328 for as_dir in $PATH
    6329 do
    6330   IFS=$as_save_IFS
    6331   test -z "$as_dir" && as_dir=.
    6332   for ac_exec_ext in '' $ac_executable_extensions; do
    6333   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6334     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    6335     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    6336     break 2
    6337   fi
    6338 done
    6339 done
    6340 
    6341   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
    6342   ;;
    6343 esac
    6344 fi
    6345 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
    6346 
    6347 if test -n "$PKG_CONFIG"; then
    6348   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
    6349 echo "${ECHO_T}$PKG_CONFIG" >&6
    6350 else
    6351   echo "$as_me:$LINENO: result: no" >&5
    6352 echo "${ECHO_T}no" >&6
    6353 fi
    6354 
    6355   fi
    6356 
    6357   if test "$PKG_CONFIG" = "no" ; then
    6358      echo "*** The pkg-config script could not be found. Make sure it is"
    6359      echo "*** in your path, or set the PKG_CONFIG environment variable"
    6360      echo "*** to the full path to pkg-config."
    6361      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
    6362   else
    6363      PKG_CONFIG_MIN_VERSION=0.9.0
    6364      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
    6365         echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3" >&5
    6366 echo $ECHO_N "checking for gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3... $ECHO_C" >&6
    6367 
    6368         if $PKG_CONFIG --exists "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3" ; then
    6369             echo "$as_me:$LINENO: result: yes" >&5
    6370 echo "${ECHO_T}yes" >&6
    6371             succeeded=yes
    6372 
    6373             echo "$as_me:$LINENO: checking GTK2_CFLAGS" >&5
    6374 echo $ECHO_N "checking GTK2_CFLAGS... $ECHO_C" >&6
    6375             GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3"`
    6376             echo "$as_me:$LINENO: result: $GTK2_CFLAGS" >&5
    6377 echo "${ECHO_T}$GTK2_CFLAGS" >&6
    6378 
    6379             echo "$as_me:$LINENO: checking GTK2_LIBS" >&5
    6380 echo $ECHO_N "checking GTK2_LIBS... $ECHO_C" >&6
    6381             GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3"`
    6382             echo "$as_me:$LINENO: result: $GTK2_LIBS" >&5
    6383 echo "${ECHO_T}$GTK2_LIBS" >&6
    6384         else
    6385             GTK2_CFLAGS=""
    6386             GTK2_LIBS=""
    6387             ## If we have a custom action on failure, don't print errors, but
    6388             ## do set a variable so people can do so.
    6389             GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3"`
    6390 
    6391         fi
    6392 
    6393 
    6394 
    6395      else
    6396         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
    6397         echo "*** See http://www.freedesktop.org/software/pkgconfig"
    6398      fi
    6399   fi
    6400 
    6401   if test $succeeded = yes; then
    6402      have_gtk2=yes
    6403   else
    6404      have_gtk2=no
    6405   fi
    6406 
     5826PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no)
    64075827
    64085828
     
    64285848LIBS="-lpthread  $LIBS"
    64295849cat >conftest.$ac_ext <<_ACEOF
     5850#line $LINENO "configure"
    64305851/* confdefs.h.  */
    64315852_ACEOF
     
    64455866rm -f conftest.$ac_objext conftest$ac_exeext
    64465867if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6447   (eval $ac_link) 2>conftest.er1
    6448   ac_status=$?
    6449   grep -v '^ *+' conftest.er1 >conftest.err
    6450   rm -f conftest.er1
    6451   cat conftest.err >&5
     5868  (eval $ac_link) 2>&5
     5869  ac_status=$?
    64525870  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    64535871  (exit $ac_status); } &&
    6454          { ac_try='test -z "$ac_c_werror_flag"
    6455                          || test ! -s conftest.err'
     5872         { ac_try='test -s conftest$ac_exeext'
    64565873  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    64575874  (eval $ac_try) 2>&5
    64585875  ac_status=$?
    64595876  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6460   (exit $ac_status); }; } &&
    6461          { ac_try='test -s conftest$ac_exeext'
    6462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6463   (eval $ac_try) 2>&5
    6464   ac_status=$?
    6465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    64665877  (exit $ac_status); }; }; then
    64675878  ac_cv_lib_pthread_main=yes
     
    64725883ac_cv_lib_pthread_main=no
    64735884fi
    6474 rm -f conftest.err conftest.$ac_objext \
    6475       conftest$ac_exeext conftest.$ac_ext
     5885rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    64765886LIBS=$ac_check_lib_save_LIBS
    64775887fi
     
    64975907LIBS="-lm  $LIBS"
    64985908cat >conftest.$ac_ext <<_ACEOF
     5909#line $LINENO "configure"
    64995910/* confdefs.h.  */
    65005911_ACEOF
     
    65145925rm -f conftest.$ac_objext conftest$ac_exeext
    65155926if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6516   (eval $ac_link) 2>conftest.er1
    6517   ac_status=$?
    6518   grep -v '^ *+' conftest.er1 >conftest.err
    6519   rm -f conftest.er1
    6520   cat conftest.err >&5
     5927  (eval $ac_link) 2>&5
     5928  ac_status=$?
    65215929  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    65225930  (exit $ac_status); } &&
    6523          { ac_try='test -z "$ac_c_werror_flag"
    6524                          || test ! -s conftest.err'
     5931         { ac_try='test -s conftest$ac_exeext'
    65255932  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    65265933  (eval $ac_try) 2>&5
    65275934  ac_status=$?
    65285935  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6529   (exit $ac_status); }; } &&
    6530          { ac_try='test -s conftest$ac_exeext'
    6531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6532   (eval $ac_try) 2>&5
    6533   ac_status=$?
    6534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    65355936  (exit $ac_status); }; }; then
    65365937  ac_cv_lib_m_main=yes
     
    65415942ac_cv_lib_m_main=no
    65425943fi
    6543 rm -f conftest.err conftest.$ac_objext \
    6544       conftest$ac_exeext conftest.$ac_ext
     5944rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    65455945LIBS=$ac_check_lib_save_LIBS
    65465946fi
     
    65655965else
    65665966  cat >conftest.$ac_ext <<_ACEOF
     5967#line $LINENO "configure"
    65675968/* confdefs.h.  */
    65685969_ACEOF
     
    65855986rm -f conftest.$ac_objext
    65865987if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6587   (eval $ac_compile) 2>conftest.er1
    6588   ac_status=$?
    6589   grep -v '^ *+' conftest.er1 >conftest.err
    6590   rm -f conftest.er1
    6591   cat conftest.err >&5
     5988  (eval $ac_compile) 2>&5
     5989  ac_status=$?
    65925990  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    65935991  (exit $ac_status); } &&
    6594          { ac_try='test -z "$ac_c_werror_flag"
    6595                          || test ! -s conftest.err'
     5992         { ac_try='test -s conftest.$ac_objext'
    65965993  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    65975994  (eval $ac_try) 2>&5
    65985995  ac_status=$?
    65995996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6600   (exit $ac_status); }; } &&
    6601          { ac_try='test -s conftest.$ac_objext'
    6602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6603   (eval $ac_try) 2>&5
    6604   ac_status=$?
    6605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    66065997  (exit $ac_status); }; }; then
    66075998  ac_cv_header_stdc=yes
     
    66126003ac_cv_header_stdc=no
    66136004fi
    6614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6005rm -f conftest.$ac_objext conftest.$ac_ext
    66156006
    66166007if test $ac_cv_header_stdc = yes; then
    66176008  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    66186009  cat >conftest.$ac_ext <<_ACEOF
     6010#line $LINENO "configure"
    66196011/* confdefs.h.  */
    66206012_ACEOF
     
    66386030  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    66396031  cat >conftest.$ac_ext <<_ACEOF
     6032#line $LINENO "configure"
    66406033/* confdefs.h.  */
    66416034_ACEOF
     
    66626055else
    66636056  cat >conftest.$ac_ext <<_ACEOF
     6057#line $LINENO "configure"
    66646058/* confdefs.h.  */
    66656059_ACEOF
     
    66736067#else
    66746068# define ISLOWER(c) \
    6675                    (('a' <= (c) && (c) <= 'i') \
    6676                      || ('j' <= (c) && (c) <= 'r') \
    6677                      || ('s' <= (c) && (c) <= 'z'))
     6069                   (('a' <= (c) && (c) <= 'i') \
     6070                     || ('j' <= (c) && (c) <= 'r') \
     6071                     || ('s' <= (c) && (c) <= 'z'))
    66786072# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    66796073#endif
     
    66866080  for (i = 0; i < 256; i++)
    66876081    if (XOR (islower (i), ISLOWER (i))
    6688         || toupper (i) != TOUPPER (i))
     6082        || toupper (i) != TOUPPER (i))
    66896083      exit(2);
    66906084  exit (0);
     
    67116105ac_cv_header_stdc=no
    67126106fi
    6713 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6107rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    67146108fi
    67156109fi
     
    67436137echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    67446138cat >conftest.$ac_ext <<_ACEOF
     6139#line $LINENO "configure"
    67456140/* confdefs.h.  */
    67466141_ACEOF
     
    67536148rm -f conftest.$ac_objext
    67546149if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6755   (eval $ac_compile) 2>conftest.er1
    6756   ac_status=$?
    6757   grep -v '^ *+' conftest.er1 >conftest.err
    6758   rm -f conftest.er1
    6759   cat conftest.err >&5
     6150  (eval $ac_compile) 2>&5
     6151  ac_status=$?
    67606152  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    67616153  (exit $ac_status); } &&
    6762          { ac_try='test -z "$ac_c_werror_flag"
    6763                          || test ! -s conftest.err'
     6154         { ac_try='test -s conftest.$ac_objext'
    67646155  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    67656156  (eval $ac_try) 2>&5
    67666157  ac_status=$?
    67676158  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6768   (exit $ac_status); }; } &&
    6769          { ac_try='test -s conftest.$ac_objext'
    6770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6771   (eval $ac_try) 2>&5
    6772   ac_status=$?
    6773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    67746159  (exit $ac_status); }; }; then
    67756160  ac_header_compiler=yes
     
    67806165ac_header_compiler=no
    67816166fi
    6782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6167rm -f conftest.$ac_objext conftest.$ac_ext
    67836168echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    67846169echo "${ECHO_T}$ac_header_compiler" >&6
     
    67886173echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    67896174cat >conftest.$ac_ext <<_ACEOF
     6175#line $LINENO "configure"
    67906176/* confdefs.h.  */
    67916177_ACEOF
     
    68056191  if test -s conftest.err; then
    68066192    ac_cpp_err=$ac_c_preproc_warn_flag
    6807     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    68086193  else
    68096194    ac_cpp_err=
     
    68256210
    68266211# So?  What about this header?
    6827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    6828   yes:no: )
     6212case $ac_header_compiler:$ac_header_preproc in
     6213  yes:no )
    68296214    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    68306215echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6831     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6833     ac_header_preproc=yes
     6216    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6217echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6218    (
     6219      cat <<\_ASBOX
     6220## ------------------------------------ ##
     6221## Report this to bug-autoconf@gnu.org. ##
     6222## ------------------------------------ ##
     6223_ASBOX
     6224    ) |
     6225      sed "s/^/$as_me: WARNING:     /" >&2
    68346226    ;;
    6835   no:yes:* )
     6227  no:yes )
    68366228    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    68376229echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6838     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6839 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6840     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6842     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6843 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6230    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     6231echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    68446232    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    68456233echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6846     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    68486234    (
    68496235      cat <<\_ASBOX
    6850 ## ------------------------------------------- ##
    6851 ## Report this to orxonox-dev@mail.datacore.ch ##
    6852 ## ------------------------------------------- ##
     6236## ------------------------------------ ##
     6237## Report this to bug-autoconf@gnu.org. ##
     6238## ------------------------------------ ##
    68536239_ASBOX
    68546240    ) |
     
    68616247  echo $ECHO_N "(cached) $ECHO_C" >&6
    68626248else
    6863   eval "$as_ac_Header=\$ac_header_preproc"
     6249  eval "$as_ac_Header=$ac_header_preproc"
    68646250fi
    68656251echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    68846270else
    68856271  cat >conftest.$ac_ext <<_ACEOF
     6272#line $LINENO "configure"
    68866273/* confdefs.h.  */
    68876274_ACEOF
     
    69106297#endif
    69116298
    6912         struct s { _Bool s: 1; _Bool t; } s;
    6913 
    6914         char a[true == 1 ? 1 : -1];
    6915         char b[false == 0 ? 1 : -1];
    6916         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
    6917         char d[(bool) -0.5 == true ? 1 : -1];
    6918         bool e = &s;
    6919         char f[(_Bool) -0.0 == false ? 1 : -1];
    6920         char g[true];
    6921         char h[sizeof (_Bool)];
    6922         char i[sizeof s.t];
     6299        struct s { _Bool s: 1; _Bool t; } s;
     6300
     6301        char a[true == 1 ? 1 : -1];
     6302        char b[false == 0 ? 1 : -1];
     6303        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
     6304        char d[(bool) -0.5 == true ? 1 : -1];
     6305        bool e = &s;
     6306        char f[(_Bool) -0.0 == false ? 1 : -1];
     6307        char g[true];
     6308        char h[sizeof (_Bool)];
     6309        char i[sizeof s.t];
    69236310
    69246311int
     
    69326319rm -f conftest.$ac_objext
    69336320if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6934   (eval $ac_compile) 2>conftest.er1
    6935   ac_status=$?
    6936   grep -v '^ *+' conftest.er1 >conftest.err
    6937   rm -f conftest.er1
    6938   cat conftest.err >&5
     6321  (eval $ac_compile) 2>&5
     6322  ac_status=$?
    69396323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    69406324  (exit $ac_status); } &&
    6941          { ac_try='test -z "$ac_c_werror_flag"
    6942                          || test ! -s conftest.err'
     6325         { ac_try='test -s conftest.$ac_objext'
    69436326  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    69446327  (eval $ac_try) 2>&5
    69456328  ac_status=$?
    69466329  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6947   (exit $ac_status); }; } &&
    6948          { ac_try='test -s conftest.$ac_objext'
    6949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6950   (eval $ac_try) 2>&5
    6951   ac_status=$?
    6952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    69536330  (exit $ac_status); }; }; then
    69546331  ac_cv_header_stdbool_h=yes
     
    69596336ac_cv_header_stdbool_h=no
    69606337fi
    6961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6338rm -f conftest.$ac_objext conftest.$ac_ext
    69626339fi
    69636340echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
     
    69696346else
    69706347  cat >conftest.$ac_ext <<_ACEOF
     6348#line $LINENO "configure"
    69716349/* confdefs.h.  */
    69726350_ACEOF
     
    69886366rm -f conftest.$ac_objext
    69896367if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6990   (eval $ac_compile) 2>conftest.er1
    6991   ac_status=$?
    6992   grep -v '^ *+' conftest.er1 >conftest.err
    6993   rm -f conftest.er1
    6994   cat conftest.err >&5
     6368  (eval $ac_compile) 2>&5
     6369  ac_status=$?
    69956370  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    69966371  (exit $ac_status); } &&
    6997          { ac_try='test -z "$ac_c_werror_flag"
    6998                          || test ! -s conftest.err'
     6372         { ac_try='test -s conftest.$ac_objext'
    69996373  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    70006374  (eval $ac_try) 2>&5
    70016375  ac_status=$?
    70026376  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7003   (exit $ac_status); }; } &&
    7004          { ac_try='test -s conftest.$ac_objext'
    7005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7006   (eval $ac_try) 2>&5
    7007   ac_status=$?
    7008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    70096377  (exit $ac_status); }; }; then
    70106378  ac_cv_type__Bool=yes
     
    70156383ac_cv_type__Bool=no
    70166384fi
    7017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6385rm -f conftest.$ac_objext conftest.$ac_ext
    70186386fi
    70196387echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
     
    70556423echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    70566424cat >conftest.$ac_ext <<_ACEOF
     6425#line $LINENO "configure"
    70576426/* confdefs.h.  */
    70586427_ACEOF
     
    70656434rm -f conftest.$ac_objext
    70666435if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7067   (eval $ac_compile) 2>conftest.er1
    7068   ac_status=$?
    7069   grep -v '^ *+' conftest.er1 >conftest.err
    7070   rm -f conftest.er1
    7071   cat conftest.err >&5
     6436  (eval $ac_compile) 2>&5
     6437  ac_status=$?
    70726438  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    70736439  (exit $ac_status); } &&
    7074          { ac_try='test -z "$ac_c_werror_flag"
    7075                          || test ! -s conftest.err'
     6440         { ac_try='test -s conftest.$ac_objext'
    70766441  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    70776442  (eval $ac_try) 2>&5
    70786443  ac_status=$?
    70796444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7080   (exit $ac_status); }; } &&
    7081          { ac_try='test -s conftest.$ac_objext'
    7082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7083   (eval $ac_try) 2>&5
    7084   ac_status=$?
    7085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    70866445  (exit $ac_status); }; }; then
    70876446  ac_header_compiler=yes
     
    70926451ac_header_compiler=no
    70936452fi
    7094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6453rm -f conftest.$ac_objext conftest.$ac_ext
    70956454echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    70966455echo "${ECHO_T}$ac_header_compiler" >&6
     
    71006459echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    71016460cat >conftest.$ac_ext <<_ACEOF
     6461#line $LINENO "configure"
    71026462/* confdefs.h.  */
    71036463_ACEOF
     
    71176477  if test -s conftest.err; then
    71186478    ac_cpp_err=$ac_c_preproc_warn_flag
    7119     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    71206479  else
    71216480    ac_cpp_err=
     
    71376496
    71386497# So?  What about this header?
    7139 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    7140   yes:no: )
     6498case $ac_header_compiler:$ac_header_preproc in
     6499  yes:no )
    71416500    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    71426501echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7143     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7144 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7145     ac_header_preproc=yes
     6502    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6503echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6504    (
     6505      cat <<\_ASBOX
     6506## ------------------------------------ ##
     6507## Report this to bug-autoconf@gnu.org. ##
     6508## ------------------------------------ ##
     6509_ASBOX
     6510    ) |
     6511      sed "s/^/$as_me: WARNING:     /" >&2
    71466512    ;;
    7147   no:yes:* )
     6513  no:yes )
    71486514    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    71496515echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7150     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7151 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7152     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7153 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7154     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7155 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6516    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     6517echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    71566518    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    71576519echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7158     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7159 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    71606520    (
    71616521      cat <<\_ASBOX
    7162 ## ------------------------------------------- ##
    7163 ## Report this to orxonox-dev@mail.datacore.ch ##
    7164 ## ------------------------------------------- ##
     6522## ------------------------------------ ##
     6523## Report this to bug-autoconf@gnu.org. ##
     6524## ------------------------------------ ##
    71656525_ASBOX
    71666526    ) |
     
    71736533  echo $ECHO_N "(cached) $ECHO_C" >&6
    71746534else
    7175   eval "$as_ac_Header=\$ac_header_preproc"
     6535  eval "$as_ac_Header=$ac_header_preproc"
    71766536fi
    71776537echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    71976557else
    71986558  cat >conftest.$ac_ext <<_ACEOF
     6559#line $LINENO "configure"
    71996560/* confdefs.h.  */
    72006561_ACEOF
     
    72366597ac_cv_func_malloc_0_nonnull=no
    72376598fi
    7238 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6599rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    72396600fi
    72406601fi
     
    72526613_ACEOF
    72536614
    7254    case $LIBOBJS in
    7255     "malloc.$ac_objext"   | \
    7256   *" malloc.$ac_objext"   | \
    7257     "malloc.$ac_objext "* | \
    7258   *" malloc.$ac_objext "* ) ;;
    7259   *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
    7260 esac
    7261 
     6615   LIBOBJS="$LIBOBJS malloc.$ac_objext"
    72626616
    72636617cat >>confdefs.h <<\_ACEOF
     
    72806634else
    72816635  cat >conftest.$ac_ext <<_ACEOF
     6636#line $LINENO "configure"
    72826637/* confdefs.h.  */
    72836638_ACEOF
     
    72856640cat >>conftest.$ac_ext <<_ACEOF
    72866641/* end confdefs.h.  */
    7287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    7288    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7289 #define $ac_func innocuous_$ac_func
    7290 
    72916642/* System header to define __stub macros and hopefully few prototypes,
    72926643    which can conflict with char $ac_func (); below.
    72936644    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    72946645    <limits.h> exists even on freestanding compilers.  */
    7295 
    72966646#ifdef __STDC__
    72976647# include <limits.h>
     
    72996649# include <assert.h>
    73006650#endif
    7301 
    7302 #undef $ac_func
    7303 
    73046651/* Override any gcc2 internal prototype to avoid an error.  */
    73056652#ifdef __cplusplus
     
    73326679rm -f conftest.$ac_objext conftest$ac_exeext
    73336680if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7334   (eval $ac_link) 2>conftest.er1
    7335   ac_status=$?
    7336   grep -v '^ *+' conftest.er1 >conftest.err
    7337   rm -f conftest.er1
    7338   cat conftest.err >&5
     6681  (eval $ac_link) 2>&5
     6682  ac_status=$?
    73396683  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    73406684  (exit $ac_status); } &&
    7341          { ac_try='test -z "$ac_c_werror_flag"
    7342                          || test ! -s conftest.err'
     6685         { ac_try='test -s conftest$ac_exeext'
    73436686  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    73446687  (eval $ac_try) 2>&5
    73456688  ac_status=$?
    73466689  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7347   (exit $ac_status); }; } &&
    7348          { ac_try='test -s conftest$ac_exeext'
    7349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7350   (eval $ac_try) 2>&5
    7351   ac_status=$?
    7352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    73536690  (exit $ac_status); }; }; then
    73546691  eval "$as_ac_var=yes"
     
    73596696eval "$as_ac_var=no"
    73606697fi
    7361 rm -f conftest.err conftest.$ac_objext \
    7362       conftest$ac_exeext conftest.$ac_ext
     6698rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    73636699fi
    73646700echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     
    74036739      # substitution turns \\\\ into \\, and sed turns \\ into \).
    74046740      sed -n \
    7405         "s/'/'\\\\''/g;
    7406           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     6741        "s/'/'\\\\''/g;
     6742          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    74076743      ;;
    74086744    *)
    74096745      # `set' quotes correctly as required by POSIX, so do not add quotes.
    74106746      sed -n \
    7411         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     6747        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    74126748      ;;
    74136749    esac;
     
    74396775# (actually we leave an empty line to preserve line numbers).
    74406776if test "x$srcdir" = x.; then
    7441   ac_vpsub='/^[  ]*VPATH[        ]*=/{
     6777  ac_vpsub='/^[         ]*VPATH[        ]*=/{
    74426778s/:*\$(srcdir):*/:/;
    74436779s/:*\${srcdir}:*/:/;
    74446780s/:*@srcdir@:*/:/;
    7445 s/^\([^=]*=[     ]*\):*/\1/;
     6781s/^\([^=]*=[    ]*\):*/\1/;
    74466782s/:*$//;
    7447 s/^[^=]*=[       ]*$//;
     6783s/^[^=]*=[      ]*$//;
    74486784}'
    74496785fi
     
    74566792  # 1. Remove the extension, and $U if already installed.
    74576793  ac_i=`echo "$ac_i" |
    7458         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     6794        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    74596795  # 2. Add them.
    74606796  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     
    75286864  set -o posix
    75296865fi
    7530 DUALCASE=1; export DUALCASE # for MKS sh
    75316866
    75326867# Support unset when possible.
    7533 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     6868if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    75346869  as_unset=unset
    75356870else
     
    75506885  LC_TELEPHONE LC_TIME
    75516886do
    7552   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     6887  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
    75536888    eval $as_var=C; export $as_var
    75546889  else
     
    77297064  as_mkdir_p=:
    77307065else
    7731   test -d ./-p && rmdir ./-p
    77327066  as_mkdir_p=false
    77337067fi
     
    77367070
    77377071# Sed expression to map a string onto a valid CPP name.
    7738 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     7072as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    77397073
    77407074# Sed expression to map a string onto a valid variable name.
    7741 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     7075as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    77427076
    77437077
     
    77667100
    77677101This file was extended by orxonox $as_me 0.1-pre-alpha, which was
    7768 generated by GNU Autoconf 2.59.  Invocation command line was
     7102generated by GNU Autoconf 2.57.  Invocation command line was
    77697103
    77707104  CONFIG_FILES    = $CONFIG_FILES
     
    78107144      --recheck    update $as_me by reconfiguring in the same conditions
    78117145  --file=FILE[:TEMPLATE]
    7812                    instantiate the configuration file FILE
     7146                   instantiate the configuration file FILE
    78137147  --header=FILE[:TEMPLATE]
    7814                    instantiate the configuration header FILE
     7148                   instantiate the configuration header FILE
    78157149
    78167150Configuration files:
     
    78297163ac_cs_version="\\
    78307164orxonox config.status 0.1-pre-alpha
    7831 configured by $0, generated by GNU Autoconf 2.59,
     7165configured by $0, generated by GNU Autoconf 2.57,
    78327166  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    78337167
    7834 Copyright (C) 2003 Free Software Foundation, Inc.
     7168Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
     7169Free Software Foundation, Inc.
    78357170This config.status script is free software; the Free Software Foundation
    78367171gives unlimited permission to copy, distribute and modify it."
     
    80587393s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
    80597394s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
    8060 s,@mkdir_p@,$mkdir_p,;t t
    80617395s,@AWK@,$AWK,;t t
    80627396s,@SET_MAKE@,$SET_MAKE,;t t
     
    80907424s,@SDL_LIBS@,$SDL_LIBS,;t t
    80917425s,@MSBITFIELDS@,$MSBITFIELDS,;t t
    8092 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
     7426s,@GTK2_LIBS@,$GTK2_LIBS,;t t
    80937427s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t
    8094 s,@GTK2_LIBS@,$GTK2_LIBS,;t t
    80957428s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t
    80967429s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t
     
    81267459  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    81277460      if test -z "$ac_sed_cmds"; then
    8128         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     7461        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    81297462      else
    8130         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     7463        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    81317464      fi
    81327465      ac_sed_frag=`expr $ac_sed_frag + 1`
     
    81467479  case $ac_file in
    81477480  - | *:- | *:-:* ) # input from stdin
    8148         cat >$tmp/stdin
    8149         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8150         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     7481        cat >$tmp/stdin
     7482        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     7483        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    81517484  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8152         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     7485        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    81537486  * )   ac_file_in=$ac_file.in ;;
    81547487  esac
     
    81577490  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    81587491$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8159         X"$ac_file" : 'X\(//\)[^/]' \| \
    8160         X"$ac_file" : 'X\(//\)$' \| \
    8161         X"$ac_file" : 'X\(/\)' \| \
    8162         .     : '\(.\)' 2>/dev/null ||
     7492        X"$ac_file" : 'X\(//\)[^/]' \| \
     7493        X"$ac_file" : 'X\(//\)$' \| \
     7494        X"$ac_file" : 'X\(/\)' \| \
     7495        .     : '\(.\)' 2>/dev/null ||
    81637496echo X"$ac_file" |
    81647497    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    81767509      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    81777510$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8178         X"$as_dir" : 'X\(//\)[^/]' \| \
    8179         X"$as_dir" : 'X\(//\)$' \| \
    8180         X"$as_dir" : 'X\(/\)' \| \
    8181         .     : '\(.\)' 2>/dev/null ||
     7511        X"$as_dir" : 'X\(//\)[^/]' \| \
     7512        X"$as_dir" : 'X\(//\)$' \| \
     7513        X"$as_dir" : 'X\(/\)' \| \
     7514        .     : '\(.\)' 2>/dev/null ||
    81827515echo X"$as_dir" |
    81837516    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    82177550    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    82187551esac
    8219 
    8220 # Do not use `cd foo && pwd` to compute absolute paths, because
    8221 # the directories may not exist.
    8222 case `pwd` in
    8223 .) ac_abs_builddir="$ac_dir";;
    8224 *)
    8225   case "$ac_dir" in
    8226   .) ac_abs_builddir=`pwd`;;
    8227   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8228   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8229   esac;;
    8230 esac
    8231 case $ac_abs_builddir in
    8232 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8233 *)
    8234   case ${ac_top_builddir}. in
    8235   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8236   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8237   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8238   esac;;
    8239 esac
    8240 case $ac_abs_builddir in
    8241 .) ac_abs_srcdir=$ac_srcdir;;
    8242 *)
    8243   case $ac_srcdir in
    8244   .) ac_abs_srcdir=$ac_abs_builddir;;
    8245   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8246   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8247   esac;;
    8248 esac
    8249 case $ac_abs_builddir in
    8250 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8251 *)
    8252   case $ac_top_srcdir in
    8253   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8254   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8255   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8256   esac;;
    8257 esac
     7552# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     7553# absolute.
     7554ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     7555ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     7556ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     7557ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
    82587558
    82597559
     
    82777577  fi
    82787578  configure_input=$configure_input"Generated from `echo $ac_file_in |
    8279                                      sed 's,.*/,,'` by configure."
     7579                                     sed 's,.*/,,'` by configure."
    82807580
    82817581  # First look for the input files in the build tree, otherwise in the
     
    82867586      -) echo $tmp/stdin ;;
    82877587      [\\/$]*)
    8288         # Absolute (can't be DOS-style, as IFS=:)
    8289         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     7588        # Absolute (can't be DOS-style, as IFS=:)
     7589        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    82907590echo "$as_me: error: cannot find input file: $f" >&2;}
    82917591   { (exit 1); exit 1; }; }
    8292          echo "$f";;
     7592         echo $f;;
    82937593      *) # Relative
    8294         if test -f "$f"; then
    8295            # Build tree
    8296            echo "$f"
    8297         elif test -f "$srcdir/$f"; then
    8298            # Source tree
    8299            echo "$srcdir/$f"
    8300         else
    8301            # /dev/null tree
    8302            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     7594        if test -f "$f"; then
     7595           # Build tree
     7596           echo $f
     7597        elif test -f "$srcdir/$f"; then
     7598           # Source tree
     7599           echo $srcdir/$f
     7600        else
     7601           # /dev/null tree
     7602           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    83037603echo "$as_me: error: cannot find input file: $f" >&2;}
    83047604   { (exit 1); exit 1; }; }
    8305         fi;;
     7605        fi;;
    83067606      esac
    83077607    done` || { (exit 1); exit 1; }
     
    83457645#
    83467646# ac_d sets the value in "#define NAME VALUE" lines.
    8347 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
    8348 ac_dB='[         ].*$,\1#\2'
     7647ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
     7648ac_dB='[        ].*$,\1#\2'
    83497649ac_dC=' '
    83507650ac_dD=',;t'
    83517651# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    8352 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     7652ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
    83537653ac_uB='$,\1#\2define\3'
    83547654ac_uC=' '
     
    83597659  case $ac_file in
    83607660  - | *:- | *:-:* ) # input from stdin
    8361         cat >$tmp/stdin
    8362         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8363         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     7661        cat >$tmp/stdin
     7662        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     7663        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    83647664  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8365         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     7665        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    83667666  * )   ac_file_in=$ac_file.in ;;
    83677667  esac
     
    83777677      -) echo $tmp/stdin ;;
    83787678      [\\/$]*)
    8379         # Absolute (can't be DOS-style, as IFS=:)
    8380         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     7679        # Absolute (can't be DOS-style, as IFS=:)
     7680        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    83817681echo "$as_me: error: cannot find input file: $f" >&2;}
    83827682   { (exit 1); exit 1; }; }
    8383          # Do quote $f, to prevent DOS paths from being IFS'd.
    8384          echo "$f";;
     7683         echo $f;;
    83857684      *) # Relative
    8386         if test -f "$f"; then
    8387            # Build tree
    8388            echo "$f"
    8389         elif test -f "$srcdir/$f"; then
    8390            # Source tree
    8391            echo "$srcdir/$f"
    8392         else
    8393            # /dev/null tree
    8394            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     7685        if test -f "$f"; then
     7686           # Build tree
     7687           echo $f
     7688        elif test -f "$srcdir/$f"; then
     7689           # Source tree
     7690           echo $srcdir/$f
     7691        else
     7692           # /dev/null tree
     7693           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    83957694echo "$as_me: error: cannot find input file: $f" >&2;}
    83967695   { (exit 1); exit 1; }; }
    8397         fi;;
     7696        fi;;
    83987697      esac
    83997698    done` || { (exit 1); exit 1; }
    84007699  # Remove the trailing spaces.
    8401   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
     7700  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
    84027701
    84037702_ACEOF
     
    84227721t clear
    84237722: clear
    8424 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
     7723s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    84257724t end
    8426 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
     7725s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    84277726: end
    84287727_ACEOF
     
    84387737# on some systems where configure will not decide to define it.
    84397738cat >>conftest.undefs <<\_ACEOF
    8440 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
     7739s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    84417740_ACEOF
    84427741
     
    84447743# of here documents, and old seds have small limits too (100 cmds).
    84457744echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    8446 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
     7745echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    84477746echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    84487747echo '  :' >>$CONFIG_STATUS
     
    84537752  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    84547753  # Speed up: don't consider the non `#define' lines.
    8455   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
     7754  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
    84567755  # Work around the forget-to-reset-the-flag bug.
    84577756  echo 't clr' >>$CONFIG_STATUS
     
    84807779  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    84817780  # Speed up: don't consider the non `#undef'
    8482   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     7781  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    84837782  # Work around the forget-to-reset-the-flag bug.
    84847783  echo 't clr' >>$CONFIG_STATUS
     
    85147813      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    85157814$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8516         X"$ac_file" : 'X\(//\)[^/]' \| \
    8517         X"$ac_file" : 'X\(//\)$' \| \
    8518         X"$ac_file" : 'X\(/\)' \| \
    8519         .     : '\(.\)' 2>/dev/null ||
     7815        X"$ac_file" : 'X\(//\)[^/]' \| \
     7816        X"$ac_file" : 'X\(//\)$' \| \
     7817        X"$ac_file" : 'X\(/\)' \| \
     7818        .     : '\(.\)' 2>/dev/null ||
    85207819echo X"$ac_file" |
    85217820    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    85337832      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    85347833$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8535         X"$as_dir" : 'X\(//\)[^/]' \| \
    8536         X"$as_dir" : 'X\(//\)$' \| \
    8537         X"$as_dir" : 'X\(/\)' \| \
    8538         .     : '\(.\)' 2>/dev/null ||
     7834        X"$as_dir" : 'X\(//\)[^/]' \| \
     7835        X"$as_dir" : 'X\(//\)$' \| \
     7836        X"$as_dir" : 'X\(/\)' \| \
     7837        .     : '\(.\)' 2>/dev/null ||
    85397838echo X"$as_dir" |
    85407839    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    85687867echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
    85697868$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8570         X$ac_file : 'X\(//\)[^/]' \| \
    8571         X$ac_file : 'X\(//\)$' \| \
    8572         X$ac_file : 'X\(/\)' \| \
    8573         .     : '\(.\)' 2>/dev/null ||
     7869        X$ac_file : 'X\(//\)[^/]' \| \
     7870        X$ac_file : 'X\(//\)$' \| \
     7871        X$ac_file : 'X\(/\)' \| \
     7872        .     : '\(.\)' 2>/dev/null ||
    85747873echo X$ac_file |
    85757874    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    85907889  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
    85917890$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8592         X"$ac_dest" : 'X\(//\)[^/]' \| \
    8593         X"$ac_dest" : 'X\(//\)$' \| \
    8594         X"$ac_dest" : 'X\(/\)' \| \
    8595         .     : '\(.\)' 2>/dev/null ||
     7891        X"$ac_dest" : 'X\(//\)[^/]' \| \
     7892        X"$ac_dest" : 'X\(//\)$' \| \
     7893        X"$ac_dest" : 'X\(/\)' \| \
     7894        .     : '\(.\)' 2>/dev/null ||
    85967895echo X"$ac_dest" |
    85977896    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    86007899          /^X\(\/\).*/{ s//\1/; q; }
    86017900          s/.*/./; q'`
    8602   { if $as_mkdir_p; then
    8603     mkdir -p "$ac_dir"
    8604   else
    8605     as_dir="$ac_dir"
    8606     as_dirs=
    8607     while test ! -d "$as_dir"; do
    8608       as_dirs="$as_dir $as_dirs"
    8609       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    8610 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8611          X"$as_dir" : 'X\(//\)[^/]' \| \
    8612          X"$as_dir" : 'X\(//\)$' \| \
    8613          X"$as_dir" : 'X\(/\)' \| \
    8614          .     : '\(.\)' 2>/dev/null ||
    8615 echo X"$as_dir" |
    8616     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8617           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8618           /^X\(\/\/\)$/{ s//\1/; q; }
    8619           /^X\(\/\).*/{ s//\1/; q; }
    8620           s/.*/./; q'`
    8621     done
    8622     test ! -n "$as_dirs" || mkdir $as_dirs
    8623   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8624 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    8625    { (exit 1); exit 1; }; }; }
    8626 
    86277901  ac_builddir=.
    86287902
     
    86507924    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    86517925esac
    8652 
    8653 # Do not use `cd foo && pwd` to compute absolute paths, because
    8654 # the directories may not exist.
    8655 case `pwd` in
    8656 .) ac_abs_builddir="$ac_dir";;
    8657 *)
    8658   case "$ac_dir" in
    8659   .) ac_abs_builddir=`pwd`;;
    8660   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8661   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8662   esac;;
    8663 esac
    8664 case $ac_abs_builddir in
    8665 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8666 *)
    8667   case ${ac_top_builddir}. in
    8668   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8669   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8670   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8671   esac;;
    8672 esac
    8673 case $ac_abs_builddir in
    8674 .) ac_abs_srcdir=$ac_srcdir;;
    8675 *)
    8676   case $ac_srcdir in
    8677   .) ac_abs_srcdir=$ac_abs_builddir;;
    8678   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8679   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8680   esac;;
    8681 esac
    8682 case $ac_abs_builddir in
    8683 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8684 *)
    8685   case $ac_top_srcdir in
    8686   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8687   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8688   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8689   esac;;
    8690 esac
     7926# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     7927# absolute.
     7928ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     7929ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     7930ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     7931ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
    86917932
    86927933
     
    87067947    dirpart=`(dirname "$mf") 2>/dev/null ||
    87077948$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8708         X"$mf" : 'X\(//\)[^/]' \| \
    8709         X"$mf" : 'X\(//\)$' \| \
    8710         X"$mf" : 'X\(/\)' \| \
    8711         .     : '\(.\)' 2>/dev/null ||
     7949        X"$mf" : 'X\(//\)[^/]' \| \
     7950        X"$mf" : 'X\(//\)$' \| \
     7951        X"$mf" : 'X\(/\)' \| \
     7952        .     : '\(.\)' 2>/dev/null ||
    87127953echo X"$mf" |
    87137954    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    87227963  # Extract the definition of DEP_FILES from the Makefile without
    87237964  # running `make'.
    8724   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
     7965  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
    87257966  test -z "$DEPDIR" && continue
    87267967  # When using ansi2knr, U may be empty or an underscore; expand it
    8727   U=`sed -n 's/^U = //p' < "$mf"`
     7968  U=`sed -n -e '/^U = / s///p' < "$mf"`
    87287969  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
    87297970  # We invoke sed twice because it is the simplest approach to
    87307971  # changing $(DEPDIR) to its actual value in the expansion.
    8731   for file in `sed -n '
     7972  for file in `sed -n -e '
    87327973    /^DEP_FILES = .*\\\\$/ {
    87337974      s/^DEP_FILES = //
     
    87457986    fdir=`(dirname "$file") 2>/dev/null ||
    87467987$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8747         X"$file" : 'X\(//\)[^/]' \| \
    8748         X"$file" : 'X\(//\)$' \| \
    8749         X"$file" : 'X\(/\)' \| \
    8750         .     : '\(.\)' 2>/dev/null ||
     7988        X"$file" : 'X\(//\)[^/]' \| \
     7989        X"$file" : 'X\(//\)$' \| \
     7990        X"$file" : 'X\(/\)' \| \
     7991        .     : '\(.\)' 2>/dev/null ||
    87517992echo X"$file" |
    87527993    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    87648005      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    87658006$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8766         X"$as_dir" : 'X\(//\)[^/]' \| \
    8767         X"$as_dir" : 'X\(//\)$' \| \
    8768         X"$as_dir" : 'X\(/\)' \| \
    8769         .     : '\(.\)' 2>/dev/null ||
     8007        X"$as_dir" : 'X\(//\)[^/]' \| \
     8008        X"$as_dir" : 'X\(//\)$' \| \
     8009        X"$as_dir" : 'X\(/\)' \| \
     8010        .     : '\(.\)' 2>/dev/null ||
    87708011echo X"$as_dir" |
    87718012    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  • orxonox/branches/osX/configure.ac

    r2983 r2984  
    150150
    151151### OS X ###
    152  *Darwin*)
     152 *darwin*)
    153153echo "OS X detected"
    154154
     
    163163
    164164   LIBS="$LIBS -framework OpenGL"
    165 
    166 # checking for SDL-headers
    167     AC_CHECK_HEADERS(SDL/SDL.h ,,
    168       [AC_MSG_ERROR([cannot find SDL headers]) ])
    169165
    170166## checking for SDL
Note: See TracChangeset for help on using the changeset viewer.