Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 6920 | Differences between
and this patch

Collapse All | Expand All

(-)libgnome-2.8.0/configure.in (-9 / +29 lines)
Lines 112-126 dnl We first check for esound and audiof Link Here
112
dnl support built in)
112
dnl support built in)
113
dnl
113
dnl
114
114
115
SOUND_MODULES="esound >= esound_required_version dnl
115
AC_ARG_WITH(esound,
116
 audiofile >= audiofile_required_version"
116
	AC_HELP_STRING([--without-esound],
117
PKG_CHECK_MODULES(SOUND_TEST, [$SOUND_MODULES],
117
		[Disable support for ESD]) )
118
[
118
119
  AC_DEFINE(HAVE_LIBAUDIOFILE,, [Compile with audiofile support])
119
if test "$with_esound" != "no"; then
120
  AC_DEFINE(HAVE_ESD,, [Compile with esd support])
120
	SOUND_MODULES="$SOUND_MODULES dnl
121
],[
121
		"
122
  SOUND_MODULES=""
122
	PKG_CHECK_MODULES(SOUND_TEST, [esound >= esound_required_version],
123
])
123
	[
124
		AC_DEFINE(HAVE_ESD,, [Compile with esd support])
125
		SOUND_MODULES="$SOUND_MODULES dnl
126
			esound >= esound_required_version"
127
	])
128
fi
129
130
AC_ARG_WITH(audiofile,
131
	AC_HELP_STRING([--without-audiofile],
132
		[Disable support for AudioFile]) )
133
134
if test "$with_audiofile" != "no"; then
135
	SOUND_MODULES="$SOUND_MODULES dnl
136
		"
137
	PKG_CHECK_MODULES(SOUND_TEST, [audiofile >= audiofile_required_version],
138
	[
139
		AC_DEFINE(HAVE_LIBAUDIOFILE,, [Compile with audiofile support])
140
		SOUND_MODULES="$SOUND_MODULES dnl
141
			audiofile >= audiofile_required_version"
142
	])
143
fi
124
144
125
PKG_CHECK_MODULES(LIBGNOME, dnl
145
PKG_CHECK_MODULES(LIBGNOME, dnl
126
 [glib-2.0 >= glib_required_version dnl
146
 [glib-2.0 >= glib_required_version dnl

Return to bug 6920