-# The user can specify the RPM release number in the environment (e.g. '1')
-AC_ARG_VAR([RPM_RELEASE], [Release number to build RPMs with [1]])
-AS_IF([$TEST "x$RPM_RELEASE" = x], [RPM_RELEASE=1])
+
+### SOUND LIBRARY TO USE ######################################################
+
+AC_ARG_WITH([gstreamer],
+ [AS_HELP_STRING([--without-gstreamer], [Disable GStreamer sound])],
+ [],
+ [with_gstreamer=yes])
+SOUND_MODULE=
+AS_IF([$TEST "x$with_gstreamer" != xno],
+ [AC_DEFINE([GSTREAMER_SOUND], [1], [Define to enable sound support with GStreamer])
+ SOUND_MODULE=gstreamer-0.10])