Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/driver/cfa.cc

    r0edebf8 r0e76cf4f  
    231231        } // if
    232232
     233        string d;
     234        if ( debug ) {
     235                d = "-d";
     236        } // if
     237
    233238        // add the CFA include-library paths, which allow direct access to header files without directory qualification
     239
    234240        args[nargs] = "-I" CFA_INCDIR;
    235241        nargs += 1;
     
    243249        nargs += 1;
    244250
    245 #ifdef HAVE_LIBCFA
    246251        if ( link ) {
    247                 #if ! defined(HAVE_LIBCFA_RELEASE)
    248                         if( !debug ) {
    249                                 cerr << "error: Option -nodebug is not available, libcfa was not installed." << endl;
    250                                 exit( EXIT_FAILURE );
    251                                 }
    252                 #endif
    253                 #if ! defined(HAVE_LIBCFA_DEBUG)
    254                         if( debug ) {
    255                                 cerr << "error: Option -debug is not available, libcfa-d was not installed." << endl;
    256                                 exit( EXIT_FAILURE );
    257                                 }
    258                 #endif
    259 
    260252                // include the cfa library in case it's needed
    261253                args[nargs] = "-L" CFA_LIBDIR;
    262254                nargs += 1;
    263                 if( debug ) {
    264                         args[nargs] = "-lcfa-d";
    265                 } else {
    266                         args[nargs] = "-lcfa";
    267                 }
    268                 nargs += 1;
    269         } // if
    270 #endif //HAVE_LIBCFA
     255                args[nargs] = "-lcfa";
     256                nargs += 1;
     257        } // if
    271258
    272259        // add the correct set of flags based on the type of compile this is
Note: See TracChangeset for help on using the changeset viewer.