Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
olena
Commits
a4a49108
Commit
a4a49108
authored
Aug 12, 2010
by
Guillaume Lazzara
Browse files
Handle Boost dependency.
* configure.ac: Add tests. * m4/boost.m4: New.
parent
ed4e74a2
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
ChangeLog
View file @
a4a49108
2010-08-10 Guillaume Lazzara <z@lrde.epita.fr>
Handle Boost dependency.
* configure.ac: Add tests.
* m4/boost.m4: New.
2010-08-10 Guillaume Lazzara <z@lrde.epita.fr>
* Makefile.am: Fix call to build_unit_test.sh.
...
...
configure.ac
View file @
a4a49108
...
...
@@ -197,12 +197,46 @@ PKG_PROG_PKG_CONFIG
AC_MSG_RESULT([])
AC_MSG_RESULT([])
AC_MSG_RESULT([Checking external libraries])
AC_MSG_RESULT([------------------------------------------------------------])
AC_MSG_RESULT([------------------------------------------------------------
-------------------
])
### Support for FreeImagePlus has been disabled for Olena 1.0.
## OLN_WITH_LIB([FreeImagePlus], [FreeImagePlus.h], [freeimageplus])
## ----- ##
## Boost ##
## ----- ##
oln_have_boost_preprocessor=no
oln_have_boost_tuple=no
if test "x$with_boost" != xno; then
AC_MSG_RESULT([])
AC_MSG_RESULT([* Boost])
AC_MSG_RESULT([-------])
# Preprocessor
BOOST_FIND_HEADER([boost/preprocessor/repetition/repeat.hpp],
oln_have_boost_preprocessor="no",
oln_have_boost_preprocessor="yes")
if test "x$oln_have_boost_preprocessor" = xyes; then
AC_DEFINE([HAVE_BOOST_PREPROCESSOR], 1, [Define to 1 if we can use Boost Preprocessor.])
fi
# Tuple
BOOST_FIND_HEADER([boost/tuple/tuple.hpp],
oln_have_boost_tuple=no,
oln_have_boost_tuple=yes)
if test "x$oln_have_boost_tuple" = xyes; then
AC_DEFINE([HAVE_BOOST_TUPLE], 1, [Define to 1 if we can use Boost Tuple.])
fi
fi
AM_CONDITIONAL([HAVE_BOOST_PREPROCESSOR],
[test "x$oln_have_boost_preprocessor" = xyes])
AM_CONDITIONAL([HAVE_BOOST_TUPLE], [test "x$oln_have_boost_tuple" = xyes])
## ---------------- ##
## CFITSIO library. ##
## ---------------- ##
...
...
@@ -307,7 +341,7 @@ AM_CONDITIONAL([HAVE_QT], [test "x$QT_VERSION_MAJOR" == "x4"])
AC_MSG_RESULT([])
AC_MSG_RESULT([------------------------------------------------------------])
AC_MSG_RESULT([------------------------------------------------------------
-------------------
])
AC_MSG_RESULT([])
AC_MSG_RESULT([])
...
...
@@ -655,15 +689,15 @@ if test -z "$TOOLS_CXXFLAGS"; then
fi
fi
AC_MSG_RESULT([-------------------------------------------------------------])
AC_MSG_RESULT([-------------------------------------------------------------
------------------
])
AC_MSG_RESULT([Update Olena configuration])
AC_OUTPUT
AC_MSG_RESULT([
Olena is configured as follows. Please verify that this configuration
matches your expectations.
-------------------------------------------------------------------------------
Configuration summary.
Host system type: $host
Build system type: $build
...
...
@@ -673,8 +707,10 @@ Build system type: $build
================
Option
Valu
e
Option
Enabled and availabl
e
-------------------------------------------------------------------------------
Boost Preprocessor --with-boost=[DIR] $oln_have_boost_preprocessor
Boost Tuple --with-boost=[DIR] $oln_have_boost_tuple
CFITSIO --with-cfitsio[=DIR] $oln_have_cfitsio
GDCM --with-gdcm[=DIR] $oln_have_gdcm
Magick++ --with-magickxx $oln_have_magickxx
...
...
@@ -692,7 +728,7 @@ Trimesh --enable-trimesh $enable_trimesh
===========
Option
Value
Option
Enabled
-------------------------------------------------------------------------------
Scribo --enable-scribo $enable_scribo
Swilena --enable-swilena $enable_swilena
...
...
@@ -706,7 +742,7 @@ Swilena --enable-swilena $enable_swilena
=============
Option
Value
Option
Enabled
-------------------------------------------------------------------------------
Apps --enable-apps $enable_apps
Tools --enable-tools $enable_tools
...
...
@@ -732,10 +768,19 @@ Options used to compile and link:
MOC = $MOC
UIC = $UIC
RCC = $RCC
BOOST_ROOT = $BOOST_ROOT
MAGICKXX_CFLAGS = $MAGICKXX_CFLAGS
MAGICKXX_LIBS = $MAGICKXX_LIBS
SCRIBO_CXXFLAGS = $SCRIBO_CXXFLAGS
APPS_CXXFLAGS = $APPS_CXXFLAGS
TOOLS_CXXFLAGS = $TOOLS_CXXFLAGS
*******************************************************************************
Olena is configured as stated above. Please verify that this configuration
matches your expectations.
Then, type 'make' to build Olena and 'make install' to install it on
your system.
])
m4/boost.m4
0 → 100644
View file @
a4a49108
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment