blob: eed1987c561ae9c9fa2b162822accb8977315051 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
$NetBSD: patch-ad,v 1.2 2008/06/19 17:51:27 bjs Exp $
--- configure.ac.orig 2008-06-09 12:32:10.000000000 -0400
+++ configure.ac
@@ -112,14 +112,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"
|