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
This commit is contained in:
parent
15997f221a
commit
df2892774f
2 changed files with 1 additions and 34 deletions
33
configure
vendored
33
configure
vendored
|
@ -16853,39 +16853,6 @@ fi
|
||||||
|
|
||||||
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.
|
# Check whether --enable-gcc-atomics was given.
|
||||||
if test "${enable_gcc_atomics+set}" = set; then :
|
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>])
|
AC_CHECK_MEMBER(struct sigaction.sa_sigaction,[AC_DEFINE(HAVE_SA_SIGACTION)], ,[#include <signal.h>])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_SIZEOF(void*)
|
dnl AC_CHECK_SIZEOF(void*)
|
||||||
|
|
||||||
dnl See whether we can use gcc atomic operations on this architecture
|
dnl See whether we can use gcc atomic operations on this architecture
|
||||||
AC_ARG_ENABLE(gcc-atomics,
|
AC_ARG_ENABLE(gcc-atomics,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue