--- /dev/null
+--- config/configure.ac 2009-06-20 12:55:27.000000000 +0200
++++ config/configure.ac-new 2009-12-03 20:53:38.492002725 +0100
+@@ -110,8 +110,6 @@
+ [ --disable-visibility do not use g++ visibility support ],
+ GXX_VISIBILITY=$enableval, GXX_VISIBILITY=yes)
+ AC_MSG_RESULT($GXX_VISIBILITY)
+-if test "$GXX_VISIBILITY" = "yes"; then
+- AX_CXX_CHECK_FLAG(-fvisibility-inlines-hidden,[],[],[GXX_VISIBILITY=yes],[GXX_VISIBILITY=no])
+ if test "$GXX_VISIBILITY" = "yes"; then
+ CXXFLAGS="${CXXFLAGS} -fvisibility=hidden -fvisibility-inlines-hidden"
+ AC_DEFINE(HAVE_GXXCLASSVISIBILITY,1)
+@@ -119,7 +117,6 @@
+ if test "$enable_shared" = "yes"; then
+ AC_DEFINE(HAVE_DLL)
+ fi
+-fi
+
+ AC_MSG_CHECKING([whether to use the lens database for Exif.Nikon3.LensData])
+ AC_ARG_ENABLE(lensdata,