diff options
author | Stefano Karapetsas <[email protected]> | 2013-02-27 13:14:29 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-02-27 13:14:29 +0100 |
commit | 9a2a46d3622863c8d83aa46a884d1cc1f90bfb84 (patch) | |
tree | 8202e84dd227d9377e3b2e507e76f84568450f17 /configure.ac | |
parent | 4381df30054f853298a5b081e260893b5279cb6a (diff) | |
download | mate-sensors-applet-9a2a46d3622863c8d83aa46a884d1cc1f90bfb84.tar.bz2 mate-sensors-applet-9a2a46d3622863c8d83aa46a884d1cc1f90bfb84.tar.xz |
Use libnotify instead of libmatenofity
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac index 97dd65f..0000bb4 100644 --- a/configure.ac +++ b/configure.ac @@ -49,7 +49,7 @@ AC_CHECK_HEADERS( GLIB_REQUIRED=2.26.0 GTK_REQUIRED=2.14.0 LIBPANEL_REQUIRED=1.1.0 -LIBMATENOTIFY_REQUIRED=1.1.0 +LIBNOTIFY_REQUIRED=0.7.0 LIBCAIRO_REQUIRED=1.0.4 LIBDBUSGLIB_REQUIRED=0.80 LIBATASMART_REQUIRED=0.16 @@ -92,34 +92,34 @@ fi AM_CONDITIONAL(UDISKS, test -n "$DBUSGLIB_CFLAGS" -a -n "$LIBATASMART_CFLAGS") -# support for libmatenotify -LIBMATENOTIFY_CFLAGS= -LIBMATENOTIFY_LIBS= +# support for libnotify +LIBNOTIFY_CFLAGS= +LIBNOTIFY_LIBS= # enable support even if not specifically asked for -AC_ARG_ENABLE(libmatenotify, -[ --enable-libmatenotify Enable libmatenotify support], [ - enable_libmatenotify=$enableval], [ - enable_libmatenotify="yes" +AC_ARG_ENABLE(libnotify, +[ --enable-libnotify Enable libnotify support], [ + enable_libnotify=$enableval], [ + enable_libnotify="yes" ]) -if test "x$enable_libmatenotify" = "xno" +if test "x$enable_libnotify" = "xno" then - echo "Disabling libmatenotify support" + echo "Disabling libnotify support" else - PKG_CHECK_MODULES(LIBMATENOTIFY, libmatenotify >= $LIBMATENOTIFY_REQUIRED, - HAVE_LIBMATENOTIFY="yes", HAVE_LIBMATENOTIFY="no") + PKG_CHECK_MODULES(LIBNOTIFY, libnotify >= $LIBNOTIFY_REQUIRED, + HAVE_LIBNOTIFY="yes", HAVE_LIBNOTIFY="no") - if test "x$HAVE_LIBMATENOTIFY" = "xyes" + if test "x$HAVE_LIBNOTIFY" = "xyes" then - AC_DEFINE(HAVE_LIBMATENOTIFY, 1, [libmatenotify available]) + AC_DEFINE(HAVE_LIBNOTIFY, 1, [libnotify available]) fi fi -AM_CONDITIONAL(LIBMATENOTIFY, test -n "$LIBMATENOTIFY_LIBS") +AM_CONDITIONAL(LIBNOTIFY, test -n "$LIBNOTIFY_LIBS") -AC_SUBST(LIBMATENOTIFY_CFLAGS) -AC_SUBST(LIBMATENOTIFY_LIBS) +AC_SUBST(LIBNOTIFY_CFLAGS) +AC_SUBST(LIBNOTIFY_LIBS) # allow user to specify libsensors support, but support it anyway if possible |