]> git.wh0rd.org - patches.git/blob - warzone-configure-enable.patch
more random patches. who knows.
[patches.git] / warzone-configure-enable.patch
1 --- warzone-2.0.3/configure.ac
2 +++ warzone-2.0.3/configure.ac
3 @@ -50,29 +50,29 @@
4 AC_MSG_RESULT([no])
5 fi
6
7 -# --without-opengl will build without opengl
8 +# --disable-opengl will build without opengl
9 # OpenGL is not anymore an option
10 # At least till we got a working software renderer
11 -#AC_ARG_WITH(opengl,
12 -#[ --with-opengl use OpenGL to accelerate graphics [[auto]]],
13 -#[ opengl=$withval ], [ opengl=maybe ])
14 +#AC_ARG_ENABLE(opengl,
15 +#[AC_HELP_STRING([--enable-opengl],[use OpenGL to accelerate graphics [auto]])],
16 +#[ opengl=$enableval ], [ opengl=maybe ])
17
18 -# --without-openal will build without OpenAL
19 +# --disable-openal will build without OpenAL
20 # Commented out as OpenAL is not curently an option,
21 # but it will need to become optional someday.
22 -#AC_ARG_WITH(openal,
23 -#[ --with-openal use OpenAL for sound [[auto]]],
24 -#[ openal=$withval ], [ openal=maybe ])
25 -
26 -# --without-ogg will build without Ogg vorbis support
27 -AC_ARG_WITH(ogg,
28 -[ --with-ogg built support for Ogg files [[auto]]],
29 -[ ogg=$withval ], [ ogg=maybe ])
30 -
31 -# --without-mp3 will build without MP3 support
32 -AC_ARG_WITH(mp3,
33 -[ --with-mp3 built support for Mp3 files [[auto]]],
34 -[ mp3=$withval ], [ mp3=maybe ])
35 +#AC_ARG_ENABLE(openal,
36 +#[AC_HELP_STRING([--enable-openal],[use OpenAL for sound [auto]])],
37 +#[ openal=$enableval ], [ openal=maybe ])
38 +
39 +# --disable-ogg will build without Ogg vorbis support
40 +AC_ARG_ENABLE(ogg,
41 +[AC_HELP_STRING([--enable-ogg],[built support for Ogg files [auto]])],
42 +[ ogg=$enableval ], [ ogg=maybe ])
43 +
44 +# --disable-mp3 will build without MP3 support
45 +AC_ARG_ENABLE(mp3,
46 +[AC_HELP_STRING([--enable-mp3],[built support for Mp3 files [auto]])],
47 +[ mp3=$enableval ], [ mp3=maybe ])
48
49 # windows conditional
50 case $host_os in