]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
configure.ac: fix checks for para_krell
authorAndre <maan@meins.(none)>
Fri, 12 Jan 2007 22:28:25 +0000 (23:28 +0100)
committerAndre <maan@meins.(none)>
Fri, 12 Jan 2007 22:28:25 +0000 (23:28 +0100)
NEWS
configure.ac

diff --git a/NEWS b/NEWS
index ccfdf72000154b9af0e45bcd5a3413e70f16ef85..5e450c69c85e2cb08193e5c36b2283fd63ec0cb5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,14 +4,22 @@ NEWS
 ----------------------------------------------
 0.2.15 (to be announced) "inductive resonance"
 ----------------------------------------------
+
+Minor improvements and a bunch of bug fixes.
+
        - para_server: The server.users file is only read once on server
          startup rather than for each connection
        - mp3dec: Fix decoding of corrupt mp3 files
+       - afs (audio file sender) is now called vss (virtual streaming
+         system). Consequently, the permission flags specified in
+         ~/.paraslash/server.users have also changed: AFS_READ and AFS_WRITE
+         become VSS_READ and VSS_WRITE respectively.
        - para_audiod/para_filter: Fix a bug that caused the last chunk
          of audio data not being written under certain circumstances
        - audiod: compute the difference of server time and local time
          correctly
        - documentation improvements
+       - configure.ac: fix checks for para_krell
 
 -------------------------------------------
 0.2.14 (2006-10-15) "transient singularity"
index 49770573d4ee8c597d58454871627c0c1cc2c0b1..e980b080b1a08c7e3bce92dedb61f6aaa79e8639 100644 (file)
@@ -185,17 +185,26 @@ if test ${have_core_audio} = yes; then
        AC_DEFINE(HAVE_CORE_AUDIO, 1, define to 1 on Mac Os X)
 fi
 ########################################################################### gtk2
-pkg_modules="gtk+-2.0 >= 2.0.0"
 build_para_krell="yes"
+OLD_CPPFLAGS="$CPPFLAGS"
+OLD_LD_FLAGS="$LDFLAGS"
+OLD_LIBS="$LIBS"
+pkg_modules="gtk+-2.0 >= 2.0.0"
+PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.0.4], [], [build_para_krell="no"])
 PKG_CHECK_MODULES(GTK, [$pkg_modules], [], [build_para_krell="no"])
+CPPFLAGS="$GTK_CFLAGS $GLIB_CFLAGS"
+LDFLAGS="$LDFLAGS $GTK_LIBS"
 AC_CHECK_HEADER(gkrellm2/gkrellm.h, [], [build_para_krell="no"])
-if test build_para_krell = "yes"; then
+if test "$build_para_krell" = "yes"; then
        AC_SUBST(GTK_CFLAGS)
        AC_SUBST(GTK_LIBS)
        extras="$extras para_krell.so"
 else
        AC_MSG_WARN([can not build para_krell])
 fi
+CPPFLAGS="$OLD_CPPFLAGS"
+LDFLAGS="$OLD_LDFLAGS"
+LIBS="$OLD_LIBS"
 ########################################################################### sdl
 # FIXME
 AC_CHECK_LIB([SDL_image], [SDL_Init], [extras="$extras para_sdl_gui"], [
@@ -445,6 +454,7 @@ build_slider="yes"
 OLD_CPPFLAGS="$CPPFLAGS"
 OLD_LD_FLAGS="$LDFLAGS"
 OLD_LIBS="$LIBS"
+PKG_CHECK_MODULES(GTK, [$pkg_modules], [], [build_para_slider="no"])
 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.0.4], [], [build_slider="no"])
 CPPFLAGS="$GTK_CFLAGS $GLIB_CFLAGS"
 LDFLAGS="$LDFLAGS $GTK_LIBS"