some bug fix

This commit is contained in:
gustavo 1999-02-08 16:11:55 +00:00
commit 6e9bdc8b2e
2 changed files with 16 additions and 2 deletions

View file

@ -6,7 +6,7 @@ AM_CONFIG_HEADER(config.h:config.in)
AC_PROG_CXX
AC_CHECK_HEADERS(bvector.h)
AC_CHECK_HEADERS(vector bvector.h)
AC_EGREP_HEADER(bit_vector, bvector.h, AC_DEFINE(HAVE_BIT_VECTOR))
AM_PROG_LIBTOOL

View file

@ -8,7 +8,21 @@
//-----------------------------------------------------------------------------
#include <iostream> // ostream, istream
#include <bvector.h> // bit_vector
#include <function.h> // bind2nd
#ifdef HAVE_BVECTOR_H
#include <bvector.h>
#error "incluyo bvector.h"
#elseif
#ifdef HAVE_VECTOR
#include <vector>
#define bit_vector vector<bool>
#error "incluyo vector"
#elseif
#error "are you kidding?"
#endif
#endif
#include <string> // string
#include <EO.h> // EO