Commit 86b626d7 authored by Radford Neal's avatar Radford Neal

add --enable-aux-for-attrib option for configure

parent 579ac8a3
......@@ -213,6 +213,17 @@ if test x"${use_compressed_pointers}" = xyes; then
[Define to 1 to enable use of compressed pointers.])
fi
## Enable use aux1 for attributes in builds with 64-bit uncompressed pointers
AC_ARG_ENABLE([aux-for-attrib],
[AS_HELP_STRING([--enable-aux-for-attrib],[use auxiliary info for attributes
@<:@no@:>@])],
[use_aux_for_attrib="${enableval}"],
[use_aux_for_attrib=no])
if test x"${use_aux_for_attrib}" = xyes; then
AC_DEFINE(USE_AUX_FOR_ATTRIB, 1,
[Define to 1 to enable use of auxiliary info for attributes.])
fi
## Allow the user to specify that the helpers apparatus can use multithreading.
AC_ARG_ENABLE([helper_threads],
[AS_HELP_STRING([--enable-helper-threads],[support use of helper threads @<:@yes@:>@])],
......
......@@ -27,6 +27,9 @@
/* Define to 1 to enable compressed pointers. */
/* #undef USE_COMPRESSED_POINTERS */
/* Define to 1 to enable aux1 for attrib with 64-bit uncompressed ptrs */
/* #undef USE_AUX_FOR_ATTRIB */
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
......
......@@ -918,6 +918,9 @@
/* Define this as 1 to enable use of compressed pointers */
#undef USE_COMPRESSED_POINTERS
/* Define this as 1 to enable aux1 for attrib with 64-bit uncompressed ptrs */
#undef USE_AUX_FOR_ATTRIB
/* Define this to enable deferred evaluation. */
#undef R_DEFERRED_EVAL
......
......@@ -30,6 +30,8 @@ line=`grep "SIZEOF_CHAR_P" config.h`
echo "${line}"
line=`grep "USE_COMPRESSED_POINTERS" config.h`
echo "${line}"
line=`grep "USE_AUX_FOR_ATTRIB" config.h`
echo "${line}"
echo
echo "#endif /* not R_CONFIG_H */"
echo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment