configure.ac: Applied patch from bug #143659, making default and added code for OS/X.

Original commit message from CVS:
* configure.ac:  Applied patch from bug #143659, making default
sources and sinks OS-dependent (for Solaris), and added code
for OS/X.
* gconf/gstreamer.schemas.in: use OS-dependent sinks in gconf.
This commit is contained in:
David Schleef 2004-12-14 06:43:30 +00:00
parent 2e32ed0f5b
commit 13dfcfb88f
2 changed files with 31 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2004-12-13 David Schleef <ds@schleef.org>
* configure.ac: Applied patch from bug #143659, making default
sources and sinks OS-dependent (for Solaris), and added code
for OS/X.
* gconf/gstreamer.schemas.in: use OS-dependent sinks in gconf.
2004-12-13 Stephane Loeuillet <stephane.loeuillet@tiscali.fr> 2004-12-13 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
* gst-libs/gst/riff/riff-media.c: * gst-libs/gst/riff/riff-media.c:

View file

@ -100,6 +100,30 @@ fi
dnl Check for FIONREAD ioctl declaration : dnl Check for FIONREAD ioctl declaration :
GST_CHECK_FIONREAD() GST_CHECK_FIONREAD()
DEFAULT_AUDIOSINK="osssink"
DEFAULT_VIDEOSINK="xvimagesink"
DEFAULT_AUDIOSRC="osssrc"
DEFAULT_VIDEOSRC="v4lsrc"
DEFAULT_VISUALIZER="goom"
case "$host" in
*-sun-* | *pc-solaris* )
DEFAULT_AUDIOSINK="sunaudiosink"
DEFAULT_VIDEOSINK="ximagesink"
DEFAULT_AUDIOSRC="sunaudiosrc"
;;
*-darwin* )
DEFAULT_AUDIOSINK="osxaudiosink"
DEFAULT_AUDIOSRC="osxaudiosrc"
DEFAULT_VIDEOSINK="osxvideosink"
;;
esac
AC_SUBST(DEFAULT_AUDIOSINK)
AC_SUBST(DEFAULT_AUDIOSRC)
AC_SUBST(DEFAULT_VIDEOSINK)
AC_SUBST(DEFAULT_VIDEOSRC)
AC_SUBST(DEFAULT_VISUALIZER)
dnl ############################################ dnl ############################################
dnl # Super Duper options for plug-in building # dnl # Super Duper options for plug-in building #
dnl ############################################ dnl ############################################