diff --exclude-from=/home/dang/.diffrc -u -ruN zenity-2.15.90.orig/configure.in zenity-2.15.90/configure.in --- zenity-2.15.90.orig/configure.in 2006-07-28 17:40:13.000000000 -0400 +++ zenity-2.15.90/configure.in 2006-08-05 09:40:58.000000000 -0400 @@ -33,13 +33,20 @@ # ******************************* 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_DEFINE([HAVE_LIBNOTIFY],[1],[libnotify is available on this machine]) +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]) + fi fi # *******************************