Changeset 13969


Ignore:
Timestamp:
05/30/12 10:52:36 (13 years ago)
Author:
tbretz
Message:
Added DBus packages and a few more info at the end.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure.ac

    r13868 r13969  
    88#[AC_]PACKAGE_STRING
    99#[AC_]PACKAGE_BUGREPORT
    10 AC_INIT([FACT++],[1.0],[thomas.bretz@epfl.ch],[FACTpp],[http://fact.isdc.unige.ch/svn/trunk/FACT++/])
     10AC_INIT([FACT++],[1.0],[thomas.bretz@epfl.ch],[FACTpp],[https://fact.isdc.unige.ch/svn/trunk/FACT++/])
    1111AC_PREREQ([2.65])
    1212AC_CONFIG_FILES([Makefile])   # causes x/Makefile.in to be created if x/Makefile.am exists
     
    5858# Postponed after the BOOST library tests otherwise the check for boost::thread fails
    5959#CXXFLAGS+=" -std=c++0x"
     60
     61PKG_CHECK_MODULES(DBUS, dbus-1 dbus-glib-1, HAVE_DBUS=yes, HAVE_DBUS=no)
     62
     63CPPFLAGS+=" `pkg-config --cflags dbus-1 dbus-glib-1`"
     64LDFLAGS+=" `pkg-config --libs dbus-1 dbus-glib-1`"
     65
     66# dbus-1
     67# dbus-glib-1
     68# QtOpenGL
     69# gl
     70# QtCore
     71# soprano
     72# cfitsio
    6073
    6174######################################################################
     
    377390AM_CONDITIONAL(HAS_NOVA,      [test "$HAVE_NOVA" = yes])
    378391AM_CONDITIONAL(HAS_SOPRANO,   [test "$HAVE_SOPRANO" = yes])
     392AM_CONDITIONAL(HAS_DBUS,      [test "$HAVE_DBUS" = yes])
    379393
    380394AM_CONDITIONAL(HAS_GUI,       [test "$QT4_VERSION" -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_ROOT_QT" = yes ])
     
    388402AM_COND_IF(HAS_ZLIB, [AC_DEFINE(HAVE_ZLIB)], )
    389403AM_COND_IF(HAS_NOVA, [AC_DEFINE(HAVE_NOVA)], )
     404AM_COND_IF(HAS_DBUS, [AC_DEFINE(HAVE_DBUS)], )
    390405
    391406#AM_COND_IF(HAS_FITS_H, [
     
    456471AC_MSG_NOTICE([ cfitsio                / 'fitsio.h'         found: $HAVE_CFITSIO])
    457472AC_MSG_NOTICE([ CCfits                 / 'CCfits/CCfits'    found: $HAVE_CCFITS])
     473AC_MSG_NOTICE([ DBus-1, DBus-glib-1    / pkg-config         found: $HAVE_DBUS])
    458474AM_COND_IF(HAS_LIBXP,
    459475   AC_MSG_NOTICE([ Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: yes]),
     
    560576      AC_MSG_WARN([ Either of the necessary packages not found - viewer GUI disabled!])
    561577)
    562 AC_MSG_NOTICE()
     578AM_COND_IF(HAS_NOVA,,    AC_MSG_WARN([ libnova missing - smartfact will be compiles without astronomy support!]))
     579AM_COND_IF(HAS_DBUS,,    AC_MSG_WARN([ DBus libraries missing - skypeclient will not be compiled!]))
     580AM_COND_IF(HAS_SOPRANO,, AC_MSG_WARN([ Soprano libraries missing - tngweather will not be compiled!]))
     581AC_MSG_NOTICE()
Note: See TracChangeset for help on using the changeset viewer.