better test for bogus void * implementation

This commit is contained in:
Todd C. Miller
1995-04-01 06:25:11 +00:00
parent c1e520bbcf
commit af82bb25a1

4
aclocal.m4 vendored
View File

@@ -106,8 +106,8 @@ dnl
dnl check for fullly working void
dnl
AC_DEFUN(SUDO_FULL_VOID, [AC_MSG_CHECKING(for full void implementation)
AC_TRY_COMPILE(, [void *foo;
foo = 0;], AC_DEFINE(VOID, void)
AC_TRY_COMPILE(, [void *foo = NULL;
foo += 1;], AC_DEFINE(VOID, void)
AC_MSG_RESULT(yes), AC_DEFINE(VOID, char)
AC_MSG_RESULT(no))])
dnl