# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
-AC_INIT([psensor], [1.1.2],[jeanfi@gmail.com],[psensor],[http://wpitchoune.net/psensor])
+AC_INIT([psensor], [1.1.0.x],[jeanfi@gmail.com],[psensor],[http://wpitchoune.net/psensor])
AM_INIT_AUTOMAKE([-Wall gnu])
# Checks AppIndicator
APPINDICATOR_LIBS=
-
PKG_CHECK_MODULES(APPINDICATOR, appindicator3-0.1,
[AC_DEFINE([HAVE_APPINDICATOR],[1],[Use AppIndicator3-0.1])],
[AC_MSG_WARN(AppIndicator 3-0.1 not present")])
-
-if test "$APPINDICATOR_LIBS" == ""; then
- PKG_CHECK_MODULES(APPINDICATOR,
- appindicator-0.1 <= 0.2.9 ,
- [AC_DEFINE([HAVE_APPINDICATOR],[1],[Use AppIndicator 0.2.9])
- AC_DEFINE([HAVE_APPINDICATOR_029],[1],[Use AppIndicator 0.2.9])
- ],
- [AC_MSG_WARN(AppIndicator 0.2.9 not present")])
-fi
-
-if test "$APPINDICATOR_LIBS" == ""; then
- PKG_CHECK_MODULES(APPINDICATOR,
- appindicator-0.1 > 0.2.9,
- [AC_DEFINE([HAVE_APPINDICATOR],[1],[Use AppIndicator > 0.2.9])],
- [AC_MSG_WARN("AppIndicator > 0.2.9 not present")])
-fi
AM_CONDITIONAL(APPINDICATOR, test -n "$APPINDICATOR_LIBS")
AC_SUBST(APPINDICATOR_CFLAGS)
AC_SUBST(APPINDICATOR_LIBS)