From: Matthieu Volat Date: Mon, 19 Dec 2016 18:41:10 +0000 (+0100) Subject: Two variables must be defined without using cmakedefine macros. X-Git-Tag: v3_14~31 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8e4beab68a7c013cd04d2a7b51a71348699a807d Two variables must be defined without using cmakedefine macros. They have values other than 0|1, mea culpa... --- diff --git a/tools/cmake/src/internal_config.h.in b/tools/cmake/src/internal_config.h.in index f06474647a..569e39da21 100644 --- a/tools/cmake/src/internal_config.h.in +++ b/tools/cmake/src/internal_config.h.in @@ -33,7 +33,7 @@ #cmakedefine01 HAVE_NANOSLEEP /* The usable context factories */ -#cmakedefine01 HAVE_BOOST_CONTEXTS +#define HAVE_BOOST_CONTEXTS @HAVE_BOOST_CONTEXTS@ #cmakedefine01 HAVE_RAW_CONTEXTS #cmakedefine01 HAVE_THREAD_CONTEXTS #cmakedefine01 HAVE_UCONTEXT_CONTEXTS @@ -56,7 +56,7 @@ /* Variable for SysV, raw and Boost contexts */ /* Does the stack growth upward, or downward? */ -#cmakedefine01 PTH_STACKGROWTH +#define PTH_STACKGROWTH @PTH_STACKGROWTH@ /* MC variables */ /* getdtablesize: get descriptor table size */