Commit f0dbd8cf8a411a15125d2196d99c3f36cd916413

Authored by Jürgen Knödlseder
1 parent 1d3a8201

By default require cfitsio library (#2265)

ChangeLog
1   -2018-01-12
  1 +2018-01-16
2 2  
3 3 * Version 1.5.0 released
4 4 =========================
... ... @@ -10,6 +10,7 @@
10 10 Add GSkyMap::counts() and GSkyMap::flux() methods and clip() friend operator (#2290)
11 11 Add GSkyMap::array() method to Python interface (#2285)
12 12 Add Off sky regions to GCTAObservation (#2284)
  13 + By default require cfitsio library (#2265)
13 14 CTA observations handle "statistic" attribute in XML file (#2238)
14 15 Use CSTAT and CHI2 instead of POISSON and GAUSSIAN for statistic (#2237)
15 16 Changed GObservation::statistics() to statistic() (#2238)
... ...
1 1 New Features and Important Changes in GammaLib 1.5.0
2 2  
3   -12 January 2018
  3 +16 January 2018
4 4  
5 5  
6 6 1. Introduction
... ... @@ -109,6 +109,10 @@ The return value of the following methods has been changed:
109 109 A code generator script codegen.py has been added to the dev folder to ease
110 110 the addition of code extensions to GammaLib.
111 111  
  112 +The configure script now aborts if cfitsio is not found. If GammaLib should be
  113 +compiled without cfitsio the --without-cfitsio option has to be specified
  114 +explicitly (#2265).
  115 +
112 116  
113 117 4. Application module
114 118 ---------------------
... ...
configure.ac
... ... @@ -2,7 +2,7 @@
2 2 # Configuration for GammaLib - a versatile toolbox for high-level analysis #
3 3 # of astronomical gamma-ray data #
4 4 # ------------------------------------------------------------------------- #
5   -# Copyright (C) 2006-2017 Juergen Knoedlseder #
  5 +# Copyright (C) 2006-2018 Juergen Knoedlseder #
6 6 # ------------------------------------------------------------------------- #
7 7 # #
8 8 # This program is free software: you can redistribute it and/or modify #
... ... @@ -1367,6 +1367,11 @@ if [test "x$with_cfitsio" = "xyes"]; then
1367 1367  
1368 1368 fi
1369 1369  
  1370 + # Break if cfitsio library is not found
  1371 + if [test "x$has_cfitsio" = "xno"]; then
  1372 + AC_MSG_ERROR([cfitsio library not found. Install cfitsio library or use --without-cfitsio option.])
  1373 + fi
  1374 +
1370 1375 fi
1371 1376  
1372 1377 # If we have ncurses and readline then add readline support to GammaLib
... ...
doc/source/admin/release_history/1.5.rst
... ... @@ -41,6 +41,8 @@ Improvements
41 41 Add ``GSkyMap::array()`` method to Python interface
42 42 * [`2284 <https://cta-redmine.irap.omp.eu/issues/2284>`_] -
43 43 Add Off sky regions to ``GCTAObservation``
  44 +* [`2265 <https://cta-redmine.irap.omp.eu/issues/2265>`_] -
  45 + By default require cfitsio library
44 46 * [`2238 <https://cta-redmine.irap.omp.eu/issues/2238>`_] -
45 47 ``GCTAObservation`` and ``GCTAOnOffObservation`` handle ``statistic`` attribute in XML file
46 48 * [`2231 <https://cta-redmine.irap.omp.eu/issues/2231>`_] -
... ... @@ -90,4 +92,3 @@ Clean up
90 92 Changed ``GObservation::statistics()`` to ``GObservation::statistic()``
91 93 * [`2237 <https://cta-redmine.irap.omp.eu/issues/2237>`_] -
92 94 Use ``CSTAT`` and ``CHI2`` instead of ``POISSON`` and ``GAUSSIAN`` for statistic
93   -
... ...