18960N/A--- gtkhtml-3.31.5/configure.ac.orig 2010-08-05 16:48:02.854984542 +0800
18960N/A+++ gtkhtml-3.31.5/configure.ac 2010-08-05 16:51:57.450526780 +0800
18960N/A@@ -102,7 +102,6 @@
18960N/A dnl on GCC's previous "undefined" behavior, so disable strict-aliasing
18960N/A dnl optimization until we can find and fix all the abuses.
18960N/A dnl XXX This really belongs in AM_CFLAGS.
18960N/A-CFLAGS="$CFLAGS $WARNING_FLAGS -fno-strict-aliasing"
18960N/A
18960N/A dnl *********************
18960N/A dnl Necessary programs
18960N/A@@ -114,6 +113,12 @@
18960N/A AC_FUNC_MALLOC
18960N/A AC_TYPE_SIZE_T
18960N/A
18960N/A+if test "x${GCC}" = "xyes"; then
18960N/A+ CFLAGS="$CFLAGS $WARNING_FLAGS -fno-strict-aliasing"
18960N/A+else
18960N/A+ CFLAGS="$CFLAGS $WARNING_FLAGS"
18960N/A+fi
18960N/A+
18960N/A AC_CHECK_FUNCS([memchr memmove memset regcomp setlocale strchr strcspn strrchr strstr strtol strtoull])
18960N/A AC_CHECK_HEADERS([fcntl.h libintl.h])
18960N/A