diff options
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 ############################################ |