mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 10:10:59 +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>
|
||||
|
||||
* 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
|
||||
--enable-libgif Enable libgif-based GIF support
|
||||
--disable-aspell Disable aspell for spellchecker
|
||||
--disable-sound Disable sound
|
||||
--disable-speech Disable speech server
|
||||
--disable-cups Disable cups printing support
|
||||
|
||||
|
@ -6957,6 +6958,13 @@ fi
|
|||
#--------------------------------------------------------------------
|
||||
# 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...
|
||||
BUILD_SOUNDS=
|
||||
# Check for the libs...
|
||||
|
@ -7095,7 +7103,7 @@ else
|
|||
fi
|
||||
|
||||
# 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"
|
||||
fi
|
||||
|
||||
|
|
|
@ -354,13 +354,16 @@ AC_CHECK_LIB(icns, icns_read_family_from_file)
|
|||
#--------------------------------------------------------------------
|
||||
# NSSound
|
||||
#--------------------------------------------------------------------
|
||||
AC_ARG_ENABLE(sound,
|
||||
[ --disable-sound Disable sound],,
|
||||
enable_sound=yes)
|
||||
# Initialize to nothing...
|
||||
BUILD_SOUNDS=
|
||||
# Check for the libs...
|
||||
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)
|
||||
# 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"
|
||||
fi
|
||||
AC_SUBST(BUILD_SOUNDS)
|
||||
|
|
Loading…
Reference in a new issue