projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b9f0906
)
next release will be 0.6.2.16
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Wed, 14 Dec 2011 00:52:22 +0000
(
00:52
+0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Wed, 14 Dec 2011 00:52:22 +0000
(
00:52
+0000)
added atasmart lib check
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
6b84003
..
472ffa6
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2,7
+2,7
@@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.64])
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.64])
-AC_INIT([psensor], [0.6.2.1
5
],[jeanfi@gmail.com],[psensor],[http://wpitchoune.net/psensor])
+AC_INIT([psensor], [0.6.2.1
6
],[jeanfi@gmail.com],[psensor],[http://wpitchoune.net/psensor])
AM_INIT_AUTOMAKE([-Wall -Werror gnu])
AM_INIT_AUTOMAKE([-Wall -Werror gnu])
@@
-76,6
+76,15
@@
AC_SUBST(GCONF_LIBS)
### Optional
### 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,
# Check libnotify
LIBNOTIFY_LIBS=
PKG_CHECK_MODULES(LIBNOTIFY,