Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Further fix SIZEOF_VOIDP in SDL_config.h.in
The configure script was still overwriting SIZEOF_VOIDP so both ended up as either 4 or 8 depending on the arch. This simply removes the check from configure.in
Loading branch information
Showing
2 changed files
with
1 addition
and
34 deletions .
+0
−33
configure
+1
−1
configure.in
@@ -16853,39 +16853,6 @@ fi
fi
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
{ $as_echo " $as_me :${as_lineno-$LINENO } : checking size of void*" >&5
$as_echo_n " checking size of void*... " >&6 ; }
if ${ac_cv_sizeof_voidp+: } false ; then :
$as_echo_n " (cached) " >&6
else
if ac_fn_c_compute_int " $LINENO " " (long int) (sizeof (void*))" " ac_cv_sizeof_voidp" " $ac_includes_default " ; then :
else
if test " $ac_cv_type_voidp " = yes; then
{ { $as_echo " $as_me :${as_lineno-$LINENO } : error: in \` $ac_pwd ':" >&5
$as_echo " $as_me : error: in \` $ac_pwd ':" >&2 ; }
as_fn_error 77 " cannot compute sizeof (void*)
See \` config.log' for more details" " $LINENO " 5; }
else
ac_cv_sizeof_voidp=0
fi
fi
fi
{ $as_echo " $as_me :${as_lineno-$LINENO } : result: $ac_cv_sizeof_voidp " >&5
$as_echo " $ac_cv_sizeof_voidp " >&6 ; }
cat >> confdefs.h << _ACEOF
#define SIZEOF_VOIDP $ac_cv_sizeof_voidp
_ACEOF
# Check whether --enable-gcc-atomics was given.
if test " ${enable_gcc_atomics+set} " = set ; then :
@@ -265,7 +265,7 @@ if test x$enable_libc = xyes; then
AC_CHECK_MEMBER(struct sigaction.sa_sigaction,[AC_DEFINE(HAVE_SA_SIGACTION)], ,[#include <signal.h>])
fi
AC_CHECK_SIZEOF(void*)
dnl AC_CHECK_SIZEOF(void*)
dnl See whether we can use gcc atomic operations on this architecture
AC_ARG_ENABLE(gcc-atomics,
Toggle all file notes
Toggle all file annotations