diff options
author | David Schleef <ds@schleef.org> | 2004-12-14 06:43:30 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2004-12-14 06:43:30 +0000 |
commit | 3dd58c9cf6320daef51dcc65bfc7cddbdd727b4b (patch) | |
tree | ddb9c07b122a5ef6573943d9a04eb61b3188a04a /configure.ac | |
parent | 7ee764ec09cf292cd8dff74cce180e54f4841830 (diff) | |
download | gst-plugins-bad-3dd58c9cf6320daef51dcc65bfc7cddbdd727b4b.tar.gz gst-plugins-bad-3dd58c9cf6320daef51dcc65bfc7cddbdd727b4b.tar.bz2 gst-plugins-bad-3dd58c9cf6320daef51dcc65bfc7cddbdd727b4b.zip |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2d64fbec..72514037 100644 --- a/configure.ac +++ b/configure.ac @@ -100,6 +100,30 @@ fi dnl Check for FIONREAD ioctl declaration : 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 # Super Duper options for plug-in building # dnl ############################################ |