Define USE_*, HAVE_* and CROSS_COMPILING macros to 1 instead of just
defining then, for consistency.
This commit is contained in:
parent
fa79a693a3
commit
421b0cf34b
@ -33,7 +33,7 @@ AC_USE_SYSTEM_EXTENSIONS
|
|||||||
CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
|
CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
|
||||||
|
|
||||||
AS_IF([test "$cross_compiling" != no],
|
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], [
|
AX_CHECK_COMPILE_FLAG([-fPIC], [
|
||||||
@ -179,11 +179,11 @@ AC_ARG_ENABLE(ssp,
|
|||||||
|
|
||||||
AC_ARG_ENABLE(blocking-random,
|
AC_ARG_ENABLE(blocking-random,
|
||||||
[AS_HELP_STRING(--enable-blocking-random,Use /dev/random instead of /dev/urandom)],
|
[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,
|
AC_ARG_ENABLE(blocking-random,
|
||||||
[AS_HELP_STRING(--enable-blocking-random,Use /dev/random instead of /dev/urandom)],
|
[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
|
curvecp=disabled
|
||||||
AC_ARG_ENABLE(curvecp,
|
AC_ARG_ENABLE(curvecp,
|
||||||
|
Loading…
Reference in New Issue
Block a user