make libnotify support an option (Fixes bug #346843). Patch from Saleem
2007-05-15 Lucas Rocha <lucasr@gnome.org> * configure.ac: make libnotify support an option (Fixes bug #346843). Patch from Saleem Abdulrasool <compnerd@gentoo.org>. svn path=/trunk/; revision=1210
This commit is contained in:
parent
f297dd91bd
commit
ab6159f84b
@ -1,3 +1,8 @@
|
|||||||
|
2007-05-15 Lucas Rocha <lucasr@gnome.org>
|
||||||
|
|
||||||
|
* configure.ac: make libnotify support an option (Fixes bug #346843).
|
||||||
|
Patch from Saleem Abdulrasool <compnerd@gentoo.org>.
|
||||||
|
|
||||||
2007-05-15 Lucas Rocha <lucasr@gnome.org>
|
2007-05-15 Lucas Rocha <lucasr@gnome.org>
|
||||||
|
|
||||||
* src/calendar.c (zenity_calendar, zenity_calendar_double_click):
|
* src/calendar.c (zenity_calendar, zenity_calendar_double_click):
|
||||||
|
18
configure.in
18
configure.in
@ -33,13 +33,21 @@ AC_PATH_PROG([PERL],[perl],)
|
|||||||
# *******************************
|
# *******************************
|
||||||
|
|
||||||
LIBNOTIFY_REQUIRED=0.4.1
|
LIBNOTIFY_REQUIRED=0.4.1
|
||||||
PKG_CHECK_MODULES([LIBNOTIFY],[libnotify >= $LIBNOTIFY_REQUIRED],
|
|
||||||
[HAVE_LIBNOTIFY="yes"],[HAVE_LIBNOTIFY="no"])
|
|
||||||
AC_SUBST([LIBNOTIFY_CFLAGS])
|
|
||||||
AC_SUBST([LIBNOTIFY_LIBS])
|
|
||||||
|
|
||||||
if test "x$HAVE_LIBNOTIFY" = "xyes"; then
|
AC_ARG_ENABLE([libnotify],
|
||||||
|
AC_HELP_STRING([--enable-libnotify],[enable libnotify support]),,
|
||||||
|
[enable_libnotify=yes])
|
||||||
|
|
||||||
|
if test x$enable_libnotify = xyes ; then
|
||||||
|
PKG_CHECK_MODULES([LIBNOTIFY],[libnotify >= $LIBNOTIFY_REQUIRED],
|
||||||
|
[HAVE_LIBNOTIFY="yes"],[HAVE_LIBNOTIFY="no"])
|
||||||
|
|
||||||
|
AC_SUBST([LIBNOTIFY_CFLAGS])
|
||||||
|
AC_SUBST([LIBNOTIFY_LIBS])
|
||||||
|
|
||||||
|
if test "x$HAVE_LIBNOTIFY" = "xyes"; then
|
||||||
AC_DEFINE([HAVE_LIBNOTIFY],[1],[libnotify is available on this machine])
|
AC_DEFINE([HAVE_LIBNOTIFY],[1],[libnotify is available on this machine])
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# *******************************
|
# *******************************
|
||||||
|
Reference in New Issue
Block a user