Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Two variables must be defined without using cmakedefine macros.
authorMatthieu Volat <mazhe@alkumuna.eu>
Mon, 19 Dec 2016 18:41:10 +0000 (19:41 +0100)
committerAugustin Degomme <augustin.degomme@unibas.ch>
Mon, 19 Dec 2016 18:55:37 +0000 (19:55 +0100)
They have values other than 0|1, mea culpa...

tools/cmake/src/internal_config.h.in

index f064746..569e39d 100644 (file)
@@ -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 */