Changeset 2984 in orxonox.OLD for orxonox/branches
- Timestamp:
- Nov 25, 2004, 1:45:48 PM (20 years ago)
- 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, 20041 # generated automatically by aclocal 1.7.6 -*- Autoconf -*- 2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 4 4 # Free Software Foundation, Inc. 5 5 # This file is free software; the Free Software Foundation … … 12 12 # PARTICULAR PURPOSE. 13 13 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 39 AC_PREREQ([2.54]) 40 41 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow 42 # the ones we care about. 43 m4_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. 56 AC_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 60 if 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]) 63 fi 64 65 # test whether we have cygpath 66 if 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 23 71 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 72 fi 73 AC_SUBST([CYGPATH_W]) 74 75 # Define the identity of the package. 76 dnl Distinguish between old-style and new-style calls. 77 m4_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. 90 AC_REQUIRE([AM_SANITY_CHECK])dnl 91 AC_REQUIRE([AC_ARG_PROGRAM])dnl 92 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 93 AM_MISSING_PROG(AUTOCONF, autoconf) 94 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 95 AM_MISSING_PROG(AUTOHEADER, autoheader) 96 AM_MISSING_PROG(MAKEINFO, makeinfo) 97 AM_MISSING_PROG(AMTAR, tar) 98 AM_PROG_INSTALL_SH 99 AM_PROG_INSTALL_STRIP 100 # We need awk for the "check" target. The system "awk" is bad on 101 # some platforms. 102 AC_REQUIRE([AC_PROG_AWK])dnl 103 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 104 AC_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 111 AC_PROVIDE_IFELSE([AC_PROG_CXX], 112 [_AM_DEPENDENCIES(CXX)], 113 [define([AC_PROG_CXX], 114 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 68 115 ]) 69 70 71 72 # Configure paths for SDL73 # Sam Lantinga 9/21/9974 # stolen from Manish Singh75 # stolen back from Frank Belew76 # stolen from Manish Singh77 # Shamelessly stolen from Owen Taylor78 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_LIBS81 dnl82 AC_DEFUN([AM_PATH_SDL],83 [dnl84 dnl Get the cflags and libraries from the sdl-config script85 dnl86 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 ; then94 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"95 if test x${SDL_CONFIG+set} != xset ; then96 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config97 fi98 fi99 if test x$sdl_prefix != x ; then100 sdl_args="$sdl_args --prefix=$sdl_prefix"101 if test x${SDL_CONFIG+set} != xset ; then102 SDL_CONFIG=$sdl_prefix/bin/sdl-config103 fi104 fi105 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" ; then113 no_sdl=yes114 else115 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" ; then125 ac_save_CFLAGS="$CFLAGS"126 ac_save_LIBS="$LIBS"127 CFLAGS="$CFLAGS $SDL_CFLAGS"128 LIBS="$LIBS $SDL_LIBS"129 dnl130 dnl Now check if the installed SDL is sufficiently new. (Also sanity131 dnl checks the results of sdl-config to some extent132 dnl133 rm -f conf.sdltest134 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 else151 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, µ) != 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 else180 {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 fi195 fi196 if test "x$no_sdl" = x ; then197 AC_MSG_RESULT(yes)198 ifelse([$2], , :, [$2])199 else200 AC_MSG_RESULT(no)201 if test "$SDL_CONFIG" = "no" ; then202 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 else207 if test -f conf.sdltest ; then208 :209 else210 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 main220 #define main K_and_R_C_main221 ], [ 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 fi238 fi239 SDL_CFLAGS=""240 SDL_LIBS=""241 ifelse([$3], , :, [$3])242 fi243 AC_SUBST(SDL_CFLAGS)244 AC_SUBST(SDL_LIBS)245 rm -f conf.sdltest246 116 ]) 247 117 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. 126 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 127 [# Compute $1's index in $config_headers. 128 _am_stamp_count=1 129 for _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 136 done 137 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 138 139 # Copyright 2002 Free Software Foundation, Inc. 251 140 252 141 # This program is free software; you can redistribute it and/or modify … … 268 157 # Automake X.Y traces this macro to ensure aclocal.m4 has been 269 158 # generated from the m4 files accompanying Automake X.Y. 270 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])159 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) 271 160 272 161 # AM_SET_CURRENT_AUTOMAKE_VERSION … … 275 164 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 276 165 AC_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 # ----------------------- 191 AC_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. 197 AC_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. 203 AC_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. 209 AC_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 # --------------- 237 AC_DEFUN([AM_SANITY_CHECK], 238 [AC_MSG_CHECKING([whether build environment is sane]) 239 # Just in case 240 sleep 1 241 echo 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). 247 if ( 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 262 alias in your environment]) 263 fi 264 265 test "$[2]" = conftest.file 266 ) 267 then 268 # Ok. 269 : 270 else 271 AC_MSG_ERROR([newly created file is older than distributed files! 272 Check your system clock]) 273 fi 274 AC_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 # ------------------------------ 300 AC_DEFUN([AM_MISSING_PROG], 301 [AC_REQUIRE([AM_MISSING_HAS_RUN]) 302 $1=${$1-"${am_missing_run}$2"} 303 AC_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. 310 AC_DEFUN([AM_MISSING_HAS_RUN], 311 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 312 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 313 # Use eval to expand $SHELL 314 if eval "$MISSING --run true"; then 315 am_missing_run="$MISSING --run " 316 else 317 am_missing_run= 318 AC_MSG_WARN([`missing' script is too old or missing]) 319 fi 320 ]) 278 321 279 322 # AM_AUX_DIR_EXPAND 280 323 281 # Copyright (C) 2001, 2003Free Software Foundation, Inc.324 # Copyright 2001 Free Software Foundation, Inc. 282 325 283 326 # This program is free software; you can redistribute it and/or modify … … 334 377 # configured tree to be moved without reconfiguration. 335 378 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. 380 AC_PREREQ([2.50]) 381 382 AC_DEFUN([AM_AUX_DIR_EXPAND], [ 339 383 # expand $ac_aux_dir to an absolute path 340 384 am_aux_dir=`cd $ac_aux_dir && pwd` 341 385 ]) 342 386 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 408 AC_DEFUN([AM_PROG_INSTALL_SH], 409 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 410 install_sh=${install_sh-"$am_aux_dir/install-sh"} 411 AC_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). 439 AC_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. 445 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 446 if test "$cross_compiling" != no; then 447 AC_CHECK_TOOL([STRIP], [strip], :) 448 fi 449 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 450 AC_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. 474 AC_DEFUN([AM_SET_LEADING_DOT], 475 [rm -rf .tst 2>/dev/null 476 mkdir .tst 2>/dev/null 477 if test -d .tst; then 478 am__leading_dot=. 376 479 else 377 $1_TRUE='#' 378 $1_FALSE= 480 am__leading_dot=_ 379 481 fi 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. 482 rmdir .tst 2>/dev/null 483 AC_SUBST([am__leading_dot])]) 484 485 # serial 5 -*- Autoconf -*- 486 487 # Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 390 488 391 489 # This program is free software; you can redistribute it and/or modify … … 471 569 for i in 1 2 3 4 5 6; do 472 570 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 476 572 done 477 573 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 501 597 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 502 598 # 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 511 602 am_cv_$1_dependencies_compiler_type=$depmode 512 603 break … … 542 633 AC_DEFUN([AM_DEP_TRACK], 543 634 [AC_ARG_ENABLE(dependency-tracking, 544 [ --disable-dependency-tracking speeds up one-time build545 --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]) 546 637 if test "x$enable_dependency_tracking" != xno; then 547 638 am_depcomp="$ac_aux_dir/depcomp" … … 554 645 # Generate code to set up dependency tracking. -*- Autoconf -*- 555 646 556 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004Free Software Foundation, Inc.647 # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 557 648 558 649 # This program is free software; you can redistribute it and/or modify … … 593 684 # Extract the definition of DEP_FILES from the Makefile without 594 685 # running `make'. 595 DEPDIR=`sed -n 's/^DEPDIR =//p' < "$mf"`686 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 596 687 test -z "$DEPDIR" && continue 597 688 # 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"` 599 690 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 600 691 # We invoke sed twice because it is the simplest approach to 601 692 # changing $(DEPDIR) to its actual value in the expansion. 602 for file in `sed -n '693 for file in `sed -n -e ' 603 694 /^DEP_FILES = .*\\\\$/ { 604 695 s/^DEP_FILES = // … … 635 726 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 636 727 ]) 637 638 # Do all the work for Automake. -*- Autoconf -*-639 640 # This macro actually does too much some checks are only needed if641 # your package does certain things. But this isn't really a big deal.642 643 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003644 # Free Software Foundation, Inc.645 646 # This program is free software; you can redistribute it and/or modify647 # it under the terms of the GNU General Public License as published by648 # 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 of653 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the654 # GNU General Public License for more details.655 656 # You should have received a copy of the GNU General Public License657 # along with this program; if not, write to the Free Software658 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA659 # 02111-1307, USA.660 661 # serial 11662 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 style667 # call (pre autoconf-2.50), which is being phased out. PACKAGE668 # and VERSION should now be passed to AC_INIT and removed from669 # the call to AM_INIT_AUTOMAKE.670 # We support both call styles for the transition. After671 # the next Automake release, Autoconf can make the AC_INIT672 # arguments mandatory, and then we can depend on a new Autoconf673 # release and drop the old call support.674 AC_DEFUN([AM_INIT_AUTOMAKE],675 [AC_PREREQ([2.58])dnl676 dnl Autoconf wants to disallow AM_ names. We explicitly allow677 dnl the ones we care about.678 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl679 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl680 AC_REQUIRE([AC_PROG_INSTALL])dnl681 # test to see if srcdir already configured682 if test "`cd $srcdir && pwd`" != "`pwd`" &&683 test -f $srcdir/config.status; then684 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])685 fi686 687 # test whether we have cygpath688 if test -z "$CYGPATH_W"; then689 if (cygpath --version) >/dev/null 2>/dev/null; then690 CYGPATH_W='cygpath -w'691 else692 CYGPATH_W=echo693 fi694 fi695 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])])dnl701 AC_SUBST([PACKAGE], [$1])dnl702 AC_SUBST([VERSION], [$2])],703 [_AM_SET_OPTIONS([$1])dnl704 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl705 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl706 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])])dnl710 711 # Some tools Automake needs.712 AC_REQUIRE([AM_SANITY_CHECK])dnl713 AC_REQUIRE([AC_ARG_PROGRAM])dnl714 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_SH721 AM_PROG_INSTALL_STRIP722 AC_REQUIRE([AM_PROG_MKDIR_P])dnl723 # We need awk for the "check" target. The system "awk" is bad on724 # some platforms.725 AC_REQUIRE([AC_PROG_AWK])dnl726 AC_REQUIRE([AC_PROG_MAKE_SET])dnl727 AC_REQUIRE([AM_SET_LEADING_DOT])dnl728 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)])])dnl734 AC_PROVIDE_IFELSE([AC_PROG_CXX],735 [_AM_DEPENDENCIES(CXX)],736 [define([AC_PROG_CXX],737 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl738 ])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 header744 # that is generated. The stamp files are numbered to have different names.745 746 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the747 # loop where config.status creates the headers, so we can generate748 # our stamp files there.749 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],750 [# Compute $1's index in $config_headers.751 _am_stamp_count=1752 for _am_header in $config_headers :; do753 case $_am_header in754 $1 | $1:* )755 break ;;756 * )757 _am_stamp_count=`expr $_am_stamp_count + 1` ;;758 esac759 done760 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])761 762 # AM_PROG_INSTALL_SH763 # ------------------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 modify769 # it under the terms of the GNU General Public License as published by770 # 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 of775 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the776 # GNU General Public License for more details.777 778 # You should have received a copy of the GNU General Public License779 # along with this program; if not, write to the Free Software780 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA781 # 02111-1307, USA.782 783 AC_DEFUN([AM_PROG_INSTALL_SH],784 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl785 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 modify792 # it under the terms of the GNU General Public License as published by793 # 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 of798 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the799 # GNU General Public License for more details.800 801 # You should have received a copy of the GNU General Public License802 # along with this program; if not, write to the Free Software803 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA804 # 02111-1307, USA.805 806 # serial 1807 808 # Check whether the underlying file-system supports filenames809 # with a leading dot. For instance MS-DOS doesn't.810 AC_DEFUN([AM_SET_LEADING_DOT],811 [rm -rf .tst 2>/dev/null812 mkdir .tst 2>/dev/null813 if test -d .tst; then814 am__leading_dot=.815 else816 am__leading_dot=_817 fi818 rmdir .tst 2>/dev/null819 AC_SUBST([am__leading_dot])])820 728 821 729 # Check to see how 'make' treats includes. -*- Autoconf -*- … … 882 790 ]) 883 791 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 813 AC_PREREQ(2.52) 814 815 # AM_CONDITIONAL(NAME, SHELL-CONDITION) 816 # ------------------------------------- 817 # Define a conditional. 818 AC_DEFUN([AM_CONDITIONAL], 819 [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 820 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 821 AC_SUBST([$1_TRUE]) 822 AC_SUBST([$1_FALSE]) 823 if $2; then 824 $1_TRUE= 825 $1_FALSE='#' 924 826 else 925 am_missing_run=926 AC_MSG_WARN([`missing' script is too old or missing])827 $1_TRUE='#' 828 $1_FALSE= 927 829 fi 830 AC_CONFIG_COMMANDS_PRE( 831 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 832 AC_MSG_ERROR([conditional "$1" was never defined. 833 Usually this means the macro was only invoked conditionally.]) 834 fi])]) 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 843 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) 844 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS 845 dnl 846 AC_DEFUN([AM_PATH_SDL], 847 [dnl 848 dnl Get the cflags and libraries from the sdl-config script 849 dnl 850 AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)], 851 sdl_prefix="$withval", sdl_prefix="") 852 AC_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="") 854 AC_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" 893 dnl 894 dnl Now check if the installed SDL is sufficiently new. (Also sanity 895 dnl checks the results of sdl-config to some extent 896 dnl 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 904 char* 905 my_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 920 int 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, µ) != 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 981 int 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 928 1010 ]) 929 1011 930 # AM_PROG_MKDIR_P931 # ---------------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 modify937 # it under the terms of the GNU General Public License as published by938 # 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 of943 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the944 # GNU General Public License for more details.945 946 # You should have received a copy of the GNU General Public License947 # along with this program; if not, write to the Free Software948 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA949 # 02111-1307, USA.950 951 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories952 # created by `make install' are always world readable, even if the953 # 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 not955 # 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 by960 # 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 a964 # 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 only966 # one can create it and the other will error out. Consequently we967 # restrict ourselves to GNU make (using the --version option ensures968 # this.)969 AC_DEFUN([AM_PROG_MKDIR_P],970 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then971 # Keeping the `.' argument allows $(mkdir_p) to be used without972 # argument. Indeed, we sometimes output rules like973 # $(mkdir_p) $(somedir)974 # where $(somedir) is conditionally defined.975 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more976 # expensive solution, as it forces Make to start a sub-shell.)977 mkdir_p='mkdir -p -- .'978 else979 # On NextStep and OpenStep, the `mkdir' command does not980 # recognize any option. It will interpret all options as981 # directories to create, and then abort because `.' already982 # exists.983 for d in ./-p ./--version;984 do985 test -d $d && rmdir $d986 done987 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.988 if test -f "$ac_aux_dir/mkinstalldirs"; then989 mkdir_p='$(mkinstalldirs)'990 else991 mkdir_p='$(install_sh) -d'992 fi993 fi994 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 modify1001 # it under the terms of the GNU General Public License as published by1002 # 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 of1007 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1008 # GNU General Public License for more details.1009 1010 # You should have received a copy of the GNU General Public License1011 # along with this program; if not, write to the Free Software1012 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA1013 # 02111-1307, USA.1014 1015 # serial 21016 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 modify1047 # it under the terms of the GNU General Public License as published by1048 # 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 of1053 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1054 # GNU General Public License for more details.1055 1056 # You should have received a copy of the GNU General Public License1057 # along with this program; if not, write to the Free Software1058 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA1059 # 02111-1307, USA.1060 1061 # serial 31062 1063 # AM_SANITY_CHECK1064 # ---------------1065 AC_DEFUN([AM_SANITY_CHECK],1066 [AC_MSG_CHECKING([whether build environment is sane])1067 # Just in case1068 sleep 11069 echo timestamp > conftest.file1070 # Do `set' in a subshell so we don't clobber the current shell's1071 # arguments. Must try -L first in case configure is actually a1072 # symlink; some systems play weird games with the mod time of symlinks1073 # (eg FreeBSD returns the mod time of the symlink's containing1074 # directory).1075 if (1076 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`1077 if test "$[*]" = "X"; then1078 # -L didn't work.1079 set X `ls -t $srcdir/configure conftest.file`1080 fi1081 rm -f conftest.file1082 if test "$[*]" != "X $srcdir/configure conftest.file" \1083 && test "$[*]" != "X conftest.file $srcdir/configure"; then1084 1085 # If neither matched, then we have a broken ls. This can happen1086 # if, for instance, CONFIG_SHELL is bash and it inherits a1087 # broken ls alias from the environment. This has actually1088 # happened. Such a system could not be considered "sane".1089 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken1090 alias in your environment])1091 fi1092 1093 test "$[2]" = conftest.file1094 )1095 then1096 # Ok.1097 :1098 else1099 AC_MSG_ERROR([newly created file is older than distributed files!1100 Check your system clock])1101 fi1102 AC_MSG_RESULT(yes)])1103 1104 # AM_PROG_INSTALL_STRIP1105 1106 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.1107 1108 # This program is free software; you can redistribute it and/or modify1109 # it under the terms of the GNU General Public License as published by1110 # 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 of1115 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1116 # GNU General Public License for more details.1117 1118 # You should have received a copy of the GNU General Public License1119 # along with this program; if not, write to the Free Software1120 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA1121 # 02111-1307, USA.1122 1123 # One issue with vendor `install' (even GNU) is that you can't1124 # specify the program used to strip binaries. This is especially1125 # annoying in cross-compiling environments, where the build's strip1126 # is unlikely to handle the host's binaries.1127 # Fortunately install-sh will honor a STRIPPROG variable, so we1128 # always use install-sh in `make install-strip', and initialize1129 # 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])dnl1132 # Installed binaries are usually stripped using `strip' when the user1133 # run `make install-strip'. However `strip' might not be the right1134 # tool to use in cross-compilation environments, therefore Automake1135 # 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; then1138 AC_CHECK_TOOL([STRIP], [strip], :)1139 fi1140 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"1141 AC_SUBST([INSTALL_STRIP_PROGRAM])])1142 -
orxonox/branches/osX/configure
r2983 r2984 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.5 9for orxonox 0.1-pre-alpha.3 # Generated by GNU Autoconf 2.57 for orxonox 0.1-pre-alpha. 4 4 # 5 5 # Report bugs to <orxonox-dev@mail.datacore.ch>. 6 6 # 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. 8 9 # This configure script is free software; the Free Software Foundation 9 10 # gives unlimited permission to copy, distribute and modify it. … … 22 23 set -o posix 23 24 fi 24 DUALCASE=1; export DUALCASE # for MKS sh25 25 26 26 # Support unset when possible. 27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 28 28 as_unset=unset 29 29 else … … 44 44 LC_TELEPHONE LC_TIME 45 45 do 46 if (set +x; test - z"`(eval $as_var=C; export $as_var) 2>&1`"); then46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 47 47 eval $as_var=C; export $as_var 48 48 else … … 221 221 as_mkdir_p=: 222 222 else 223 test -d ./-p && rmdir ./-p224 223 as_mkdir_p=false 225 224 fi … … 228 227 229 228 # 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'"229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 231 230 232 231 # Sed expression to map a string onto a valid variable name. 233 as_tr_sh=" eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 234 233 235 234 … … 312 311 #endif" 313 312 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'313 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 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' 315 314 ac_subst_files='' 316 315 … … 671 670 # Be sure to have absolute paths. 672 671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 672 localstatedir libdir includedir oldincludedir infodir mandir 674 673 do 675 674 eval ac_val=$`echo $ac_var` … … 711 710 ac_confdir=`(dirname "$0") 2>/dev/null || 712 711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 714 715 716 712 X"$0" : 'X\(//\)[^/]' \| \ 713 X"$0" : 'X\(//\)$' \| \ 714 X"$0" : 'X\(/\)' \| \ 715 . : '\(.\)' 2>/dev/null || 717 716 echo X"$0" | 718 717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 814 813 Installation directories: 815 814 --prefix=PREFIX install architecture-independent files in PREFIX 816 815 [$ac_default_prefix] 817 816 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 818 817 [PREFIX] 819 818 820 819 By default, \`make install' will install all the files in … … 863 862 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 864 863 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 865 --disable-dependency-tracking speeds up one-time build866 --enable-dependency-tracking do not reject slow dependency extractors864 --disable-dependency-tracking Speeds up one-time builds 865 --enable-dependency-tracking Do not reject slow dependency extractors 867 866 --disable-sdltest Do not try to compile and run a test SDL program 868 867 … … 921 920 ac_top_srcdir=$ac_top_builddir$srcdir ;; 922 921 esac 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. 924 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 925 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 926 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 927 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 962 928 963 929 cd $ac_dir … … 970 936 $SHELL $ac_srcdir/configure --help=recursive 971 937 elif test -f $ac_srcdir/configure.ac || 972 938 test -f $ac_srcdir/configure.in; then 973 939 echo 974 940 $ac_configure --help … … 984 950 cat <<\_ACEOF 985 951 orxonox configure 0.1-pre-alpha 986 generated by GNU Autoconf 2.59 987 988 Copyright (C) 2003 Free Software Foundation, Inc. 952 generated by GNU Autoconf 2.57 953 954 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 955 Free Software Foundation, Inc. 989 956 This configure script is free software; the Free Software Foundation 990 957 gives unlimited permission to copy, distribute and modify it. … … 998 965 999 966 It was created by orxonox $as_me 0.1-pre-alpha, which was 1000 generated by GNU Autoconf 2.5 9. Invocation command line was967 generated by GNU Autoconf 2.57. Invocation command line was 1001 968 1002 969 $ $0 $@ … … 1075 1042 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1076 1043 if test $ac_must_keep_next = true; then 1077 1044 ac_must_keep_next=false # Got value, back to normal. 1078 1045 else 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 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 1090 1057 fi 1091 1058 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" … … 1121 1088 *ac_space=\ *) 1122 1089 sed -n \ 1123 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" 1125 1092 ;; 1126 1093 *) 1127 1094 sed -n \ 1128 1095 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1129 1096 ;; 1130 1097 esac; … … 1155 1122 do 1156 1123 eval ac_val=$`echo $ac_var` 1157 1124 echo "$ac_var='"'"'$ac_val'"'"'" 1158 1125 done | sort 1159 1126 echo … … 1174 1141 echo "$as_me: exit $exit_status" 1175 1142 } >&5 1176 rm -f core *.core &&1143 rm -f core core.* *.core && 1177 1144 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1178 1145 exit $exit_status … … 1254 1221 ac_cache_corrupted=false 1255 1222 for ac_var in `(set) 2>&1 | 1256 1223 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1257 1224 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1258 1225 eval ac_new_set=\$ac_env_${ac_var}_set … … 1271 1238 *) 1272 1239 if test "x$ac_old_val" != "x$ac_new_val"; then 1273 1240 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1274 1241 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1275 1242 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1276 1243 echo "$as_me: former value: $ac_old_val" >&2;} 1277 1244 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1278 1245 echo "$as_me: current value: $ac_new_val" >&2;} 1279 1246 ac_cache_corrupted=: 1280 1247 fi;; 1281 1248 esac … … 1444 1411 1445 1412 1446 am__api_version="1. 8"1413 am__api_version="1.7" 1447 1414 # Find a good install program. We prefer a C program (faster), 1448 1415 # so one script is as good as another. But avoid the broken or … … 1456 1423 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1457 1424 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1458 # OS/2's system install, which has a completely different semantic1459 1425 # ./install, which can be erroneously created by make from ./install.sh. 1460 1426 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 … … 1473 1439 ./ | .// | /cC/* | \ 1474 1440 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1475 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \1476 1441 /usr/ucb/* ) ;; 1477 1442 *) … … 1481 1446 for ac_prog in ginstall scoinst install; do 1482 1447 for ac_exec_ext in '' $ac_executable_extensions; do 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 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 1497 1462 done 1498 1463 done … … 1582 1547 rm conftest.sed 1583 1548 1549 1584 1550 # expand $ac_aux_dir to an absolute path 1585 1551 am_aux_dir=`cd $ac_aux_dir && pwd` … … 1593 1559 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1594 1560 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1595 fi1596 1597 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then1598 # Keeping the `.' argument allows $(mkdir_p) to be used without1599 # argument. Indeed, we sometimes output rules like1600 # $(mkdir_p) $(somedir)1601 # where $(somedir) is conditionally defined.1602 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more1603 # expensive solution, as it forces Make to start a sub-shell.)1604 mkdir_p='mkdir -p -- .'1605 else1606 # On NextStep and OpenStep, the `mkdir' command does not1607 # recognize any option. It will interpret all options as1608 # directories to create, and then abort because `.' already1609 # exists.1610 for d in ./-p ./--version;1611 do1612 test -d $d && rmdir $d1613 done1614 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.1615 if test -f "$ac_aux_dir/mkinstalldirs"; then1616 mkdir_p='$(mkinstalldirs)'1617 else1618 mkdir_p='$(install_sh) -d'1619 fi1620 1561 fi 1621 1562 … … 1662 1603 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1663 1604 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1664 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y, :./+-,___p_,'`1605 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1665 1606 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1666 1607 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1698 1639 rmdir .tst 2>/dev/null 1699 1640 1700 # test to see if srcdir already configured1641 # test to see if srcdir already configured 1701 1642 if test "`cd $srcdir && pwd`" != "`pwd`" && 1702 1643 test -f $srcdir/config.status; then … … 1965 1906 1966 1907 cat >conftest.$ac_ext <<_ACEOF 1908 #line $LINENO "configure" 1967 1909 /* confdefs.h. */ 1968 1910 _ACEOF … … 1984 1926 # It will help us diagnose broken compilers, and finding out an intuition 1985 1927 # of exeext. 1986 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&51987 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&61928 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5 1929 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 1988 1930 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1989 1931 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 … … 2005 1947 case $ac_file in 2006 1948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2007 1949 ;; 2008 1950 conftest.$ac_ext ) 2009 2010 1951 # This is the source file. 1952 ;; 2011 1953 [ab].out ) 2012 2013 2014 1954 # We found the default executable, but exeext='' is most 1955 # certainly right. 1956 break;; 2015 1957 *.* ) 2016 2017 2018 2019 2020 2021 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;; 2022 1964 * ) 2023 1965 break;; 2024 1966 esac 2025 1967 done … … 2095 2037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2096 2038 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2097 2098 2039 export ac_cv_exeext 2040 break;; 2099 2041 * ) break;; 2100 2042 esac … … 2121 2063 else 2122 2064 cat >conftest.$ac_ext <<_ACEOF 2065 #line $LINENO "configure" 2123 2066 /* confdefs.h. */ 2124 2067 _ACEOF … … 2171 2114 else 2172 2115 cat >conftest.$ac_ext <<_ACEOF 2116 #line $LINENO "configure" 2173 2117 /* confdefs.h. */ 2174 2118 _ACEOF … … 2190 2134 rm -f conftest.$ac_objext 2191 2135 if { (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=$? 2197 2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2198 2139 (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' 2201 2141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2202 2142 (eval $ac_try) 2>&5 2203 2143 ac_status=$? 2204 2144 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\"") >&52208 (eval $ac_try) 2>&52209 ac_status=$?2210 echo "$as_me:$LINENO: \$? = $ac_status" >&52211 2145 (exit $ac_status); }; }; then 2212 2146 ac_compiler_gnu=yes … … 2217 2151 ac_compiler_gnu=no 2218 2152 fi 2219 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2153 rm -f conftest.$ac_objext conftest.$ac_ext 2220 2154 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2221 2155 … … 2233 2167 else 2234 2168 cat >conftest.$ac_ext <<_ACEOF 2169 #line $LINENO "configure" 2235 2170 /* confdefs.h. */ 2236 2171 _ACEOF … … 2249 2184 rm -f conftest.$ac_objext 2250 2185 if { (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=$? 2256 2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2257 2189 (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' 2260 2191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2261 2192 (eval $ac_try) 2>&5 2262 2193 ac_status=$? 2263 2194 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\"") >&52267 (eval $ac_try) 2>&52268 ac_status=$?2269 echo "$as_me:$LINENO: \$? = $ac_status" >&52270 2195 (exit $ac_status); }; }; then 2271 2196 ac_cv_prog_cxx_g=yes … … 2276 2201 ac_cv_prog_cxx_g=no 2277 2202 fi 2278 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2203 rm -f conftest.$ac_objext conftest.$ac_ext 2279 2204 fi 2280 2205 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 … … 2296 2221 fi 2297 2222 for ac_declaration in \ 2298 '' \ 2223 ''\ 2224 '#include <stdlib.h>' \ 2299 2225 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2300 2226 'extern "C" void std::exit (int); using std::exit;' \ … … 2304 2230 do 2305 2231 cat >conftest.$ac_ext <<_ACEOF 2232 #line $LINENO "configure" 2306 2233 /* confdefs.h. */ 2307 2234 _ACEOF … … 2309 2236 cat >>conftest.$ac_ext <<_ACEOF 2310 2237 /* end confdefs.h. */ 2238 #include <stdlib.h> 2311 2239 $ac_declaration 2312 #include <stdlib.h>2313 2240 int 2314 2241 main () … … 2321 2248 rm -f conftest.$ac_objext 2322 2249 if { (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=$? 2328 2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2329 2253 (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' 2332 2255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2333 2256 (eval $ac_try) 2>&5 2334 2257 ac_status=$? 2335 2258 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\"") >&52339 (eval $ac_try) 2>&52340 ac_status=$?2341 echo "$as_me:$LINENO: \$? = $ac_status" >&52342 2259 (exit $ac_status); }; }; then 2343 2260 : … … 2348 2265 continue 2349 2266 fi 2350 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2267 rm -f conftest.$ac_objext conftest.$ac_ext 2351 2268 cat >conftest.$ac_ext <<_ACEOF 2269 #line $LINENO "configure" 2352 2270 /* confdefs.h. */ 2353 2271 _ACEOF … … 2366 2284 rm -f conftest.$ac_objext 2367 2285 if { (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=$? 2373 2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2374 2289 (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' 2377 2291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2378 2292 (eval $ac_try) 2>&5 2379 2293 ac_status=$? 2380 2294 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\"") >&52384 (eval $ac_try) 2>&52385 ac_status=$?2386 echo "$as_me:$LINENO: \$? = $ac_status" >&52387 2295 (exit $ac_status); }; }; then 2388 2296 break … … 2392 2300 2393 2301 fi 2394 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2302 rm -f conftest.$ac_objext conftest.$ac_ext 2395 2303 done 2396 2304 rm -f conftest* … … 2513 2421 for i in 1 2 3 4 5 6; do 2514 2422 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 2518 2424 done 2519 2425 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 2543 2449 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2544 2450 # 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 2553 2454 am_cv_CXX_dependencies_compiler_type=$depmode 2554 2455 break … … 2922 2823 else 2923 2824 cat >conftest.$ac_ext <<_ACEOF 2825 #line $LINENO "configure" 2924 2826 /* confdefs.h. */ 2925 2827 _ACEOF … … 2941 2843 rm -f conftest.$ac_objext 2942 2844 if { (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=$? 2948 2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2949 2848 (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' 2952 2850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2953 2851 (eval $ac_try) 2>&5 2954 2852 ac_status=$? 2955 2853 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\"") >&52959 (eval $ac_try) 2>&52960 ac_status=$?2961 echo "$as_me:$LINENO: \$? = $ac_status" >&52962 2854 (exit $ac_status); }; }; then 2963 2855 ac_compiler_gnu=yes … … 2968 2860 ac_compiler_gnu=no 2969 2861 fi 2970 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2862 rm -f conftest.$ac_objext conftest.$ac_ext 2971 2863 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2972 2864 … … 2984 2876 else 2985 2877 cat >conftest.$ac_ext <<_ACEOF 2878 #line $LINENO "configure" 2986 2879 /* confdefs.h. */ 2987 2880 _ACEOF … … 3000 2893 rm -f conftest.$ac_objext 3001 2894 if { (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=$? 3007 2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3008 2898 (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' 3011 2900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3012 2901 (eval $ac_try) 2>&5 3013 2902 ac_status=$? 3014 2903 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\"") >&53018 (eval $ac_try) 2>&53019 ac_status=$?3020 echo "$as_me:$LINENO: \$? = $ac_status" >&53021 2904 (exit $ac_status); }; }; then 3022 2905 ac_cv_prog_cc_g=yes … … 3027 2910 ac_cv_prog_cc_g=no 3028 2911 fi 3029 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2912 rm -f conftest.$ac_objext conftest.$ac_ext 3030 2913 fi 3031 2914 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 … … 3054 2937 ac_save_CC=$CC 3055 2938 cat >conftest.$ac_ext <<_ACEOF 2939 #line $LINENO "configure" 3056 2940 /* confdefs.h. */ 3057 2941 _ACEOF … … 3081 2965 return s; 3082 2966 } 3083 3084 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has3085 function prototypes and stuff, but not '\xHH' hex character constants.3086 These don't provoke an error unfortunately, instead are silently treated3087 as 'x'. The following induces an error, until -std1 is added to get3088 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an3089 array size at least. It's necessary to write '\x00'==0 to get something3090 that's true only with -std1. */3091 int osf4_cc_array ['\x00' == 0 ? 1 : -1];3092 3093 2967 int test (int i, double x); 3094 2968 struct s1 {int (*f) (int a);}; … … 3117 2991 rm -f conftest.$ac_objext 3118 2992 if { (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=$? 3124 2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3125 2996 (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' 3134 2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3135 2999 (eval $ac_try) 2>&5 … … 3144 3008 3145 3009 fi 3146 rm -f conftest. err conftest.$ac_objext3010 rm -f conftest.$ac_objext 3147 3011 done 3148 3012 rm -f conftest.$ac_ext conftest.$ac_objext … … 3172 3036 rm -f conftest.$ac_objext 3173 3037 if { (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=$? 3179 3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3180 3041 (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' 3183 3043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3184 3044 (eval $ac_try) 2>&5 3185 3045 ac_status=$? 3186 3046 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\"") >&53190 (eval $ac_try) 2>&53191 ac_status=$?3192 echo "$as_me:$LINENO: \$? = $ac_status" >&53193 3047 (exit $ac_status); }; }; then 3194 3048 for ac_declaration in \ 3195 '' \ 3049 ''\ 3050 '#include <stdlib.h>' \ 3196 3051 'extern "C" void std::exit (int) throw (); using std::exit;' \ 3197 3052 'extern "C" void std::exit (int); using std::exit;' \ … … 3201 3056 do 3202 3057 cat >conftest.$ac_ext <<_ACEOF 3058 #line $LINENO "configure" 3203 3059 /* confdefs.h. */ 3204 3060 _ACEOF … … 3206 3062 cat >>conftest.$ac_ext <<_ACEOF 3207 3063 /* end confdefs.h. */ 3064 #include <stdlib.h> 3208 3065 $ac_declaration 3209 #include <stdlib.h>3210 3066 int 3211 3067 main () … … 3218 3074 rm -f conftest.$ac_objext 3219 3075 if { (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=$? 3225 3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3226 3079 (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' 3229 3081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3230 3082 (eval $ac_try) 2>&5 3231 3083 ac_status=$? 3232 3084 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\"") >&53236 (eval $ac_try) 2>&53237 ac_status=$?3238 echo "$as_me:$LINENO: \$? = $ac_status" >&53239 3085 (exit $ac_status); }; }; then 3240 3086 : … … 3245 3091 continue 3246 3092 fi 3247 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext3093 rm -f conftest.$ac_objext conftest.$ac_ext 3248 3094 cat >conftest.$ac_ext <<_ACEOF 3095 #line $LINENO "configure" 3249 3096 /* confdefs.h. */ 3250 3097 _ACEOF … … 3263 3110 rm -f conftest.$ac_objext 3264 3111 if { (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=$? 3270 3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3271 3115 (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' 3274 3117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3275 3118 (eval $ac_try) 2>&5 3276 3119 ac_status=$? 3277 3120 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\"") >&53281 (eval $ac_try) 2>&53282 ac_status=$?3283 echo "$as_me:$LINENO: \$? = $ac_status" >&53284 3121 (exit $ac_status); }; }; then 3285 3122 break … … 3289 3126 3290 3127 fi 3291 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext3128 rm -f conftest.$ac_objext conftest.$ac_ext 3292 3129 done 3293 3130 rm -f conftest* … … 3303 3140 3304 3141 fi 3305 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext3142 rm -f conftest.$ac_objext conftest.$ac_ext 3306 3143 ac_ext=c 3307 3144 ac_cpp='$CPP $CPPFLAGS' … … 3351 3188 for i in 1 2 3 4 5 6; do 3352 3189 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 3356 3191 done 3357 3192 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 3381 3216 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3382 3217 # 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 3391 3221 am_cv_CC_dependencies_compiler_type=$depmode 3392 3222 break … … 3448 3278 # not just through cpp. "Syntax error" is here to catch this case. 3449 3279 cat >conftest.$ac_ext <<_ACEOF 3280 #line $LINENO "configure" 3450 3281 /* confdefs.h. */ 3451 3282 _ACEOF … … 3458 3289 # include <assert.h> 3459 3290 #endif 3460 3291 Syntax error 3461 3292 _ACEOF 3462 3293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 3470 3301 if test -s conftest.err; then 3471 3302 ac_cpp_err=$ac_c_preproc_warn_flag 3472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3473 3303 else 3474 3304 ac_cpp_err= … … 3491 3321 # can be detected and how. 3492 3322 cat >conftest.$ac_ext <<_ACEOF 3323 #line $LINENO "configure" 3493 3324 /* confdefs.h. */ 3494 3325 _ACEOF … … 3508 3339 if test -s conftest.err; then 3509 3340 ac_cpp_err=$ac_c_preproc_warn_flag 3510 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3511 3341 else 3512 3342 ac_cpp_err= … … 3555 3385 # not just through cpp. "Syntax error" is here to catch this case. 3556 3386 cat >conftest.$ac_ext <<_ACEOF 3387 #line $LINENO "configure" 3557 3388 /* confdefs.h. */ 3558 3389 _ACEOF … … 3565 3396 # include <assert.h> 3566 3397 #endif 3567 3398 Syntax error 3568 3399 _ACEOF 3569 3400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 3577 3408 if test -s conftest.err; then 3578 3409 ac_cpp_err=$ac_c_preproc_warn_flag 3579 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3580 3410 else 3581 3411 ac_cpp_err= … … 3598 3428 # can be detected and how. 3599 3429 cat >conftest.$ac_ext <<_ACEOF 3430 #line $LINENO "configure" 3600 3431 /* confdefs.h. */ 3601 3432 _ACEOF … … 3615 3446 if test -s conftest.err; then 3616 3447 ac_cpp_err=$ac_c_preproc_warn_flag 3617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3618 3448 else 3619 3449 ac_cpp_err= … … 3676 3506 else 3677 3507 cat >conftest.$ac_ext <<_ACEOF 3508 #line $LINENO "configure" 3678 3509 /* confdefs.h. */ 3679 3510 _ACEOF … … 3696 3527 rm -f conftest.$ac_objext 3697 3528 if { (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=$? 3703 3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3704 3532 (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' 3707 3534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3708 3535 (eval $ac_try) 2>&5 3709 3536 ac_status=$? 3710 3537 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\"") >&53714 (eval $ac_try) 2>&53715 ac_status=$?3716 echo "$as_me:$LINENO: \$? = $ac_status" >&53717 3538 (exit $ac_status); }; }; then 3718 3539 ac_cv_header_stdc=yes … … 3723 3544 ac_cv_header_stdc=no 3724 3545 fi 3725 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext3546 rm -f conftest.$ac_objext conftest.$ac_ext 3726 3547 3727 3548 if test $ac_cv_header_stdc = yes; then 3728 3549 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3729 3550 cat >conftest.$ac_ext <<_ACEOF 3551 #line $LINENO "configure" 3730 3552 /* confdefs.h. */ 3731 3553 _ACEOF … … 3749 3571 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3750 3572 cat >conftest.$ac_ext <<_ACEOF 3573 #line $LINENO "configure" 3751 3574 /* confdefs.h. */ 3752 3575 _ACEOF … … 3773 3596 else 3774 3597 cat >conftest.$ac_ext <<_ACEOF 3598 #line $LINENO "configure" 3775 3599 /* confdefs.h. */ 3776 3600 _ACEOF … … 3784 3608 #else 3785 3609 # define ISLOWER(c) \ 3786 3787 3788 3610 (('a' <= (c) && (c) <= 'i') \ 3611 || ('j' <= (c) && (c) <= 'r') \ 3612 || ('s' <= (c) && (c) <= 'z')) 3789 3613 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3790 3614 #endif … … 3797 3621 for (i = 0; i < 256; i++) 3798 3622 if (XOR (islower (i), ISLOWER (i)) 3799 3623 || toupper (i) != TOUPPER (i)) 3800 3624 exit(2); 3801 3625 exit (0); … … 3822 3646 ac_cv_header_stdc=no 3823 3647 fi 3824 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext3648 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3825 3649 fi 3826 3650 fi … … 3866 3690 3867 3691 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3868 3692 inttypes.h stdint.h unistd.h 3869 3693 do 3870 3694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 3875 3699 else 3876 3700 cat >conftest.$ac_ext <<_ACEOF 3701 #line $LINENO "configure" 3877 3702 /* confdefs.h. */ 3878 3703 _ACEOF … … 3886 3711 rm -f conftest.$ac_objext 3887 3712 if { (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=$? 3893 3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3894 3716 (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' 3897 3718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3898 3719 (eval $ac_try) 2>&5 3899 3720 ac_status=$? 3900 3721 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\"") >&53904 (eval $ac_try) 2>&53905 ac_status=$?3906 echo "$as_me:$LINENO: \$? = $ac_status" >&53907 3722 (exit $ac_status); }; }; then 3908 3723 eval "$as_ac_Header=yes" … … 3913 3728 eval "$as_ac_Header=no" 3914 3729 fi 3915 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext3730 rm -f conftest.$ac_objext conftest.$ac_ext 3916 3731 fi 3917 3732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 3944 3759 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3945 3760 cat >conftest.$ac_ext <<_ACEOF 3761 #line $LINENO "configure" 3946 3762 /* confdefs.h. */ 3947 3763 _ACEOF … … 3954 3770 rm -f conftest.$ac_objext 3955 3771 if { (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=$? 3961 3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3962 3775 (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' 3965 3777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3966 3778 (eval $ac_try) 2>&5 3967 3779 ac_status=$? 3968 3780 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\"") >&53972 (eval $ac_try) 2>&53973 ac_status=$?3974 echo "$as_me:$LINENO: \$? = $ac_status" >&53975 3781 (exit $ac_status); }; }; then 3976 3782 ac_header_compiler=yes … … 3981 3787 ac_header_compiler=no 3982 3788 fi 3983 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext3789 rm -f conftest.$ac_objext conftest.$ac_ext 3984 3790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3985 3791 echo "${ECHO_T}$ac_header_compiler" >&6 … … 3989 3795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3990 3796 cat >conftest.$ac_ext <<_ACEOF 3797 #line $LINENO "configure" 3991 3798 /* confdefs.h. */ 3992 3799 _ACEOF … … 4006 3813 if test -s conftest.err; then 4007 3814 ac_cpp_err=$ac_c_preproc_warn_flag 4008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4009 3815 else 4010 3816 ac_cpp_err= … … 4026 3832 4027 3833 # So? What about this header? 4028 case $ac_header_compiler:$ac_header_preproc :$ac_c_preproc_warn_flagin4029 yes:no :)3834 case $ac_header_compiler:$ac_header_preproc in 3835 yes:no ) 4030 3836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4031 3837 echo "$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 3839 echo "$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 4035 3848 ;; 4036 no:yes :*)3849 no:yes ) 4037 3850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4038 3851 echo "$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 3853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4045 3854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4046 3855 echo "$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" >&54048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}4049 3856 ( 4050 3857 cat <<\_ASBOX 4051 ## ------------------------------------ -------##4052 ## Report this to orxonox-dev@mail.datacore.ch##4053 ## ------------------------------------ -------##3858 ## ------------------------------------ ## 3859 ## Report this to bug-autoconf@gnu.org. ## 3860 ## ------------------------------------ ## 4054 3861 _ASBOX 4055 3862 ) | … … 4062 3869 echo $ECHO_N "(cached) $ECHO_C" >&6 4063 3870 else 4064 eval "$as_ac_Header= \$ac_header_preproc"3871 eval "$as_ac_Header=$ac_header_preproc" 4065 3872 fi 4066 3873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4090 3897 LIBS="-lopengl32 $LIBS" 4091 3898 cat >conftest.$ac_ext <<_ACEOF 3899 #line $LINENO "configure" 4092 3900 /* confdefs.h. */ 4093 3901 _ACEOF … … 4107 3915 rm -f conftest.$ac_objext conftest$ac_exeext 4108 3916 if { (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=$? 4114 3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4115 3920 (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' 4118 3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4119 3923 (eval $ac_try) 2>&5 4120 3924 ac_status=$? 4121 3925 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\"") >&54125 (eval $ac_try) 2>&54126 ac_status=$?4127 echo "$as_me:$LINENO: \$? = $ac_status" >&54128 3926 (exit $ac_status); }; }; then 4129 3927 ac_cv_lib_opengl32_main=yes … … 4134 3932 ac_cv_lib_opengl32_main=no 4135 3933 fi 4136 rm -f conftest.err conftest.$ac_objext \ 4137 conftest$ac_exeext conftest.$ac_ext 3934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4138 3935 LIBS=$ac_check_lib_save_LIBS 4139 3936 fi … … 4174 3971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4175 3972 cat >conftest.$ac_ext <<_ACEOF 3973 #line $LINENO "configure" 4176 3974 /* confdefs.h. */ 4177 3975 _ACEOF … … 4184 3982 rm -f conftest.$ac_objext 4185 3983 if { (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=$? 4191 3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4192 3987 (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' 4195 3989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4196 3990 (eval $ac_try) 2>&5 4197 3991 ac_status=$? 4198 3992 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\"") >&54202 (eval $ac_try) 2>&54203 ac_status=$?4204 echo "$as_me:$LINENO: \$? = $ac_status" >&54205 3993 (exit $ac_status); }; }; then 4206 3994 ac_header_compiler=yes … … 4211 3999 ac_header_compiler=no 4212 4000 fi 4213 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext4001 rm -f conftest.$ac_objext conftest.$ac_ext 4214 4002 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4215 4003 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4219 4007 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4220 4008 cat >conftest.$ac_ext <<_ACEOF 4009 #line $LINENO "configure" 4221 4010 /* confdefs.h. */ 4222 4011 _ACEOF … … 4236 4025 if test -s conftest.err; then 4237 4026 ac_cpp_err=$ac_c_preproc_warn_flag 4238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4239 4027 else 4240 4028 ac_cpp_err= … … 4256 4044 4257 4045 # So? What about this header? 4258 case $ac_header_compiler:$ac_header_preproc :$ac_c_preproc_warn_flagin4259 yes:no :)4046 case $ac_header_compiler:$ac_header_preproc in 4047 yes:no ) 4260 4048 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4261 4049 echo "$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 4051 echo "$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 4265 4060 ;; 4266 no:yes :*)4061 no:yes ) 4267 4062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4268 4063 echo "$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 4065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4275 4066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4276 4067 echo "$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" >&54278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}4279 4068 ( 4280 4069 cat <<\_ASBOX 4281 ## ------------------------------------ -------##4282 ## Report this to orxonox-dev@mail.datacore.ch##4283 ## ------------------------------------ -------##4070 ## ------------------------------------ ## 4071 ## Report this to bug-autoconf@gnu.org. ## 4072 ## ------------------------------------ ## 4284 4073 _ASBOX 4285 4074 ) | … … 4292 4081 echo $ECHO_N "(cached) $ECHO_C" >&6 4293 4082 else 4294 eval "$as_ac_Header= \$ac_header_preproc"4083 eval "$as_ac_Header=$ac_header_preproc" 4295 4084 fi 4296 4085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4321 4110 LIBS="-lglu32 $LIBS" 4322 4111 cat >conftest.$ac_ext <<_ACEOF 4112 #line $LINENO "configure" 4323 4113 /* confdefs.h. */ 4324 4114 _ACEOF … … 4338 4128 rm -f conftest.$ac_objext conftest$ac_exeext 4339 4129 if { (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=$? 4345 4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4346 4133 (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' 4349 4135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4350 4136 (eval $ac_try) 2>&5 4351 4137 ac_status=$? 4352 4138 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\"") >&54356 (eval $ac_try) 2>&54357 ac_status=$?4358 echo "$as_me:$LINENO: \$? = $ac_status" >&54359 4139 (exit $ac_status); }; }; then 4360 4140 ac_cv_lib_glu32_main=yes … … 4365 4145 ac_cv_lib_glu32_main=no 4366 4146 fi 4367 rm -f conftest.err conftest.$ac_objext \ 4368 conftest$ac_exeext conftest.$ac_ext 4147 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4369 4148 LIBS=$ac_check_lib_save_LIBS 4370 4149 fi … … 4394 4173 LIBS="-lmingw32 $LIBS" 4395 4174 cat >conftest.$ac_ext <<_ACEOF 4175 #line $LINENO "configure" 4396 4176 /* confdefs.h. */ 4397 4177 _ACEOF … … 4411 4191 rm -f conftest.$ac_objext conftest$ac_exeext 4412 4192 if { (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=$? 4418 4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4419 4196 (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' 4422 4198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4423 4199 (eval $ac_try) 2>&5 4424 4200 ac_status=$? 4425 4201 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\"") >&54429 (eval $ac_try) 2>&54430 ac_status=$?4431 echo "$as_me:$LINENO: \$? = $ac_status" >&54432 4202 (exit $ac_status); }; }; then 4433 4203 ac_cv_lib_mingw32_main=yes … … 4438 4208 ac_cv_lib_mingw32_main=no 4439 4209 fi 4440 rm -f conftest.err conftest.$ac_objext \ 4441 conftest$ac_exeext conftest.$ac_ext 4210 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4442 4211 LIBS=$ac_check_lib_save_LIBS 4443 4212 fi … … 4469 4238 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4470 4239 cat >conftest.$ac_ext <<_ACEOF 4240 #line $LINENO "configure" 4471 4241 /* confdefs.h. */ 4472 4242 _ACEOF … … 4479 4249 rm -f conftest.$ac_objext 4480 4250 if { (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=$? 4486 4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4487 4254 (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' 4490 4256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4491 4257 (eval $ac_try) 2>&5 4492 4258 ac_status=$? 4493 4259 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\"") >&54497 (eval $ac_try) 2>&54498 ac_status=$?4499 echo "$as_me:$LINENO: \$? = $ac_status" >&54500 4260 (exit $ac_status); }; }; then 4501 4261 ac_header_compiler=yes … … 4506 4266 ac_header_compiler=no 4507 4267 fi 4508 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext4268 rm -f conftest.$ac_objext conftest.$ac_ext 4509 4269 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4510 4270 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4514 4274 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4515 4275 cat >conftest.$ac_ext <<_ACEOF 4276 #line $LINENO "configure" 4516 4277 /* confdefs.h. */ 4517 4278 _ACEOF … … 4531 4292 if test -s conftest.err; then 4532 4293 ac_cpp_err=$ac_c_preproc_warn_flag 4533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4534 4294 else 4535 4295 ac_cpp_err= … … 4551 4311 4552 4312 # So? What about this header? 4553 case $ac_header_compiler:$ac_header_preproc :$ac_c_preproc_warn_flagin4554 yes:no :)4313 case $ac_header_compiler:$ac_header_preproc in 4314 yes:no ) 4555 4315 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4556 4316 echo "$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 4318 echo "$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 4560 4327 ;; 4561 no:yes :*)4328 no:yes ) 4562 4329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4563 4330 echo "$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 4332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4570 4333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4571 4334 echo "$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" >&54573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}4574 4335 ( 4575 4336 cat <<\_ASBOX 4576 ## ------------------------------------ -------##4577 ## Report this to orxonox-dev@mail.datacore.ch##4578 ## ------------------------------------ -------##4337 ## ------------------------------------ ## 4338 ## Report this to bug-autoconf@gnu.org. ## 4339 ## ------------------------------------ ## 4579 4340 _ASBOX 4580 4341 ) | … … 4587 4348 echo $ECHO_N "(cached) $ECHO_C" >&6 4588 4349 else 4589 eval "$as_ac_Header= \$ac_header_preproc"4350 eval "$as_ac_Header=$ac_header_preproc" 4590 4351 fi 4591 4352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4616 4377 LIBS="-lsdlmain $LIBS" 4617 4378 cat >conftest.$ac_ext <<_ACEOF 4379 #line $LINENO "configure" 4618 4380 /* confdefs.h. */ 4619 4381 _ACEOF … … 4633 4395 rm -f conftest.$ac_objext conftest$ac_exeext 4634 4396 if { (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=$? 4640 4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4641 4400 (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' 4644 4402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4645 4403 (eval $ac_try) 2>&5 4646 4404 ac_status=$? 4647 4405 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\"") >&54651 (eval $ac_try) 2>&54652 ac_status=$?4653 echo "$as_me:$LINENO: \$? = $ac_status" >&54654 4406 (exit $ac_status); }; }; then 4655 4407 ac_cv_lib_sdlmain_main=yes … … 4660 4412 ac_cv_lib_sdlmain_main=no 4661 4413 fi 4662 rm -f conftest.err conftest.$ac_objext \ 4663 conftest$ac_exeext conftest.$ac_ext 4414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4664 4415 LIBS=$ac_check_lib_save_LIBS 4665 4416 fi … … 4687 4438 LIBS="-lsdl $LIBS" 4688 4439 cat >conftest.$ac_ext <<_ACEOF 4440 #line $LINENO "configure" 4689 4441 /* confdefs.h. */ 4690 4442 _ACEOF … … 4704 4456 rm -f conftest.$ac_objext conftest$ac_exeext 4705 4457 if { (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=$? 4711 4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4712 4461 (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' 4715 4463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4716 4464 (eval $ac_try) 2>&5 4717 4465 ac_status=$? 4718 4466 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\"") >&54722 (eval $ac_try) 2>&54723 ac_status=$?4724 echo "$as_me:$LINENO: \$? = $ac_status" >&54725 4467 (exit $ac_status); }; }; then 4726 4468 ac_cv_lib_sdl_main=yes … … 4731 4473 ac_cv_lib_sdl_main=no 4732 4474 fi 4733 rm -f conftest.err conftest.$ac_objext \ 4734 conftest$ac_exeext conftest.$ac_ext 4475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4735 4476 LIBS=$ac_check_lib_save_LIBS 4736 4477 fi … … 4778 4519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4779 4520 cat >conftest.$ac_ext <<_ACEOF 4521 #line $LINENO "configure" 4780 4522 /* confdefs.h. */ 4781 4523 _ACEOF … … 4788 4530 rm -f conftest.$ac_objext 4789 4531 if { (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=$? 4795 4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4796 4535 (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' 4799 4537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4800 4538 (eval $ac_try) 2>&5 4801 4539 ac_status=$? 4802 4540 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\"") >&54806 (eval $ac_try) 2>&54807 ac_status=$?4808 echo "$as_me:$LINENO: \$? = $ac_status" >&54809 4541 (exit $ac_status); }; }; then 4810 4542 ac_header_compiler=yes … … 4815 4547 ac_header_compiler=no 4816 4548 fi 4817 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext4549 rm -f conftest.$ac_objext conftest.$ac_ext 4818 4550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4819 4551 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4823 4555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4824 4556 cat >conftest.$ac_ext <<_ACEOF 4557 #line $LINENO "configure" 4825 4558 /* confdefs.h. */ 4826 4559 _ACEOF … … 4840 4573 if test -s conftest.err; then 4841 4574 ac_cpp_err=$ac_c_preproc_warn_flag 4842 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4843 4575 else 4844 4576 ac_cpp_err= … … 4860 4592 4861 4593 # So? What about this header? 4862 case $ac_header_compiler:$ac_header_preproc :$ac_c_preproc_warn_flagin4863 yes:no :)4594 case $ac_header_compiler:$ac_header_preproc in 4595 yes:no ) 4864 4596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4865 4597 echo "$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 4599 echo "$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 4869 4608 ;; 4870 no:yes :*)4609 no:yes ) 4871 4610 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4872 4611 echo "$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 4613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4879 4614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4880 4615 echo "$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" >&54882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}4883 4616 ( 4884 4617 cat <<\_ASBOX 4885 ## ------------------------------------ -------##4886 ## Report this to orxonox-dev@mail.datacore.ch##4887 ## ------------------------------------ -------##4618 ## ------------------------------------ ## 4619 ## Report this to bug-autoconf@gnu.org. ## 4620 ## ------------------------------------ ## 4888 4621 _ASBOX 4889 4622 ) | … … 4896 4629 echo $ECHO_N "(cached) $ECHO_C" >&6 4897 4630 else 4898 eval "$as_ac_Header= \$ac_header_preproc"4631 eval "$as_ac_Header=$ac_header_preproc" 4899 4632 fi 4900 4633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4925 4658 LIBS="-lGL $LIBS" 4926 4659 cat >conftest.$ac_ext <<_ACEOF 4660 #line $LINENO "configure" 4927 4661 /* confdefs.h. */ 4928 4662 _ACEOF … … 4942 4676 rm -f conftest.$ac_objext conftest$ac_exeext 4943 4677 if { (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=$? 4949 4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4950 4681 (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' 4953 4683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4954 4684 (eval $ac_try) 2>&5 4955 4685 ac_status=$? 4956 4686 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\"") >&54960 (eval $ac_try) 2>&54961 ac_status=$?4962 echo "$as_me:$LINENO: \$? = $ac_status" >&54963 4687 (exit $ac_status); }; }; then 4964 4688 ac_cv_lib_GL_main=yes … … 4969 4693 ac_cv_lib_GL_main=no 4970 4694 fi 4971 rm -f conftest.err conftest.$ac_objext \ 4972 conftest$ac_exeext conftest.$ac_ext 4695 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4973 4696 LIBS=$ac_check_lib_save_LIBS 4974 4697 fi … … 5007 4730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5008 4731 cat >conftest.$ac_ext <<_ACEOF 4732 #line $LINENO "configure" 5009 4733 /* confdefs.h. */ 5010 4734 _ACEOF … … 5017 4741 rm -f conftest.$ac_objext 5018 4742 if { (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=$? 5024 4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5025 4746 (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' 5028 4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5029 4749 (eval $ac_try) 2>&5 5030 4750 ac_status=$? 5031 4751 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\"") >&55035 (eval $ac_try) 2>&55036 ac_status=$?5037 echo "$as_me:$LINENO: \$? = $ac_status" >&55038 4752 (exit $ac_status); }; }; then 5039 4753 ac_header_compiler=yes … … 5044 4758 ac_header_compiler=no 5045 4759 fi 5046 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext4760 rm -f conftest.$ac_objext conftest.$ac_ext 5047 4761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5048 4762 echo "${ECHO_T}$ac_header_compiler" >&6 … … 5052 4766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5053 4767 cat >conftest.$ac_ext <<_ACEOF 4768 #line $LINENO "configure" 5054 4769 /* confdefs.h. */ 5055 4770 _ACEOF … … 5069 4784 if test -s conftest.err; then 5070 4785 ac_cpp_err=$ac_c_preproc_warn_flag 5071 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5072 4786 else 5073 4787 ac_cpp_err= … … 5089 4803 5090 4804 # So? What about this header? 5091 case $ac_header_compiler:$ac_header_preproc :$ac_c_preproc_warn_flagin5092 yes:no :)4805 case $ac_header_compiler:$ac_header_preproc in 4806 yes:no ) 5093 4807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5094 4808 echo "$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 4810 echo "$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 5098 4819 ;; 5099 no:yes :*)4820 no:yes ) 5100 4821 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5101 4822 echo "$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 4824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5108 4825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5109 4826 echo "$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" >&55111 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}5112 4827 ( 5113 4828 cat <<\_ASBOX 5114 ## ------------------------------------ -------##5115 ## Report this to orxonox-dev@mail.datacore.ch##5116 ## ------------------------------------ -------##4829 ## ------------------------------------ ## 4830 ## Report this to bug-autoconf@gnu.org. ## 4831 ## ------------------------------------ ## 5117 4832 _ASBOX 5118 4833 ) | … … 5125 4840 echo $ECHO_N "(cached) $ECHO_C" >&6 5126 4841 else 5127 eval "$as_ac_Header= \$ac_header_preproc"4842 eval "$as_ac_Header=$ac_header_preproc" 5128 4843 fi 5129 4844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 5153 4868 LIBS="-lGLU $LIBS" 5154 4869 cat >conftest.$ac_ext <<_ACEOF 4870 #line $LINENO "configure" 5155 4871 /* confdefs.h. */ 5156 4872 _ACEOF … … 5176 4892 rm -f conftest.$ac_objext conftest$ac_exeext 5177 4893 if { (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=$? 5183 4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5184 4897 (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' 5187 4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5188 4900 (eval $ac_try) 2>&5 5189 4901 ac_status=$? 5190 4902 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\"") >&55194 (eval $ac_try) 2>&55195 ac_status=$?5196 echo "$as_me:$LINENO: \$? = $ac_status" >&55197 4903 (exit $ac_status); }; }; then 5198 4904 ac_cv_lib_GLU_gluProject=yes … … 5203 4909 ac_cv_lib_GLU_gluProject=no 5204 4910 fi 5205 rm -f conftest.err conftest.$ac_objext \ 5206 conftest$ac_exeext conftest.$ac_ext 4911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5207 4912 LIBS=$ac_check_lib_save_LIBS 5208 4913 fi … … 5330 5035 else 5331 5036 cat >conftest.$ac_ext <<_ACEOF 5037 #line $LINENO "configure" 5332 5038 /* confdefs.h. */ 5333 5039 _ACEOF … … 5414 5120 no_sdl=yes 5415 5121 fi 5416 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext5122 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5417 5123 fi 5418 5124 CFLAGS="$ac_save_CFLAGS" … … 5440 5146 LIBS="$LIBS $SDL_LIBS" 5441 5147 cat >conftest.$ac_ext <<_ACEOF 5148 #line $LINENO "configure" 5442 5149 /* confdefs.h. */ 5443 5150 _ACEOF … … 5464 5171 rm -f conftest.$ac_objext conftest$ac_exeext 5465 5172 if { (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=$? 5471 5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5472 5176 (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' 5481 5178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5482 5179 (eval $ac_try) 2>&5 … … 5502 5199 echo "*** may want to edit the sdl-config script: $SDL_CONFIG" 5503 5200 fi 5504 rm -f conftest.err conftest.$ac_objext \ 5505 conftest$ac_exeext conftest.$ac_ext 5201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5506 5202 CFLAGS="$ac_save_CFLAGS" 5507 5203 LIBS="$ac_save_LIBS" … … 5524 5220 5525 5221 ### OS X ### 5526 * Darwin*)5222 *darwin*) 5527 5223 echo "OS X detected" 5528 5224 … … 5547 5243 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5548 5244 cat >conftest.$ac_ext <<_ACEOF 5245 #line $LINENO "configure" 5549 5246 /* confdefs.h. */ 5550 5247 _ACEOF … … 5557 5254 rm -f conftest.$ac_objext 5558 5255 if { (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=$? 5564 5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5565 5259 (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' 5568 5261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5569 5262 (eval $ac_try) 2>&5 5570 5263 ac_status=$? 5571 5264 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\"") >&55575 (eval $ac_try) 2>&55576 ac_status=$?5577 echo "$as_me:$LINENO: \$? = $ac_status" >&55578 5265 (exit $ac_status); }; }; then 5579 5266 ac_header_compiler=yes … … 5584 5271 ac_header_compiler=no 5585 5272 fi 5586 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext5273 rm -f conftest.$ac_objext conftest.$ac_ext 5587 5274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5588 5275 echo "${ECHO_T}$ac_header_compiler" >&6 … … 5592 5279 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5593 5280 cat >conftest.$ac_ext <<_ACEOF 5281 #line $LINENO "configure" 5594 5282 /* confdefs.h. */ 5595 5283 _ACEOF … … 5609 5297 if test -s conftest.err; then 5610 5298 ac_cpp_err=$ac_c_preproc_warn_flag 5611 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5612 5299 else 5613 5300 ac_cpp_err= … … 5629 5316 5630 5317 # So? What about this header? 5631 case $ac_header_compiler:$ac_header_preproc :$ac_c_preproc_warn_flagin5632 yes:no :)5318 case $ac_header_compiler:$ac_header_preproc in 5319 yes:no ) 5633 5320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5634 5321 echo "$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 5323 echo "$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 5638 5332 ;; 5639 no:yes :*)5333 no:yes ) 5640 5334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5641 5335 echo "$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 5337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5648 5338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5649 5339 echo "$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" >&55651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}5652 5340 ( 5653 5341 cat <<\_ASBOX 5654 ## ------------------------------------ -------##5655 ## Report this to orxonox-dev@mail.datacore.ch##5656 ## ------------------------------------ -------##5342 ## ------------------------------------ ## 5343 ## Report this to bug-autoconf@gnu.org. ## 5344 ## ------------------------------------ ## 5657 5345 _ASBOX 5658 5346 ) | … … 5665 5353 echo $ECHO_N "(cached) $ECHO_C" >&6 5666 5354 else 5667 eval "$as_ac_Header= \$ac_header_preproc"5355 eval "$as_ac_Header=$ac_header_preproc" 5668 5356 fi 5669 5357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 5702 5390 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5703 5391 cat >conftest.$ac_ext <<_ACEOF 5392 #line $LINENO "configure" 5704 5393 /* confdefs.h. */ 5705 5394 _ACEOF … … 5712 5401 rm -f conftest.$ac_objext 5713 5402 if { (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=$? 5719 5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5720 5406 (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' 5723 5408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5724 5409 (eval $ac_try) 2>&5 5725 5410 ac_status=$? 5726 5411 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\"") >&55730 (eval $ac_try) 2>&55731 ac_status=$?5732 echo "$as_me:$LINENO: \$? = $ac_status" >&55733 5412 (exit $ac_status); }; }; then 5734 5413 ac_header_compiler=yes … … 5739 5418 ac_header_compiler=no 5740 5419 fi 5741 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext5420 rm -f conftest.$ac_objext conftest.$ac_ext 5742 5421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5743 5422 echo "${ECHO_T}$ac_header_compiler" >&6 … … 5747 5426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5748 5427 cat >conftest.$ac_ext <<_ACEOF 5428 #line $LINENO "configure" 5749 5429 /* confdefs.h. */ 5750 5430 _ACEOF … … 5764 5444 if test -s conftest.err; then 5765 5445 ac_cpp_err=$ac_c_preproc_warn_flag 5766 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5767 5446 else 5768 5447 ac_cpp_err= … … 5784 5463 5785 5464 # So? What about this header? 5786 case $ac_header_compiler:$ac_header_preproc :$ac_c_preproc_warn_flagin5787 yes:no :)5465 case $ac_header_compiler:$ac_header_preproc in 5466 yes:no ) 5788 5467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5789 5468 echo "$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 5470 echo "$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 5793 5479 ;; 5794 no:yes :*)5480 no:yes ) 5795 5481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5796 5482 echo "$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 5484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5803 5485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5804 5486 echo "$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" >&55806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}5807 5487 ( 5808 5488 cat <<\_ASBOX 5809 ## ------------------------------------ -------##5810 ## Report this to orxonox-dev@mail.datacore.ch##5811 ## ------------------------------------ -------##5489 ## ------------------------------------ ## 5490 ## Report this to bug-autoconf@gnu.org. ## 5491 ## ------------------------------------ ## 5812 5492 _ASBOX 5813 5493 ) | … … 5820 5500 echo $ECHO_N "(cached) $ECHO_C" >&6 5821 5501 else 5822 eval "$as_ac_Header= \$ac_header_preproc"5502 eval "$as_ac_Header=$ac_header_preproc" 5823 5503 fi 5824 5504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 5841 5521 5842 5522 LIBS="$LIBS -framework OpenGL" 5843 5844 # checking for SDL-headers5845 5846 for ac_header in SDL/SDL.h5847 do5848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`5849 if eval "test \"\${$as_ac_Header+set}\" = set"; then5850 echo "$as_me:$LINENO: checking for $ac_header" >&55851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&65852 if eval "test \"\${$as_ac_Header+set}\" = set"; then5853 echo $ECHO_N "(cached) $ECHO_C" >&65854 fi5855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&55856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&65857 else5858 # Is the header compilable?5859 echo "$as_me:$LINENO: checking $ac_header usability" >&55860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&65861 cat >conftest.$ac_ext <<_ACEOF5862 /* confdefs.h. */5863 _ACEOF5864 cat confdefs.h >>conftest.$ac_ext5865 cat >>conftest.$ac_ext <<_ACEOF5866 /* end confdefs.h. */5867 $ac_includes_default5868 #include <$ac_header>5869 _ACEOF5870 rm -f conftest.$ac_objext5871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&55872 (eval $ac_compile) 2>conftest.er15873 ac_status=$?5874 grep -v '^ *+' conftest.er1 >conftest.err5875 rm -f conftest.er15876 cat conftest.err >&55877 echo "$as_me:$LINENO: \$? = $ac_status" >&55878 (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\"") >&55882 (eval $ac_try) 2>&55883 ac_status=$?5884 echo "$as_me:$LINENO: \$? = $ac_status" >&55885 (exit $ac_status); }; } &&5886 { ac_try='test -s conftest.$ac_objext'5887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55888 (eval $ac_try) 2>&55889 ac_status=$?5890 echo "$as_me:$LINENO: \$? = $ac_status" >&55891 (exit $ac_status); }; }; then5892 ac_header_compiler=yes5893 else5894 echo "$as_me: failed program was:" >&55895 sed 's/^/| /' conftest.$ac_ext >&55896 5897 ac_header_compiler=no5898 fi5899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext5900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&55901 echo "${ECHO_T}$ac_header_compiler" >&65902 5903 # Is the header present?5904 echo "$as_me:$LINENO: checking $ac_header presence" >&55905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&65906 cat >conftest.$ac_ext <<_ACEOF5907 /* confdefs.h. */5908 _ACEOF5909 cat confdefs.h >>conftest.$ac_ext5910 cat >>conftest.$ac_ext <<_ACEOF5911 /* end confdefs.h. */5912 #include <$ac_header>5913 _ACEOF5914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&55915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er15916 ac_status=$?5917 grep -v '^ *+' conftest.er1 >conftest.err5918 rm -f conftest.er15919 cat conftest.err >&55920 echo "$as_me:$LINENO: \$? = $ac_status" >&55921 (exit $ac_status); } >/dev/null; then5922 if test -s conftest.err; then5923 ac_cpp_err=$ac_c_preproc_warn_flag5924 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5925 else5926 ac_cpp_err=5927 fi5928 else5929 ac_cpp_err=yes5930 fi5931 if test -z "$ac_cpp_err"; then5932 ac_header_preproc=yes5933 else5934 echo "$as_me: failed program was:" >&55935 sed 's/^/| /' conftest.$ac_ext >&55936 5937 ac_header_preproc=no5938 fi5939 rm -f conftest.err conftest.$ac_ext5940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55941 echo "${ECHO_T}$ac_header_preproc" >&65942 5943 # So? What about this header?5944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in5945 yes:no: )5946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55947 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" >&55949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}5950 ac_header_preproc=yes5951 ;;5952 no:yes:* )5953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&55954 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?" >&55956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}5957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&55958 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\"" >&55960 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" >&55962 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" >&55964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}5965 (5966 cat <<\_ASBOX5967 ## ------------------------------------------- ##5968 ## Report this to orxonox-dev@mail.datacore.ch ##5969 ## ------------------------------------------- ##5970 _ASBOX5971 ) |5972 sed "s/^/$as_me: WARNING: /" >&25973 ;;5974 esac5975 echo "$as_me:$LINENO: checking for $ac_header" >&55976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&65977 if eval "test \"\${$as_ac_Header+set}\" = set"; then5978 echo $ECHO_N "(cached) $ECHO_C" >&65979 else5980 eval "$as_ac_Header=\$ac_header_preproc"5981 fi5982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&55983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&65984 5985 fi5986 if test `eval echo '${'$as_ac_Header'}'` = yes; then5987 cat >>confdefs.h <<_ACEOF5988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 15989 _ACEOF5990 5991 else5992 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&55993 echo "$as_me: error: cannot find SDL headers" >&2;}5994 { (exit 1); exit 1; }; }5995 fi5996 5997 done5998 5999 5523 6000 5524 ## checking for SDL … … 6105 5629 else 6106 5630 cat >conftest.$ac_ext <<_ACEOF 5631 #line $LINENO "configure" 6107 5632 /* confdefs.h. */ 6108 5633 _ACEOF … … 6189 5714 no_sdl=yes 6190 5715 fi 6191 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext5716 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6192 5717 fi 6193 5718 CFLAGS="$ac_save_CFLAGS" … … 6215 5740 LIBS="$LIBS $SDL_LIBS" 6216 5741 cat >conftest.$ac_ext <<_ACEOF 5742 #line $LINENO "configure" 6217 5743 /* confdefs.h. */ 6218 5744 _ACEOF … … 6239 5765 rm -f conftest.$ac_objext conftest$ac_exeext 6240 5766 if { (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=$? 6246 5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6247 5770 (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' 6256 5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6257 5773 (eval $ac_try) 2>&5 … … 6277 5793 echo "*** may want to edit the sdl-config script: $SDL_CONFIG" 6278 5794 fi 6279 rm -f conftest.err conftest.$ac_objext \ 6280 conftest$ac_exeext conftest.$ac_ext 5795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6281 5796 CFLAGS="$ac_save_CFLAGS" 6282 5797 LIBS="$ac_save_LIBS" … … 6309 5824 6310 5825 ## 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 5826 PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) 6407 5827 6408 5828 … … 6428 5848 LIBS="-lpthread $LIBS" 6429 5849 cat >conftest.$ac_ext <<_ACEOF 5850 #line $LINENO "configure" 6430 5851 /* confdefs.h. */ 6431 5852 _ACEOF … … 6445 5866 rm -f conftest.$ac_objext conftest$ac_exeext 6446 5867 if { (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=$? 6452 5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6453 5871 (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' 6456 5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6457 5874 (eval $ac_try) 2>&5 6458 5875 ac_status=$? 6459 5876 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\"") >&56463 (eval $ac_try) 2>&56464 ac_status=$?6465 echo "$as_me:$LINENO: \$? = $ac_status" >&56466 5877 (exit $ac_status); }; }; then 6467 5878 ac_cv_lib_pthread_main=yes … … 6472 5883 ac_cv_lib_pthread_main=no 6473 5884 fi 6474 rm -f conftest.err conftest.$ac_objext \ 6475 conftest$ac_exeext conftest.$ac_ext 5885 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6476 5886 LIBS=$ac_check_lib_save_LIBS 6477 5887 fi … … 6497 5907 LIBS="-lm $LIBS" 6498 5908 cat >conftest.$ac_ext <<_ACEOF 5909 #line $LINENO "configure" 6499 5910 /* confdefs.h. */ 6500 5911 _ACEOF … … 6514 5925 rm -f conftest.$ac_objext conftest$ac_exeext 6515 5926 if { (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=$? 6521 5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6522 5930 (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' 6525 5932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6526 5933 (eval $ac_try) 2>&5 6527 5934 ac_status=$? 6528 5935 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\"") >&56532 (eval $ac_try) 2>&56533 ac_status=$?6534 echo "$as_me:$LINENO: \$? = $ac_status" >&56535 5936 (exit $ac_status); }; }; then 6536 5937 ac_cv_lib_m_main=yes … … 6541 5942 ac_cv_lib_m_main=no 6542 5943 fi 6543 rm -f conftest.err conftest.$ac_objext \ 6544 conftest$ac_exeext conftest.$ac_ext 5944 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6545 5945 LIBS=$ac_check_lib_save_LIBS 6546 5946 fi … … 6565 5965 else 6566 5966 cat >conftest.$ac_ext <<_ACEOF 5967 #line $LINENO "configure" 6567 5968 /* confdefs.h. */ 6568 5969 _ACEOF … … 6585 5986 rm -f conftest.$ac_objext 6586 5987 if { (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=$? 6592 5990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6593 5991 (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' 6596 5993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6597 5994 (eval $ac_try) 2>&5 6598 5995 ac_status=$? 6599 5996 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\"") >&56603 (eval $ac_try) 2>&56604 ac_status=$?6605 echo "$as_me:$LINENO: \$? = $ac_status" >&56606 5997 (exit $ac_status); }; }; then 6607 5998 ac_cv_header_stdc=yes … … 6612 6003 ac_cv_header_stdc=no 6613 6004 fi 6614 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext6005 rm -f conftest.$ac_objext conftest.$ac_ext 6615 6006 6616 6007 if test $ac_cv_header_stdc = yes; then 6617 6008 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6618 6009 cat >conftest.$ac_ext <<_ACEOF 6010 #line $LINENO "configure" 6619 6011 /* confdefs.h. */ 6620 6012 _ACEOF … … 6638 6030 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6639 6031 cat >conftest.$ac_ext <<_ACEOF 6032 #line $LINENO "configure" 6640 6033 /* confdefs.h. */ 6641 6034 _ACEOF … … 6662 6055 else 6663 6056 cat >conftest.$ac_ext <<_ACEOF 6057 #line $LINENO "configure" 6664 6058 /* confdefs.h. */ 6665 6059 _ACEOF … … 6673 6067 #else 6674 6068 # define ISLOWER(c) \ 6675 6676 6677 6069 (('a' <= (c) && (c) <= 'i') \ 6070 || ('j' <= (c) && (c) <= 'r') \ 6071 || ('s' <= (c) && (c) <= 'z')) 6678 6072 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6679 6073 #endif … … 6686 6080 for (i = 0; i < 256; i++) 6687 6081 if (XOR (islower (i), ISLOWER (i)) 6688 6082 || toupper (i) != TOUPPER (i)) 6689 6083 exit(2); 6690 6084 exit (0); … … 6711 6105 ac_cv_header_stdc=no 6712 6106 fi 6713 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext6107 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6714 6108 fi 6715 6109 fi … … 6743 6137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6744 6138 cat >conftest.$ac_ext <<_ACEOF 6139 #line $LINENO "configure" 6745 6140 /* confdefs.h. */ 6746 6141 _ACEOF … … 6753 6148 rm -f conftest.$ac_objext 6754 6149 if { (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=$? 6760 6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6761 6153 (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' 6764 6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6765 6156 (eval $ac_try) 2>&5 6766 6157 ac_status=$? 6767 6158 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\"") >&56771 (eval $ac_try) 2>&56772 ac_status=$?6773 echo "$as_me:$LINENO: \$? = $ac_status" >&56774 6159 (exit $ac_status); }; }; then 6775 6160 ac_header_compiler=yes … … 6780 6165 ac_header_compiler=no 6781 6166 fi 6782 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext6167 rm -f conftest.$ac_objext conftest.$ac_ext 6783 6168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6784 6169 echo "${ECHO_T}$ac_header_compiler" >&6 … … 6788 6173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6789 6174 cat >conftest.$ac_ext <<_ACEOF 6175 #line $LINENO "configure" 6790 6176 /* confdefs.h. */ 6791 6177 _ACEOF … … 6805 6191 if test -s conftest.err; then 6806 6192 ac_cpp_err=$ac_c_preproc_warn_flag 6807 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6808 6193 else 6809 6194 ac_cpp_err= … … 6825 6210 6826 6211 # So? What about this header? 6827 case $ac_header_compiler:$ac_header_preproc :$ac_c_preproc_warn_flagin6828 yes:no :)6212 case $ac_header_compiler:$ac_header_preproc in 6213 yes:no ) 6829 6214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6830 6215 echo "$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 6217 echo "$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 6834 6226 ;; 6835 no:yes :*)6227 no:yes ) 6836 6228 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6837 6229 echo "$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 6231 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6844 6232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6845 6233 echo "$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" >&56847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}6848 6234 ( 6849 6235 cat <<\_ASBOX 6850 ## ------------------------------------ -------##6851 ## Report this to orxonox-dev@mail.datacore.ch##6852 ## ------------------------------------ -------##6236 ## ------------------------------------ ## 6237 ## Report this to bug-autoconf@gnu.org. ## 6238 ## ------------------------------------ ## 6853 6239 _ASBOX 6854 6240 ) | … … 6861 6247 echo $ECHO_N "(cached) $ECHO_C" >&6 6862 6248 else 6863 eval "$as_ac_Header= \$ac_header_preproc"6249 eval "$as_ac_Header=$ac_header_preproc" 6864 6250 fi 6865 6251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 6884 6270 else 6885 6271 cat >conftest.$ac_ext <<_ACEOF 6272 #line $LINENO "configure" 6886 6273 /* confdefs.h. */ 6887 6274 _ACEOF … … 6910 6297 #endif 6911 6298 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 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]; 6923 6310 6924 6311 int … … 6932 6319 rm -f conftest.$ac_objext 6933 6320 if { (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=$? 6939 6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6940 6324 (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' 6943 6326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6944 6327 (eval $ac_try) 2>&5 6945 6328 ac_status=$? 6946 6329 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\"") >&56950 (eval $ac_try) 2>&56951 ac_status=$?6952 echo "$as_me:$LINENO: \$? = $ac_status" >&56953 6330 (exit $ac_status); }; }; then 6954 6331 ac_cv_header_stdbool_h=yes … … 6959 6336 ac_cv_header_stdbool_h=no 6960 6337 fi 6961 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext6338 rm -f conftest.$ac_objext conftest.$ac_ext 6962 6339 fi 6963 6340 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 … … 6969 6346 else 6970 6347 cat >conftest.$ac_ext <<_ACEOF 6348 #line $LINENO "configure" 6971 6349 /* confdefs.h. */ 6972 6350 _ACEOF … … 6988 6366 rm -f conftest.$ac_objext 6989 6367 if { (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=$? 6995 6370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6996 6371 (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' 6999 6373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7000 6374 (eval $ac_try) 2>&5 7001 6375 ac_status=$? 7002 6376 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\"") >&57006 (eval $ac_try) 2>&57007 ac_status=$?7008 echo "$as_me:$LINENO: \$? = $ac_status" >&57009 6377 (exit $ac_status); }; }; then 7010 6378 ac_cv_type__Bool=yes … … 7015 6383 ac_cv_type__Bool=no 7016 6384 fi 7017 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext6385 rm -f conftest.$ac_objext conftest.$ac_ext 7018 6386 fi 7019 6387 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 … … 7055 6423 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7056 6424 cat >conftest.$ac_ext <<_ACEOF 6425 #line $LINENO "configure" 7057 6426 /* confdefs.h. */ 7058 6427 _ACEOF … … 7065 6434 rm -f conftest.$ac_objext 7066 6435 if { (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=$? 7072 6438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7073 6439 (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' 7076 6441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7077 6442 (eval $ac_try) 2>&5 7078 6443 ac_status=$? 7079 6444 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\"") >&57083 (eval $ac_try) 2>&57084 ac_status=$?7085 echo "$as_me:$LINENO: \$? = $ac_status" >&57086 6445 (exit $ac_status); }; }; then 7087 6446 ac_header_compiler=yes … … 7092 6451 ac_header_compiler=no 7093 6452 fi 7094 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext6453 rm -f conftest.$ac_objext conftest.$ac_ext 7095 6454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7096 6455 echo "${ECHO_T}$ac_header_compiler" >&6 … … 7100 6459 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7101 6460 cat >conftest.$ac_ext <<_ACEOF 6461 #line $LINENO "configure" 7102 6462 /* confdefs.h. */ 7103 6463 _ACEOF … … 7117 6477 if test -s conftest.err; then 7118 6478 ac_cpp_err=$ac_c_preproc_warn_flag 7119 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7120 6479 else 7121 6480 ac_cpp_err= … … 7137 6496 7138 6497 # So? What about this header? 7139 case $ac_header_compiler:$ac_header_preproc :$ac_c_preproc_warn_flagin7140 yes:no :)6498 case $ac_header_compiler:$ac_header_preproc in 6499 yes:no ) 7141 6500 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7142 6501 echo "$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 6503 echo "$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 7146 6512 ;; 7147 no:yes :*)6513 no:yes ) 7148 6514 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7149 6515 echo "$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 6517 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7156 6518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7157 6519 echo "$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" >&57159 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}7160 6520 ( 7161 6521 cat <<\_ASBOX 7162 ## ------------------------------------ -------##7163 ## Report this to orxonox-dev@mail.datacore.ch##7164 ## ------------------------------------ -------##6522 ## ------------------------------------ ## 6523 ## Report this to bug-autoconf@gnu.org. ## 6524 ## ------------------------------------ ## 7165 6525 _ASBOX 7166 6526 ) | … … 7173 6533 echo $ECHO_N "(cached) $ECHO_C" >&6 7174 6534 else 7175 eval "$as_ac_Header= \$ac_header_preproc"6535 eval "$as_ac_Header=$ac_header_preproc" 7176 6536 fi 7177 6537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 7197 6557 else 7198 6558 cat >conftest.$ac_ext <<_ACEOF 6559 #line $LINENO "configure" 7199 6560 /* confdefs.h. */ 7200 6561 _ACEOF … … 7236 6597 ac_cv_func_malloc_0_nonnull=no 7237 6598 fi 7238 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext6599 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7239 6600 fi 7240 6601 fi … … 7252 6613 _ACEOF 7253 6614 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" 7262 6616 7263 6617 cat >>confdefs.h <<\_ACEOF … … 7280 6634 else 7281 6635 cat >conftest.$ac_ext <<_ACEOF 6636 #line $LINENO "configure" 7282 6637 /* confdefs.h. */ 7283 6638 _ACEOF … … 7285 6640 cat >>conftest.$ac_ext <<_ACEOF 7286 6641 /* 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_func7290 7291 6642 /* System header to define __stub macros and hopefully few prototypes, 7292 6643 which can conflict with char $ac_func (); below. 7293 6644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7294 6645 <limits.h> exists even on freestanding compilers. */ 7295 7296 6646 #ifdef __STDC__ 7297 6647 # include <limits.h> … … 7299 6649 # include <assert.h> 7300 6650 #endif 7301 7302 #undef $ac_func7303 7304 6651 /* Override any gcc2 internal prototype to avoid an error. */ 7305 6652 #ifdef __cplusplus … … 7332 6679 rm -f conftest.$ac_objext conftest$ac_exeext 7333 6680 if { (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=$? 7339 6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7340 6684 (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' 7343 6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7344 6687 (eval $ac_try) 2>&5 7345 6688 ac_status=$? 7346 6689 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\"") >&57350 (eval $ac_try) 2>&57351 ac_status=$?7352 echo "$as_me:$LINENO: \$? = $ac_status" >&57353 6690 (exit $ac_status); }; }; then 7354 6691 eval "$as_ac_var=yes" … … 7359 6696 eval "$as_ac_var=no" 7360 6697 fi 7361 rm -f conftest.err conftest.$ac_objext \ 7362 conftest$ac_exeext conftest.$ac_ext 6698 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7363 6699 fi 7364 6700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 … … 7403 6739 # substitution turns \\\\ into \\, and sed turns \\ into \). 7404 6740 sed -n \ 7405 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" 7407 6743 ;; 7408 6744 *) 7409 6745 # `set' quotes correctly as required by POSIX, so do not add quotes. 7410 6746 sed -n \ 7411 6747 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 7412 6748 ;; 7413 6749 esac; … … 7439 6775 # (actually we leave an empty line to preserve line numbers). 7440 6776 if test "x$srcdir" = x.; then 7441 ac_vpsub='/^[ ]*VPATH[]*=/{6777 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7442 6778 s/:*\$(srcdir):*/:/; 7443 6779 s/:*\${srcdir}:*/:/; 7444 6780 s/:*@srcdir@:*/:/; 7445 s/^\([^=]*=[ 6781 s/^\([^=]*=[ ]*\):*/\1/; 7446 6782 s/:*$//; 7447 s/^[^=]*=[ 6783 s/^[^=]*=[ ]*$//; 7448 6784 }' 7449 6785 fi … … 7456 6792 # 1. Remove the extension, and $U if already installed. 7457 6793 ac_i=`echo "$ac_i" | 7458 6794 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7459 6795 # 2. Add them. 7460 6796 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" … … 7528 6864 set -o posix 7529 6865 fi 7530 DUALCASE=1; export DUALCASE # for MKS sh7531 6866 7532 6867 # Support unset when possible. 7533 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then6868 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 7534 6869 as_unset=unset 7535 6870 else … … 7550 6885 LC_TELEPHONE LC_TIME 7551 6886 do 7552 if (set +x; test - z"`(eval $as_var=C; export $as_var) 2>&1`"); then6887 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 7553 6888 eval $as_var=C; export $as_var 7554 6889 else … … 7729 7064 as_mkdir_p=: 7730 7065 else 7731 test -d ./-p && rmdir ./-p7732 7066 as_mkdir_p=false 7733 7067 fi … … 7736 7070 7737 7071 # 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'"7072 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 7739 7073 7740 7074 # Sed expression to map a string onto a valid variable name. 7741 as_tr_sh=" eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"7075 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 7742 7076 7743 7077 … … 7766 7100 7767 7101 This file was extended by orxonox $as_me 0.1-pre-alpha, which was 7768 generated by GNU Autoconf 2.5 9. Invocation command line was7102 generated by GNU Autoconf 2.57. Invocation command line was 7769 7103 7770 7104 CONFIG_FILES = $CONFIG_FILES … … 7810 7144 --recheck update $as_me by reconfiguring in the same conditions 7811 7145 --file=FILE[:TEMPLATE] 7812 7146 instantiate the configuration file FILE 7813 7147 --header=FILE[:TEMPLATE] 7814 7148 instantiate the configuration header FILE 7815 7149 7816 7150 Configuration files: … … 7829 7163 ac_cs_version="\\ 7830 7164 orxonox config.status 0.1-pre-alpha 7831 configured by $0, generated by GNU Autoconf 2.5 9,7165 configured by $0, generated by GNU Autoconf 2.57, 7832 7166 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 7833 7167 7834 Copyright (C) 2003 Free Software Foundation, Inc. 7168 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 7169 Free Software Foundation, Inc. 7835 7170 This config.status script is free software; the Free Software Foundation 7836 7171 gives unlimited permission to copy, distribute and modify it." … … 8058 7393 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 8059 7394 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 8060 s,@mkdir_p@,$mkdir_p,;t t8061 7395 s,@AWK@,$AWK,;t t 8062 7396 s,@SET_MAKE@,$SET_MAKE,;t t … … 8090 7424 s,@SDL_LIBS@,$SDL_LIBS,;t t 8091 7425 s,@MSBITFIELDS@,$MSBITFIELDS,;t t 8092 s,@ PKG_CONFIG@,$PKG_CONFIG,;t t7426 s,@GTK2_LIBS@,$GTK2_LIBS,;t t 8093 7427 s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t 8094 s,@GTK2_LIBS@,$GTK2_LIBS,;t t8095 7428 s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t 8096 7429 s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t … … 8126 7459 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8127 7460 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" 8129 7462 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" 8131 7464 fi 8132 7465 ac_sed_frag=`expr $ac_sed_frag + 1` … … 8146 7479 case $ac_file in 8147 7480 - | *:- | *:-:* ) # input from stdin 8148 8149 8150 7481 cat >$tmp/stdin 7482 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7483 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8151 7484 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8152 7485 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8153 7486 * ) ac_file_in=$ac_file.in ;; 8154 7487 esac … … 8157 7490 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8158 7491 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8159 8160 8161 8162 7492 X"$ac_file" : 'X\(//\)[^/]' \| \ 7493 X"$ac_file" : 'X\(//\)$' \| \ 7494 X"$ac_file" : 'X\(/\)' \| \ 7495 . : '\(.\)' 2>/dev/null || 8163 7496 echo X"$ac_file" | 8164 7497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8176 7509 as_dir=`(dirname "$as_dir") 2>/dev/null || 8177 7510 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8178 8179 8180 8181 7511 X"$as_dir" : 'X\(//\)[^/]' \| \ 7512 X"$as_dir" : 'X\(//\)$' \| \ 7513 X"$as_dir" : 'X\(/\)' \| \ 7514 . : '\(.\)' 2>/dev/null || 8182 7515 echo X"$as_dir" | 8183 7516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8217 7550 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8218 7551 esac 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. 7554 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 7555 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 7556 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 7557 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 8258 7558 8259 7559 … … 8277 7577 fi 8278 7578 configure_input=$configure_input"Generated from `echo $ac_file_in | 8279 7579 sed 's,.*/,,'` by configure." 8280 7580 8281 7581 # First look for the input files in the build tree, otherwise in the … … 8286 7586 -) echo $tmp/stdin ;; 8287 7587 [\\/$]*) 8288 8289 7588 # Absolute (can't be DOS-style, as IFS=:) 7589 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8290 7590 echo "$as_me: error: cannot find input file: $f" >&2;} 8291 7591 { (exit 1); exit 1; }; } 8292 echo "$f";;7592 echo $f;; 8293 7593 *) # Relative 8294 8295 8296 echo "$f" 8297 8298 8299 echo "$srcdir/$f" 8300 8301 8302 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 8303 7603 echo "$as_me: error: cannot find input file: $f" >&2;} 8304 7604 { (exit 1); exit 1; }; } 8305 7605 fi;; 8306 7606 esac 8307 7607 done` || { (exit 1); exit 1; } … … 8345 7645 # 8346 7646 # ac_d sets the value in "#define NAME VALUE" lines. 8347 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][]*\)'8348 ac_dB='[ 7647 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 7648 ac_dB='[ ].*$,\1#\2' 8349 7649 ac_dC=' ' 8350 7650 ac_dD=',;t' 8351 7651 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8352 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][]*\)'7652 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8353 7653 ac_uB='$,\1#\2define\3' 8354 7654 ac_uC=' ' … … 8359 7659 case $ac_file in 8360 7660 - | *:- | *:-:* ) # input from stdin 8361 8362 8363 7661 cat >$tmp/stdin 7662 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7663 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8364 7664 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8365 7665 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8366 7666 * ) ac_file_in=$ac_file.in ;; 8367 7667 esac … … 8377 7677 -) echo $tmp/stdin ;; 8378 7678 [\\/$]*) 8379 8380 7679 # Absolute (can't be DOS-style, as IFS=:) 7680 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8381 7681 echo "$as_me: error: cannot find input file: $f" >&2;} 8382 7682 { (exit 1); exit 1; }; } 8383 # Do quote $f, to prevent DOS paths from being IFS'd. 8384 echo "$f";; 7683 echo $f;; 8385 7684 *) # Relative 8386 8387 8388 echo "$f" 8389 8390 8391 echo "$srcdir/$f" 8392 8393 8394 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 8395 7694 echo "$as_me: error: cannot find input file: $f" >&2;} 8396 7695 { (exit 1); exit 1; }; } 8397 7696 fi;; 8398 7697 esac 8399 7698 done` || { (exit 1); exit 1; } 8400 7699 # Remove the trailing spaces. 8401 sed 's/[ 7700 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8402 7701 8403 7702 _ACEOF … … 8422 7721 t clear 8423 7722 : clear 8424 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp7723 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8425 7724 t end 8426 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp7725 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8427 7726 : end 8428 7727 _ACEOF … … 8438 7737 # on some systems where configure will not decide to define it. 8439 7738 cat >>conftest.undefs <<\_ACEOF 8440 s,^[ ]*#[ ]*undef[ ][]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,7739 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8441 7740 _ACEOF 8442 7741 … … 8444 7743 # of here documents, and old seds have small limits too (100 cmds). 8445 7744 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8446 echo ' if grep "^[ ]*#[]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS7745 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8447 7746 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8448 7747 echo ' :' >>$CONFIG_STATUS … … 8453 7752 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8454 7753 # Speed up: don't consider the non `#define' lines. 8455 echo '/^[ ]*#[]*define/!b' >>$CONFIG_STATUS7754 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8456 7755 # Work around the forget-to-reset-the-flag bug. 8457 7756 echo 't clr' >>$CONFIG_STATUS … … 8480 7779 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8481 7780 # Speed up: don't consider the non `#undef' 8482 echo '/^[ ]*#[]*undef/!b' >>$CONFIG_STATUS7781 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8483 7782 # Work around the forget-to-reset-the-flag bug. 8484 7783 echo 't clr' >>$CONFIG_STATUS … … 8514 7813 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8515 7814 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8516 8517 8518 8519 7815 X"$ac_file" : 'X\(//\)[^/]' \| \ 7816 X"$ac_file" : 'X\(//\)$' \| \ 7817 X"$ac_file" : 'X\(/\)' \| \ 7818 . : '\(.\)' 2>/dev/null || 8520 7819 echo X"$ac_file" | 8521 7820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8533 7832 as_dir=`(dirname "$as_dir") 2>/dev/null || 8534 7833 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8535 8536 8537 8538 7834 X"$as_dir" : 'X\(//\)[^/]' \| \ 7835 X"$as_dir" : 'X\(//\)$' \| \ 7836 X"$as_dir" : 'X\(/\)' \| \ 7837 . : '\(.\)' 2>/dev/null || 8539 7838 echo X"$as_dir" | 8540 7839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8568 7867 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 8569 7868 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8570 8571 8572 8573 7869 X$ac_file : 'X\(//\)[^/]' \| \ 7870 X$ac_file : 'X\(//\)$' \| \ 7871 X$ac_file : 'X\(/\)' \| \ 7872 . : '\(.\)' 2>/dev/null || 8574 7873 echo X$ac_file | 8575 7874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8590 7889 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 8591 7890 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8592 8593 8594 8595 7891 X"$ac_dest" : 'X\(//\)[^/]' \| \ 7892 X"$ac_dest" : 'X\(//\)$' \| \ 7893 X"$ac_dest" : 'X\(/\)' \| \ 7894 . : '\(.\)' 2>/dev/null || 8596 7895 echo X"$ac_dest" | 8597 7896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8600 7899 /^X\(\/\).*/{ s//\1/; q; } 8601 7900 s/.*/./; q'` 8602 { if $as_mkdir_p; then8603 mkdir -p "$ac_dir"8604 else8605 as_dir="$ac_dir"8606 as_dirs=8607 while test ! -d "$as_dir"; do8608 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 done8622 test ! -n "$as_dirs" || mkdir $as_dirs8623 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58624 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}8625 { (exit 1); exit 1; }; }; }8626 8627 7901 ac_builddir=. 8628 7902 … … 8650 7924 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8651 7925 esac 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. 7928 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 7929 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 7930 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 7931 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 8691 7932 8692 7933 … … 8706 7947 dirpart=`(dirname "$mf") 2>/dev/null || 8707 7948 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8708 8709 8710 8711 7949 X"$mf" : 'X\(//\)[^/]' \| \ 7950 X"$mf" : 'X\(//\)$' \| \ 7951 X"$mf" : 'X\(/\)' \| \ 7952 . : '\(.\)' 2>/dev/null || 8712 7953 echo X"$mf" | 8713 7954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8722 7963 # Extract the definition of DEP_FILES from the Makefile without 8723 7964 # running `make'. 8724 DEPDIR=`sed -n 's/^DEPDIR =//p' < "$mf"`7965 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 8725 7966 test -z "$DEPDIR" && continue 8726 7967 # 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"` 8728 7969 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 8729 7970 # We invoke sed twice because it is the simplest approach to 8730 7971 # changing $(DEPDIR) to its actual value in the expansion. 8731 for file in `sed -n '7972 for file in `sed -n -e ' 8732 7973 /^DEP_FILES = .*\\\\$/ { 8733 7974 s/^DEP_FILES = // … … 8745 7986 fdir=`(dirname "$file") 2>/dev/null || 8746 7987 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8747 8748 8749 8750 7988 X"$file" : 'X\(//\)[^/]' \| \ 7989 X"$file" : 'X\(//\)$' \| \ 7990 X"$file" : 'X\(/\)' \| \ 7991 . : '\(.\)' 2>/dev/null || 8751 7992 echo X"$file" | 8752 7993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8764 8005 as_dir=`(dirname "$as_dir") 2>/dev/null || 8765 8006 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8766 8767 8768 8769 8007 X"$as_dir" : 'X\(//\)[^/]' \| \ 8008 X"$as_dir" : 'X\(//\)$' \| \ 8009 X"$as_dir" : 'X\(/\)' \| \ 8010 . : '\(.\)' 2>/dev/null || 8770 8011 echo X"$as_dir" | 8771 8012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } -
orxonox/branches/osX/configure.ac
r2983 r2984 150 150 151 151 ### OS X ### 152 * Darwin*)152 *darwin*) 153 153 echo "OS X detected" 154 154 … … 163 163 164 164 LIBS="$LIBS -framework OpenGL" 165 166 # checking for SDL-headers167 AC_CHECK_HEADERS(SDL/SDL.h ,,168 [AC_MSG_ERROR([cannot find SDL headers]) ])169 165 170 166 ## checking for SDL
Note: See TracChangeset
for help on using the changeset viewer.