1 --- warzone-2.0.3/configure.ac
2 +++ warzone-2.0.3/configure.ac
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
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 ])
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.
23 -#[ --with-openal use OpenAL for sound [[auto]]],
24 -#[ openal=$withval ], [ openal=maybe ])
26 -# --without-ogg will build without Ogg vorbis support
28 -[ --with-ogg built support for Ogg files [[auto]]],
29 -[ ogg=$withval ], [ ogg=maybe ])
31 -# --without-mp3 will build without MP3 support
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 ])
39 +# --disable-ogg will build without Ogg vorbis support
41 +[AC_HELP_STRING([--enable-ogg],[built support for Ogg files [auto]])],
42 +[ ogg=$enableval ], [ ogg=maybe ])
44 +# --disable-mp3 will build without MP3 support
46 +[AC_HELP_STRING([--enable-mp3],[built support for Mp3 files [auto]])],
47 +[ mp3=$enableval ], [ mp3=maybe ])