~jfi/ubuntu/quantal/psensor/new-upstream

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Jean-Philippe Orsini
  • Date: 2011-04-21 15:19:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110421151935-njh7oq0o7e49oz8c
Tags: 0.6.1.8-1
* New upstream release
* debian/control:
    - removed empty paragraphs. (Closes: #624236)
    - added build-dep to autoconf,automake,gettext,autopoint
    - switched to Standards-Version 3.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Process this file with autoconf to produce a configure script.
3
3
 
4
4
AC_PREREQ([2.64])
5
 
AC_INIT([psensor], [0.6.1.5],[wpitchoune@gmail.com],[psensor],[http://wpitchoune.net/psensor])
 
5
AC_INIT([psensor], [0.6.1.8],[wpitchoune@gmail.com],[psensor],[http://wpitchoune.net/psensor])
6
6
 
7
7
AM_INIT_AUTOMAKE([-Wall -Werror gnu])
8
8
 
74
74
AC_SUBST(LIBNOTIFY_CFLAGS)
75
75
AC_SUBST(LIBNOTIFY_LIBS)
76
76
 
 
77
 
77
78
# Checks AppIndicator 
78
 
APPINDICATOR_LIBS=
79
 
PKG_CHECK_MODULES(APPINDICATOR, 
80
 
  appindicator-0.1, 
81
 
  [AC_DEFINE([HAVE_APPINDICATOR],[1],[Use AppIndicator])], 
82
 
  [AC_MSG_WARN("AppIndicator disabled")])
 
79
 APPINDICATOR_LIBS=
 
80
 PKG_CHECK_MODULES(APPINDICATOR, 
 
81
     appindicator-0.1 = 0.2.9 , 
 
82
     [AC_DEFINE([HAVE_APPINDICATOR],[1],[Use AppIndicator 0.2.9])
 
83
      AC_DEFINE([HAVE_APPINDICATOR_029],[1],[Use AppIndicator 0.2.9])
 
84
     ],
 
85
     [AC_MSG_WARN(AppIndicator 0.2.9 not present")])
 
86
 
 
87
if test "$APPINDICATOR_LIBS" == ""; then
 
88
   PKG_CHECK_MODULES(APPINDICATOR, 
 
89
     appindicator-0.1 > 0.2.9, 
 
90
     [AC_DEFINE([HAVE_APPINDICATOR],[1],[Use AppIndicator > 0.2.9])], 
 
91
     [AC_MSG_WARN("AppIndicator > 0.2.9 not present")])
 
92
fi
83
93
AM_CONDITIONAL(APPINDICATOR, test -n "$APPINDICATOR_LIBS")
84
94
AC_SUBST(APPINDICATOR_CFLAGS)
85
95
AC_SUBST(APPINDICATOR_LIBS)
119
129
                 [ 
120
130
                  #include <X11/Xlib.h>
121
131
                 ])
122
 
if test -n "$X11_LIBS}"; then
 
132
if test -n "${X11_LIBS}"; then
123
133
LIBS="${LIBS} -lX11 -lXext"
124
134
 
125
135
if test "${HAVE_NVIDIA}" = "true"; then