--- warzone-2.0.3/configure.ac +++ warzone-2.0.3/configure.ac @@ -50,29 +50,29 @@ AC_MSG_RESULT([no]) fi -# --without-opengl will build without opengl +# --disable-opengl will build without opengl # OpenGL is not anymore an option # At least till we got a working software renderer -#AC_ARG_WITH(opengl, -#[ --with-opengl use OpenGL to accelerate graphics [[auto]]], -#[ opengl=$withval ], [ opengl=maybe ]) +#AC_ARG_ENABLE(opengl, +#[AC_HELP_STRING([--enable-opengl],[use OpenGL to accelerate graphics [auto]])], +#[ opengl=$enableval ], [ opengl=maybe ]) -# --without-openal will build without OpenAL +# --disable-openal will build without OpenAL # Commented out as OpenAL is not curently an option, # but it will need to become optional someday. -#AC_ARG_WITH(openal, -#[ --with-openal use OpenAL for sound [[auto]]], -#[ openal=$withval ], [ openal=maybe ]) - -# --without-ogg will build without Ogg vorbis support -AC_ARG_WITH(ogg, -[ --with-ogg built support for Ogg files [[auto]]], -[ ogg=$withval ], [ ogg=maybe ]) - -# --without-mp3 will build without MP3 support -AC_ARG_WITH(mp3, -[ --with-mp3 built support for Mp3 files [[auto]]], -[ mp3=$withval ], [ mp3=maybe ]) +#AC_ARG_ENABLE(openal, +#[AC_HELP_STRING([--enable-openal],[use OpenAL for sound [auto]])], +#[ openal=$enableval ], [ openal=maybe ]) + +# --disable-ogg will build without Ogg vorbis support +AC_ARG_ENABLE(ogg, +[AC_HELP_STRING([--enable-ogg],[built support for Ogg files [auto]])], +[ ogg=$enableval ], [ ogg=maybe ]) + +# --disable-mp3 will build without MP3 support +AC_ARG_ENABLE(mp3, +[AC_HELP_STRING([--enable-mp3],[built support for Mp3 files [auto]])], +[ mp3=$enableval ], [ mp3=maybe ]) # windows conditional case $host_os in