From 126cb1419fb0a7d02395089422488dfae7868be3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Wed, 14 Dec 2011 00:52:22 +0000 Subject: [PATCH] next release will be 0.6.2.16 added atasmart lib check --- configure.ac | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6b84003..472ffa6 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.64]) -AC_INIT([psensor], [0.6.2.15],[jeanfi@gmail.com],[psensor],[http://wpitchoune.net/psensor]) +AC_INIT([psensor], [0.6.2.16],[jeanfi@gmail.com],[psensor],[http://wpitchoune.net/psensor]) AM_INIT_AUTOMAKE([-Wall -Werror gnu]) @@ -76,6 +76,15 @@ AC_SUBST(GCONF_LIBS) ### Optional +# check libatasmart +PKG_CHECK_MODULES(ATASMART, libatasmart, + [AC_DEFINE([HAVE_ATASMART],[1],[Use libatasmart])], + [AC_MSG_WARN("Library atasmart not present")]) + +AM_CONDITIONAL(ATASMART, test -n "$ATASMART_LIBS") +AC_SUBST(ATASMART_CFLAGS) +AC_SUBST(ATASMART_LIBS) + # Check libnotify LIBNOTIFY_LIBS= PKG_CHECK_MODULES(LIBNOTIFY, -- 2.7.4