[PATCH] Remove dependency from libintl in Samba4.
Timur I. Bakeyev
timur at com.bat.ru
Sun Jun 7 22:52:52 GMT 2009
Hi all!
I was a bit surprised to find out that my build of Samba4 has dependency
from libintl library, taking into account, that I disable it for all
supplimentary libraries and don't see any i18n staff in the source tree.
After some digging I figured out that this dependency comes from the
domestic version of Heimdal, that comes with Samba4. honestly, I don't
believe that there is any real need for the l10n of the library, that
used only deeply internally.
So, I suggest to disable inclusion of the libintl in the Samba4 configure.
Here is the proposed patch.
With regards,
Timur Bakeyev.
-------------- next part --------------
--- ./source4/heimdal_build/internal.m4.orig 2009-04-30 07:53:01.000000000 +0000
+++ ./source4/heimdal_build/internal.m4 2009-06-01 11:49:40.000000000 +0000
@@ -171,12 +170,6 @@
SMB_EXT_LIB(OPENPTY,[${OPENPTY_LIBS}],[${OPENPTY_CFLAGS}],[${OPENPTY_CPPFLAGS}],[${OPENPTY_LDFLAGS}])
-AC_CHECK_LIB_EXT(intl, INTL_LIBS, gettext)
-
-SMB_ENABLE(INTL,YES)
-
-SMB_EXT_LIB(INTL, $INTL_LIBS)
-
smb_save_LIBS=$LIBS
RESOLV_LIBS=""
LIBS=""
More information about the samba-technical
mailing list