Ignore:
Timestamp:
07/19/10 07:42:14 (15 years ago)
Author:
Eric.Larour
Message:

Fixed Chaco build when chaco is not available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/Chacox/user_params.cpp

    r4639 r4648  
    77/* a more picky compiler (cc) that complains about duplicate global */
    88/* declarations. */
     9
     10#ifdef HAVE_CONFIG_H
     11#include "config.h"
     12#else
     13#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     14#endif
     15
     16
     17#ifdef _HAVE_CHACO_ //only works if dakota library has been compiled in.
    918
    1019#include "params.h"
     
    141150int       DEBUG_TRACE = 0;      /* Trace main execution path (0..2) */
    142151int       DEBUG_MACH_PARAMS = 0;/* Print computed machine params? (0..1) */
     152
     153
     154#endif //ifdef _HAVE_CHACO_
Note: See TracChangeset for help on using the changeset viewer.