Last change
on this file since 326 was
321,
checked in by MatthewWhiting, 17 years ago
|
- Solved most of the problem from ticket #12, where the integrated flux was being calculated differently on different machines. Now casting the spatial size of a detection to a double.
- Solved ticket #13 as well, to allow compilation when PGPLOT is not available. Included moving cpgIsPS() to mycpgplot.cc.
|
File size:
409 bytes
|
Rev | Line | |
---|
[315] | 1 | #ifndef PGHEADER_HH |
---|
| 2 | #define PGHEADER_HH |
---|
| 3 | |
---|
[321] | 4 | #undef PACKAGE_BUGREPORT |
---|
| 5 | #undef PACKAGE_NAME |
---|
| 6 | #undef PACKAGE_STRING |
---|
| 7 | #undef PACKAGE_TARNAME |
---|
| 8 | #undef PACKAGE_VERSION |
---|
| 9 | #include "config.h" |
---|
| 10 | |
---|
[315] | 11 | #ifdef HAVE_PGPLOT |
---|
| 12 | #include <cpgplot.h> |
---|
| 13 | |
---|
| 14 | const bool USE_PGPLOT=true; |
---|
| 15 | |
---|
| 16 | void endPGPLOT(){cpgend();}; |
---|
| 17 | |
---|
| 18 | #else |
---|
| 19 | |
---|
| 20 | const bool USE_PGPLOT=false; |
---|
| 21 | void endPGPLOT(){}; |
---|
| 22 | |
---|
| 23 | #endif // matches #ifdef HAVE_PGPLOT |
---|
| 24 | |
---|
| 25 | #endif // matches #ifndef PGHEADER_HH |
---|
Note: See
TracBrowser
for help on using the repository browser.