mirror of
https://github.com/transmission/transmission
synced 2025-02-21 21:57:01 +00:00
revise #891's patch s.t. hudson is happy again
This commit is contained in:
parent
30b444ab92
commit
4ceca74b6b
1 changed files with 14 additions and 7 deletions
21
configure.ac
21
configure.ac
|
@ -108,15 +108,22 @@ if test "x$use_gio" = "xyes"; then
|
||||||
AC_DEFINE([HAVE_GIO], 1)
|
AC_DEFINE([HAVE_GIO], 1)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES([LIBNOTIFY],
|
||||||
|
[libnotify >= $LIBNOTIFY_MINIMUM],
|
||||||
|
[have_libnotify=yes],
|
||||||
|
[have_libnotify=no])
|
||||||
AC_ARG_ENABLE([libnotify],
|
AC_ARG_ENABLE([libnotify],
|
||||||
AS_HELP_STRING([--enable-libnotify],[enable notifications]),,
|
AS_HELP_STRING([--enable-libnotify],[enable notifications]),,
|
||||||
[enable_libnotify=yes])
|
[enable_libnotify=yes])
|
||||||
if test x$enable_libnotify = xyes ; then
|
use_libnotify=no
|
||||||
PKG_CHECK_MODULES([LIBNOTIFY], [libnotify >= $LIBNOTIFY_MINIMUM])
|
if test "x$enable_libnotify" = "xyes" ; then
|
||||||
AC_SUBST(LIBNOTIFY_LIBS)
|
if test "x$have_libnotify" = "xyes"; then
|
||||||
AC_SUBST(LIBNOTIFY_CFLAGS)
|
use_libnotify=yes
|
||||||
AC_DEFINE([HAVE_LIBNOTIFY], 1)
|
AC_SUBST(LIBNOTIFY_LIBS)
|
||||||
fi
|
AC_SUBST(LIBNOTIFY_CFLAGS)
|
||||||
|
AC_DEFINE([HAVE_LIBNOTIFY], 1)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
PKG_CHECK_MODULES([DBUS_GLIB],
|
PKG_CHECK_MODULES([DBUS_GLIB],
|
||||||
[dbus-glib-1 >= $DBUS_GLIB_MINIMUM],
|
[dbus-glib-1 >= $DBUS_GLIB_MINIMUM],
|
||||||
|
@ -303,7 +310,7 @@ Configuration:
|
||||||
Build GTK+ client: ${build_gtk}
|
Build GTK+ client: ${build_gtk}
|
||||||
... gio support: ${use_gio}
|
... gio support: ${use_gio}
|
||||||
... dbus-glib support: ${use_dbus_glib}
|
... dbus-glib support: ${use_dbus_glib}
|
||||||
... libnotify support: ${enable_libnotify}
|
... libnotify support: ${use_libnotify}
|
||||||
Build OS X client: ${build_darwin}
|
Build OS X client: ${build_darwin}
|
||||||
Build wxWidgets client: ${build_wx}
|
Build wxWidgets client: ${build_wx}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue