[dasher] Prevent pkg_config from bailing out if it can't find gnome speech.
- From: Patrick Welche <pwelche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dasher] Prevent pkg_config from bailing out if it can't find gnome speech.
- Date: Thu, 19 May 2011 16:48:03 +0000 (UTC)
commit 70f64297fbe4510923567f0931b3f159d90cc8f5
Author: Patrick Welche <prlw1 cam ac uk>
Date: Thu May 19 17:47:32 2011 +0100
Prevent pkg_config from bailing out if it can't find gnome speech.
configure.ac | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 64be616..6918021 100644
--- a/configure.ac
+++ b/configure.ac
@@ -280,12 +280,13 @@ AS_IF(
AS_IF(
[test "x$enable_speech" = xgnomespeech -o "x$enable_speech" = xyes -a $speech_module = none],
[PKG_CHECK_MODULES([gnome_speech],
- [gnome-speech-1.0 bonobo-activation-2.0 libbonobo-2.0 ORBit-2.0])
- AC_DEFINE([GNOME_SPEECH], 1, [gnome_speech-1 libraries are present])
- SPEECH_CPPFLAGS=$gnome_speech_CFLAGS
- SPEECH_LDFLAGS=$gnome_speech_LIBS
- SPEECH_LIBS=$gnome_speech_LIBS
- speech_module=gnomespeech])
+ [gnome-speech-1.0 bonobo-activation-2.0 libbonobo-2.0 ORBit-2.0],
+ [AC_DEFINE([GNOME_SPEECH], 1, [gnome_speech-1 libraries are present])
+ SPEECH_CPPFLAGS=$gnome_speech_CFLAGS
+ SPEECH_LDFLAGS=$gnome_speech_LIBS
+ SPEECH_LIBS=$gnome_speech_LIBS
+ speech_module=gnomespeech],
+ [:])])
AS_IF(
[test $speech_module = none],
[AS_CASE(["x$enable_speech"],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]