summaryrefslogtreecommitdiffstats
path: root/m4/gst-sdl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/gst-sdl.m4')
-rw-r--r--m4/gst-sdl.m420
1 files changed, 14 insertions, 6 deletions
diff --git a/m4/gst-sdl.m4 b/m4/gst-sdl.m4
index a62b33c2..5284fae0 100644
--- a/m4/gst-sdl.m4
+++ b/m4/gst-sdl.m4
@@ -14,12 +14,20 @@ AC_DEFUN(AM_PATH_SDL,
[dnl
dnl Get the cflags and libraries from the sdl-config script
dnl
-AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)],
- sdl_prefix="$withval", sdl_prefix="")
-AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
- sdl_exec_prefix="$withval", sdl_exec_prefix="")
-AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program],
- , enable_sdltest=yes)
+AC_ARG_WITH(sdl-prefix,
+ AC_HELP_STRING([--with-sdl-prefix=PFX],
+ [prefix where SDL is installed (optional)]),
+ sdl_prefix="$withval", sdl_prefix="")
+
+AC_ARG_WITH(sdl-exec-prefix,
+ AC_HELP_STRING([--with-sdl-exec-prefix=PFX],
+ [exec prefix where SDL is installed (optional)]),
+ sdl_exec_prefix="$withval", sdl_exec_prefix="")
+
+AC_ARG_ENABLE(sdltest,
+ AC_HELP_STRING([--disable-sdltest],
+ [do not try to compile and run a test SDL program]),
+ , enable_sdltest=yes)
if test x$sdl_exec_prefix != x ; then
sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"