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],
fi])
AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile src/Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile])
AC_OUTPUT