learning about autoconf: eoBin and bvector.h
This commit is contained in:
parent
93d15b9778
commit
3d7d4a7a51
5 changed files with 10 additions and 4 deletions
|
|
@ -5,4 +5,3 @@
|
|||
###############################################################################
|
||||
|
||||
SUBDIRS = src test
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
#undef PACKAGE
|
||||
#undef VERSION
|
||||
#undef HAVE_BIT_VECTOR
|
||||
|
|
|
|||
|
|
@ -2,7 +2,13 @@ AC_INIT(src/eo)
|
|||
|
||||
AM_INIT_AUTOMAKE(eo, 0.0.0)
|
||||
|
||||
AM_CONFIG_HEADER(config.h:config.in)
|
||||
|
||||
AC_PROG_CXX
|
||||
|
||||
AC_CHECK_HEADERS(bvector.h)
|
||||
AC_EGREP_HEADER(bit_vector, bvector.h, AC_DEFINE(HAVE_BIT_VECTOR))
|
||||
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
AM_MAINTAINER_MODE
|
||||
|
|
|
|||
|
|
@ -6,5 +6,6 @@
|
|||
|
||||
lib_LTLIBRARIES = libeo.la
|
||||
libeo_la_SOURCES = eoPrintable.cpp eoPersistent.cpp
|
||||
|
||||
libeoincdir = $(includedir)/eo
|
||||
libeoinc_HEADERS = eo EO.h eoDup.h eoMultiMonOp.h eoPop.h eoUniform.h eoESChrom.h eoNegExp.h eoProblem.h eoVector.h eoFitness.h eoNormal.h eoRnd.h eoXOver2.h eo1d.h eoID.h eoObject.h eoString.h eoAged.h eoKill.h eoOp.h eoTranspose.h eoBin.h eoPrintable.h eoPersistent.h eoLottery.h eoMutation.h eoPopOps.h eoUniform.h eoInsertion.h eoBinOp.h
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include <eoBin.h> // eoBin
|
||||
#include <eoPopOps.h> // eoMonOp
|
||||
#include <eoBin.h> // eoBin
|
||||
#include <eoOp.h> // eoMonOp
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// eoBinRandom --> mofify a chromosome in a random way
|
||||
|
|
@ -340,5 +340,4 @@ template<class Chrom> class eoBinUxOver: public eoBinOp<Chrom>
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
#endif eoBinOp_h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue