Ignore:
Timestamp:
Nov 27, 2009, 5:12:46 AM (13 years ago)
Author:
Peter Johansson
Message:

fixes #401

It is now possible to build without plplot. It is even possible to
generate reports, which obviously will be without images. If compiling
and HAVE_PLPLOT is not defined, the Graph class becomes a lame empty
class doing nothing (but existing). Needs some revision on README.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OptionVersion.cc

    r895 r902  
    3434#include <apr_version.h>
    3535
     36#ifdef HAVE_LIB
    3637#include <plplot/plstream.h>
     38#endif
    3739
    3840#include <sstream>
     
    8082      cs << apr_version_string();
    8183      cs << "\n";
     84#ifdef HAVE_LIB
    8285      cs << "using libplplot ";
    8386      plstream pls;
     
    8588      pls.gver(plplot_version);
    8689      cs << plplot_version << "\n";
     90#endif
    8791    }
    8892    exit(0);
Note: See TracChangeset for help on using the changeset viewer.