Ignore:
Timestamp:
May 4, 2009, 8:51:56 PM (15 years ago)
Author:
buchmann
Message:

SystemCASS now uses autoconf/automake to build the API. Regression tests still
use the old Makefiles.
(thanks to Nicolas Pouillon)

The library directory no longer is "lib-arch-system". The directory now is "lib-linux". Everyone needs to pay attention about SYSTEMCASS environment variable.

Changes:

  • system header includes
  • Add includes to config.h (generated by autoconf/automake)
  • test:
    • linux preprocessor macro instead of _WIN32
    • CONFIG_DEBUG instead of DEBUG

Removes:

  • Makefile
  • guess_endianness.cc
  • guess_os.sh
  • assert.h (we now use standard assert.h)
  • Options.def
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_interface.cc

    r17 r27  
    3434 */
    3535
    36 #include"sc_interface.h"
    37 #include"sc_event.h"
    38 #include"assert.h"
    39 #include<iostream>
    40 #include<map>
     36#include "sc_interface.h"
     37#include "sc_event.h"
     38#include "assert.h"
     39#include <iostream>
     40#include <map>
     41#ifdef HAVE_CONFIG_H
     42#include "config.h"
     43#endif
     44#include <cstdlib>  //exit
    4145#include<cstdlib>  //exit
    4246
     
    106110{
    107111        interface2infos_t::iterator i = interface2infos.find (this);
    108 #ifdef DEBUG
     112#ifdef CONFIG_DEBUG
    109113        if (i == interface2infos.end ()) {
    110114                cerr << "Internal error : can't find data size of " << this << "\n";
     
    119123{
    120124        interface2infos_t::iterator i = interface2infos.find (this);
    121 #ifdef DEBUG
     125#ifdef CONFIG_DEBUG
    122126        if (i == interface2infos.end ()) {
    123127                cerr << "Internal error : can't find default event of " << this << "\n";
Note: See TracChangeset for help on using the changeset viewer.