Make sure that visibility rules are being used.
authorBrian Aker <brian@tangent.org>
Sun, 21 Oct 2012 01:18:41 +0000 (21:18 -0400)
committerBrian Aker <brian@tangent.org>
Sun, 21 Oct 2012 01:18:41 +0000 (21:18 -0400)
configure.ac

index feaadda389e30ecd66d822d06c33e1df57ff1330..28fa4303b03ca6b544b57bd73bc53aeb928c7066 100644 (file)
@@ -53,6 +53,7 @@ AX_ASSERT
 AX_PLATFORM
 
 gl_VISIBILITY
+AS_IF([ test -n "$CFLAG_VISIBILITY" ], [ CPPFLAGS="$CPPFLAGS $CFLAG_VISIBILITY" ])
 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 
 AX_CXX_HEADER_STDCXX_98