mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Switch to disable gsnd.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14424 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
01765b367c
commit
f11cd9a3e5
3 changed files with 21 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-09-09 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* configure.ac: Switch to disaple gsnd.
|
||||
|
||||
2002-09-07 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSBrowser.m: Convert comments for gsdoc.
|
||||
|
|
14
configure
vendored
14
configure
vendored
|
@ -824,6 +824,11 @@ if test -n "$ac_init_help"; then
|
|||
|
||||
cat <<\_ACEOF
|
||||
|
||||
Optional Features:
|
||||
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||
--disable-gsnd Disable gsnd server
|
||||
|
||||
Optional Packages:
|
||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||
|
@ -3174,6 +3179,13 @@ ADDITIONAL_DEPENDS="$GRAPHIC_LIBS"
|
|||
#--------------------------------------------------------------------
|
||||
# NSSound
|
||||
#--------------------------------------------------------------------
|
||||
# Check whether --enable-gsnd or --disable-gsnd was given.
|
||||
if test "${enable_gsnd+set}" = set; then
|
||||
enableval="$enable_gsnd"
|
||||
|
||||
else
|
||||
enable_gsnd=yes
|
||||
fi;
|
||||
audio_ok=no
|
||||
BUILD_GSND=
|
||||
echo "$as_me:$LINENO: checking for afGetVirtualFrameSize in -laudiofile" >&5
|
||||
|
@ -3237,7 +3249,7 @@ else
|
|||
audio_ok=no
|
||||
fi
|
||||
|
||||
if test $audio_ok = yes; then
|
||||
if test $audio_ok = yes -a $enable_gsnd = yes; then
|
||||
|
||||
for ac_header in audiofile.h
|
||||
do
|
||||
|
|
|
@ -208,10 +208,13 @@ ADDITIONAL_DEPENDS="$GRAPHIC_LIBS"
|
|||
#--------------------------------------------------------------------
|
||||
# NSSound
|
||||
#--------------------------------------------------------------------
|
||||
AC_ARG_ENABLE(gsnd,
|
||||
[ --disable-gsnd Disable gsnd server],,
|
||||
enable_gsnd=yes)
|
||||
audio_ok=no
|
||||
BUILD_GSND=
|
||||
AC_CHECK_LIB(audiofile, afGetVirtualFrameSize, audio_ok=yes, audio_ok=no)
|
||||
if test $audio_ok = yes; then
|
||||
if test $audio_ok = yes -a $enable_gsnd = yes; then
|
||||
AC_CHECK_HEADERS(audiofile.h)
|
||||
ADDITIONAL_DEPENDS="$ADDITIONAL_DEPENDS -laudiofile"
|
||||
BUILD_GSND=gsnd
|
||||
|
|
Loading…
Reference in a new issue