1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Make configure --help look pretty

svn path=/trunk/m4/; revision=4941
This commit is contained in:
brendan 2003-06-13 19:08:32 +00:00
parent 346845b22b
commit d1f807ace8
2 changed files with 26 additions and 8 deletions

View File

@ -9,10 +9,18 @@ AC_DEFUN(XIPH_PATH_OGG,
[dnl
dnl Get the cflags and libraries
dnl
AC_ARG_WITH(ogg,[ --with-ogg=PFX Prefix where libogg is installed (optional)], ogg_prefix="$withval", ogg_prefix="")
AC_ARG_WITH(ogg-libraries,[ --with-ogg-libraries=DIR Directory where libogg library is installed (optional)], ogg_libraries="$withval", ogg_libraries="")
AC_ARG_WITH(ogg-includes,[ --with-ogg-includes=DIR Directory where libogg header files are installed (optional)], ogg_includes="$withval", ogg_includes="")
AC_ARG_ENABLE(oggtest, [ --disable-oggtest Do not try to compile and run a test Ogg program],, enable_oggtest=yes)
AC_ARG_WITH([ogg],
[ --with-ogg=PFX prefix where libogg is installed (optional)],
[ogg_prefix="$withval"], [ogg_prefix=""])
AC_ARG_WITH([ogg-libraries],
[ --with-ogg-libraries=DIR directory where libogg library is installed (optional)], [ogg_libraries="$withval"], [ogg_libraries=""])
AC_ARG_WITH([ogg-includes],
[ --with-ogg-includes=DIR directory where libogg header files are
installed (optional)],
[ogg_includes="$withval"], [ogg_includes=""])
AC_ARG_ENABLE([oggtest],
[ --disable-oggtest do not try to compile and run a test Ogg program],,
[enable_oggtest=yes])
if test "x$ogg_libraries" != "x" ; then
OGG_LIBS="-L$ogg_libraries"

View File

@ -10,10 +10,20 @@ AC_DEFUN(XIPH_PATH_VORBIS,
[dnl
dnl Get the cflags and libraries
dnl
AC_ARG_WITH(vorbis,[ --with-vorbis=PFX Prefix where libvorbis is installed (optional)], vorbis_prefix="$withval", vorbis_prefix="")
AC_ARG_WITH(vorbis-libraries,[ --with-vorbis-libraries=DIR Directory where libvorbis library is installed (optional)], vorbis_libraries="$withval", vorbis_libraries="")
AC_ARG_WITH(vorbis-includes,[ --with-vorbis-includes=DIR Directory where libvorbis header files are installed (optional)], vorbis_includes="$withval", vorbis_includes="")
AC_ARG_ENABLE(vorbistest, [ --disable-vorbistest Do not try to compile and run a test Vorbis program],, enable_vorbistest=yes)
AC_ARG_WITH([vorbis],
[ --with-vorbis=PFX prefix where libvorbis is installed (optional)],
[vorbis_prefix="$withval"], [vorbis_prefix=""])
AC_ARG_WITH([vorbis-libraries],
[ --with-vorbis-libraries=DIR directory where libvorbis library is
installed (optional)],
[vorbis_libraries="$withval"], [vorbis_libraries=""])
AC_ARG_WITH([vorbis-includes],
[ --with-vorbis-includes=DIR directory where libvorbis header files are
installed (optional)],
[vorbis_includes="$withval"], [vorbis_includes=""])
AC_ARG_ENABLE([vorbistest],
[ --disable-vorbistest do not try to compile and run a test Vorbis program],,
[enable_vorbistest=yes])
if test "x$vorbis_libraries" != "x" ; then
VORBIS_LIBS="-L$vorbis_libraries"