summaryrefslogtreecommitdiff
blob: df2c629c520c876e39d6f72eec0288bc1392d4b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- gnome-games-2.9.6/configure.in	2005-02-08 16:55:35.000000000 +0800
+++ gnome-games-2.9.6-nohowl/configure.in	2005-02-13 18:39:57.424458696 +0800
@@ -85,11 +85,17 @@
 AC_SUBST(GNOME_GAMES_CFLAGS)
 AC_SUBST(GNOME_GAMES_LIBS)
 
-PKG_CHECK_MODULES(HOWL, howl >= 0.9.6, [ HOWL_PRESENT="yes" ],
-		  [ CFLAGS="$CFLAGS -DNO_HOWL"
-	            HOWL_PRESENT="no" ])
-AC_SUBST(HOWL_CFLAGS)
-AC_SUBST(HOWL_LIBS)
+AC_ARG_ENABLE(howl, [  --disable-howl     build without howl support])
+if test "x$enable_howl" != "xno"; then
+   PKG_CHECK_MODULES(HOWL, howl >= 0.9.6, [ HOWL_PRESENT="yes" ],
+   		     [ CFLAGS="$CFLAGS -DNO_HOWL"
+		       HOWL_PRESENT="no" ])
+   AC_SUBST(HOWL_CFLAGS)
+   AC_SUBST(HOWL_LIBS)
+else
+   CFLAGS="$CFLAGS -DNO_HOWL"
+   HOWL_PRESENT="no"
+fi
 
 GNOME_GAMES_CXXFLAGS="$GNOME_GAMES_CFLAGS -I\$(top_srcdir)/libgames-support $WARN_CXXFLAGS"
 GNOME_GAMES_CFLAGS="$GNOME_GAMES_CFLAGS -I\$(top_srcdir)/libgames-support $WARN_CFLAGS"