mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 18:01:08 +00:00
Added --disable-sound option
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28514 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cad883ffec
commit
2dee4c9e9b
3 changed files with 18 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-08-23 03:52-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
|
* configure: Regenerate
|
||||||
|
* configure.ac: Added --disable-sound option.
|
||||||
|
|
||||||
2009-08-23 03:45-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
2009-08-23 03:45-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
* config.make.in: Add BUILD_SOUNDS
|
* config.make.in: Add BUILD_SOUNDS
|
||||||
|
|
10
configure
vendored
10
configure
vendored
|
@ -1283,6 +1283,7 @@ Optional Features:
|
||||||
--disable-ungif Disable libungif-based GIF support
|
--disable-ungif Disable libungif-based GIF support
|
||||||
--enable-libgif Enable libgif-based GIF support
|
--enable-libgif Enable libgif-based GIF support
|
||||||
--disable-aspell Disable aspell for spellchecker
|
--disable-aspell Disable aspell for spellchecker
|
||||||
|
--disable-sound Disable sound
|
||||||
--disable-speech Disable speech server
|
--disable-speech Disable speech server
|
||||||
--disable-cups Disable cups printing support
|
--disable-cups Disable cups printing support
|
||||||
|
|
||||||
|
@ -6957,6 +6958,13 @@ fi
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# NSSound
|
# NSSound
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
# Check whether --enable-sound was given.
|
||||||
|
if test "${enable_sound+set}" = set; then
|
||||||
|
enableval=$enable_sound;
|
||||||
|
else
|
||||||
|
enable_sound=yes
|
||||||
|
fi
|
||||||
|
|
||||||
# Initialize to nothing...
|
# Initialize to nothing...
|
||||||
BUILD_SOUNDS=
|
BUILD_SOUNDS=
|
||||||
# Check for the libs...
|
# Check for the libs...
|
||||||
|
@ -7095,7 +7103,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Only if we have both...
|
# Only if we have both...
|
||||||
if test $have_sndfile = yes -a $have_ao = yes; then
|
if test $have_sndfile = yes -a $have_ao = yes -a $enable_sound = yes; then
|
||||||
BUILD_SOUNDS="Sounds"
|
BUILD_SOUNDS="Sounds"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -354,13 +354,16 @@ AC_CHECK_LIB(icns, icns_read_family_from_file)
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# NSSound
|
# NSSound
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
AC_ARG_ENABLE(sound,
|
||||||
|
[ --disable-sound Disable sound],,
|
||||||
|
enable_sound=yes)
|
||||||
# Initialize to nothing...
|
# Initialize to nothing...
|
||||||
BUILD_SOUNDS=
|
BUILD_SOUNDS=
|
||||||
# Check for the libs...
|
# Check for the libs...
|
||||||
AC_CHECK_LIB(sndfile, sf_seek, have_sndfile=yes, have_sndfile=no)
|
AC_CHECK_LIB(sndfile, sf_seek, have_sndfile=yes, have_sndfile=no)
|
||||||
AC_CHECK_LIB(ao, ao_open_live, have_ao=yes, have_ao=no)
|
AC_CHECK_LIB(ao, ao_open_live, have_ao=yes, have_ao=no)
|
||||||
# Only if we have both...
|
# Only if we have both...
|
||||||
if test $have_sndfile = yes -a $have_ao = yes; then
|
if test $have_sndfile = yes -a $have_ao = yes -a $enable_sound = yes; then
|
||||||
BUILD_SOUNDS="Sounds"
|
BUILD_SOUNDS="Sounds"
|
||||||
fi
|
fi
|
||||||
AC_SUBST(BUILD_SOUNDS)
|
AC_SUBST(BUILD_SOUNDS)
|
||||||
|
|
Loading…
Reference in a new issue