AC_PROG_CC
if test "x$GCC" = xyes; then
- CFLAGS="-std=c89 -pedantic -Wall -Wextra -Werror -D_XOPEN_SOURCE=500 $CFLAGS"
+ CFLAGS="-std=c89 -pedantic -Wall -Wextra -Werror $CFLAGS"
+ CFLAGS="-D_XOPEN_SOURCE=500 -Wno-error=int-to-pointer-cast $CFLAGS"
fi
AC_CHECK_LIB([pthread], [pthread_create],