From 421b0cf34bc4d04c78cc14f0542d3a29c657ab2d Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 8 Mar 2013 09:13:48 -0800 Subject: [PATCH] Define USE_*, HAVE_* and CROSS_COMPILING macros to 1 instead of just defining then, for consistency. --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 15628df6..18ad8e50 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,7 @@ AC_USE_SYSTEM_EXTENSIONS CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2" AS_IF([test "$cross_compiling" != no], - AC_DEFINE(CROSS_COMPILING,,[define if you are cross-compiling]) + AC_DEFINE(CROSS_COMPILING, [1], [define if you are cross-compiling]) ) AX_CHECK_COMPILE_FLAG([-fPIC], [ @@ -179,11 +179,11 @@ AC_ARG_ENABLE(ssp, AC_ARG_ENABLE(blocking-random, [AS_HELP_STRING(--enable-blocking-random,Use /dev/random instead of /dev/urandom)], -[AC_DEFINE([USE_BLOCKING_RANDOM], [], [Use blocking random])]) +[AC_DEFINE([USE_BLOCKING_RANDOM], [1], [Use blocking random])]) AC_ARG_ENABLE(blocking-random, [AS_HELP_STRING(--enable-blocking-random,Use /dev/random instead of /dev/urandom)], -[AC_DEFINE([USE_BLOCKING_RANDOM], [], [Use blocking random])]) +[AC_DEFINE([USE_BLOCKING_RANDOM], [1], [Use blocking random])]) curvecp=disabled AC_ARG_ENABLE(curvecp,