~ubuntu-branches/debian/sid/boinc/sid

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Package Import Robot
  • Author(s): Steffen Moeller
  • Date: 2011-08-08 01:36:51 UTC
  • mfrom: (6.1.11 experimental)
  • Revision ID: package-import@ubuntu.com-20110808013651-m1hs3cltiveuteyn
Tags: 6.13.1+dfsg-2
* Bringing notify patch to unstable.
* Adjusted build dependency to libjpeg-dev (Closes: #641093)
* Further improvements on stripchart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl -*- autoconf -*-
2
2
 
3
 
dnl $Id: configure.ac 23715 2011-06-13 16:35:38Z romw $
 
3
dnl $Id: configure.ac 23851 2011-07-18 17:44:30Z romw $
4
4
 
5
5
dnl not sure exactly what the minimum version is (but 2.13 wont work)
6
6
AC_PREREQ(2.58)
7
7
 
8
8
dnl Set the BOINC version here.  You can also use the set-version script.
9
 
AC_INIT(BOINC, 6.12.33)
 
9
AC_INIT(BOINC, 6.13.1)
10
10
AC_CONFIG_MACRO_DIR([m4])
11
11
LIBBOINC_VERSION=`echo ${PACKAGE_VERSION} | sed 's/\./:/g'`
12
12
AC_SUBST([LIBBOINC_VERSION])
19
19
 
20
20
AC_CONFIG_SRCDIR(lib/shmem.cpp)
21
21
 
22
 
AC_REVISION([$Revision: 23715 $]) 
23
 
REV=`echo '$Revision: 23715 $' | awk "{print $2}"`
 
22
AC_REVISION([$Revision: 23851 $]) 
 
23
REV=`echo '$Revision: 23851 $' | awk "{print $2}"`
24
24
RDATE=`date '+%Y.%m.%d'`
25
25
if test -d .svn ; then
26
26
  REV=`svn info | grep Revision | awk '{print $2}'`
563
563
 
564
564
AM_CONDITIONAL(BUILD_GRAPHICS_API, [ test "$have_glut" = yes ])
565
565
 
 
566
dnl check for X screen saver lib
 
567
AC_CHECK_LIB([Xss], [XScreenSaverAllocInfo], [have_Xss="yes"], [have_Xss="no"])
 
568
AC_CHECK_HEADER([X11/extensions/scrnsaver.h], [have_Xss="yes"], [have_Xss="no"])
 
569
if test "$have_Xss" == no; then
 
570
    AC_MSG_WARN([libxss missing, disabling X ScreenSaver user idle detection])
 
571
fi
 
572
 
566
573
dnl --------------------------------------------------------------------------------
567
574
dnl put double-inclusion protection into config.h
568
575
AH_TOP([
803
810
fi
804
811
LIBS=$svlibs
805
812
 
 
813
if test "$have_Xss" == yes; then
 
814
    SAH_CHECK_LIB([Xss],[XScreenSaverAllocInfo],[
 
815
        AC_DEFINE([HAVE_XSS],[1],[Define to 1 if you have xss library])
 
816
        CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
 
817
    echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
 
818
fi
 
819
 
806
820
SAH_CHECK_LIB([resolv],[res_query],[
807
821
    AC_DEFINE([HAVE_RESOLV],[1],[Define to 1 if you have the resolv library])
808
822
    CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])