]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
OnExit() is called for modules which were initialized even if the init of
[wxWidgets.git] / configure.in
index d8a6b1a5e8b9fbd12e86602c4d1cdf6524768ff3..3a2e876435b8347d212b302f33f4195ecde79d71 100644 (file)
@@ -916,6 +916,13 @@ if test "$wxUSE_UNIX" = 1 ; then
   AC_DEFINE(__UNIX__)
 fi
 
+dnl ----------------------------------------------------------------
+dnl Linux: test for libc5/glibc2: glibc2 has gettext() included
+dnl ----------------------------------------------------------------
+if test "$USE_LINUX" = 1; then
+       AC_CHECK_LIB(c,gettext,AC_DEFINE(wxHAVE_GLIBC2))
+fi
+
 dnl ----------------------------------------------------------------
 dnl search for toolkit (widget sets)
 dnl ----------------------------------------------------------------