From d2ad22272baf7d977d6dac930d149af0cd8982c9 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sat, 17 Apr 2021 21:46:47 -0600 Subject: * Add new type SUINT32, as a shorter version of UINT32 for systems that do not have a proper uint32_t type. SUINT32 is defined by default to be UINT32, but during compilation the user can define an environment variable SUINT32 to be, say, unsigned long, and that will make SUINT32 to take that type. This, and the source codem, are the only places where this is documented. Work in collaboration with professor Martin Trusler. --- configure | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure') diff --git a/configure b/configure index ae038f52..de7219fd 100755 --- a/configure +++ b/configure @@ -20834,6 +20834,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +if test -z "$SUINT32" ; then + SUINT32="$uint32" +fi + + +cat >>confdefs.h <<_ACEOF +#define SUINT32 $SUINT32 +_ACEOF + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; } if ${ac_cv_func_qsort_argtype+:} false; then : -- cgit v1.2.3-70-g09d2