blob: 88709500dd3217cf20186f0dcb3132b82c545c2c (
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
|
--- gnome-games-2.11.4/configure.in 2005-08-08 03:42:16.000000000 -0400
+++ gnome-games-2.11.4.new/configure.in 2005-08-21 13:33:14.000000000 -0400
@@ -90,11 +90,17 @@
AC_SUBST(GLADE_LIBS)
## Flags for Howl. Use of this library is optional.
-PKG_CHECK_MODULES(HOWL, howl >= 0.9.6, [ HOWL_PRESENT="yes" ],
- [ CFLAGS="$CFLAGS -DNO_HOWL"
+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)
+ 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"
|