$NetBSD: patch-ad,v 1.4 2008/09/06 20:09:16 bjs Exp $ --- configure.ac.orig 2008-09-06 06:06:45.000000000 -0400 +++ configure.ac @@ -109,14 +109,14 @@ dnl ==================================== dnl -fvisibility stuff have_gcc4=no -AC_MSG_CHECKING(for -fvisibility) -AC_COMPILE_IFELSE([ -#if defined(__GNUC__) && (__GNUC__ >= 4) -#else -error Need GCC 4.0 for visibility -#endif +dnl AC_MSG_CHECKING(for -fvisibility) +dnl AC_COMPILE_IFELSE([ +dnl #if defined(__GNUC__) && (__GNUC__ >= 4) +dnl #else +dnl error Need GCC 4.0 for visibility +dnl #endif int main () { return 0; } -], have_gcc4=yes) +dnl ], have_gcc4=yes) if test "x$have_gcc4" = "xyes"; then CFLAGS="$CFLAGS -fvisibility=hidden"