Annotation of /trunk/tuxracer/patches/tuxracer-0.61-configure.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 1690 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 1690 byte(s)
-import
1 | niro | 153 | --- configure.in.orig 2003-08-18 23:19:45.174427928 -0400 |
2 | +++ configure.in 2003-08-18 23:22:48.107617856 -0400 | ||
3 | @@ -47,11 +47,6 @@ | ||
4 | TR_CXXFLAGS="-O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations" | ||
5 | TR_LIBS="" | ||
6 | |||
7 | -case "$host" in | ||
8 | -i*86-*-*) TR_CFLAGS="$TR_CFLAGS -malign-loops=2 -malign-jumps=2 -malign-functions=2"; | ||
9 | - TR_CXXFLAGS="$TR_CXXFLAGS -malign-loops=2 -malign-jumps=2 -malign-functions=2";; | ||
10 | -alpha*-*-linux-*) TR_CFLAGS="$TR_CFLAGS -mieee";; | ||
11 | -esac | ||
12 | |||
13 | AC_ARG_ENABLE(debug, [ --enable-debug Produce an executable with debugging symbols], | ||
14 | [TR_CFLAGS="-g -Wall"; TR_CXXFLAGS="-g -Wall"], | ||
15 | @@ -468,9 +468,6 @@ | ||
16 | glx_h_up_to_date=yes, glx_h_up_to_date=no ) | ||
17 | AC_MSG_RESULT([$glx_h_up_to_date]) | ||
18 | |||
19 | - if test "x$glx_h_up_to_date" = "xno" ; then | ||
20 | - AC_MSG_ERROR([Your copy of glx.h is out of date. You can get a more recent copy from the latest Mesa distribution (http://mesa3d.sourceforge.net).]) | ||
21 | - fi | ||
22 | fi | ||
23 | |||
24 | dnl Check for glext.h | ||
25 | @@ -592,7 +584,11 @@ | ||
26 | dnl -------------------------------------------------------------------------- | ||
27 | |||
28 | dnl Turn use of stencil buffer on/off | ||
29 | -AC_ARG_ENABLE(stencil-buffer,[ --enable-stencil-buffer Use if your hardware has a stencil buffer],TR_CPPFLAGS="$TR_CPPFLAGS -DUSE_STENCIL_BUFFER") | ||
30 | +AC_ARG_ENABLE(stencil-buffer,[ --enable-stencil-buffer Use if your hardware has a stencil buffer], | ||
31 | +use_stencil=$enableval) | ||
32 | +if test "x$use_stencil" = "xyes" ; then | ||
33 | + TR_CPPFLAGS="$TR_CPPFLAGS -DUSE_STENCIL_BUFFER" | ||
34 | +fi | ||
35 | |||
36 | dnl Specify data directory | ||
37 | AC_ARG_WITH(data-dir,[ --with-data-dir=PATH Default tuxracer data directory],TR_CPPFLAGS="$TR_CPPFLAGS -DDATA_DIR=\\\"$withval\\\"") |