svn rev #25112: trunk/src/ po/
ghudson@MIT.EDU
ghudson at MIT.EDU
Tue Aug 23 22:48:07 EDT 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=25112
Commit By: ghudson
Log Message:
Only build the po subdir if i18n is enabled.
Also clean the built message catalogs in "make clean".
Changed Files:
U trunk/src/Makefile.in
U trunk/src/configure.in
U trunk/src/po/Makefile.in
Modified: trunk/src/Makefile.in
===================================================================
--- trunk/src/Makefile.in 2011-08-23 15:45:29 UTC (rev 25111)
+++ trunk/src/Makefile.in 2011-08-24 02:48:07 UTC (rev 25112)
@@ -15,7 +15,7 @@
plugins/preauth/pkinit \
plugins/preauth/encrypted_challenge \
kdc kadmin slave clients appl tests \
- config-files gen-manpages po
+ config-files gen-manpages @po@
WINSUBDIRS=include util lib ccapi windows clients appl
BUILDTOP=$(REL).
LOCALINCLUDES = -I$(srcdir)
Modified: trunk/src/configure.in
===================================================================
--- trunk/src/configure.in 2011-08-23 15:45:29 UTC (rev 25111)
+++ trunk/src/configure.in 2011-08-24 02:48:07 UTC (rev 25112)
@@ -67,10 +67,13 @@
])
AC_SUBST(LIBUTIL)
+po=
AC_CHECK_HEADER(libintl.h, [
AC_SEARCH_LIBS(dgettext, intl, [
+ po=po
AC_DEFINE(ENABLE_NLS, 1,
[Define if translation functions should be used.])])])
+AC_SUBST(po)
# for kdc
AC_CHECK_HEADERS(syslog.h sys/sockio.h ifaddrs.h unistd.h)
Modified: trunk/src/po/Makefile.in
===================================================================
--- trunk/src/po/Makefile.in 2011-08-23 15:45:29 UTC (rev 25111)
+++ trunk/src/po/Makefile.in 2011-08-24 02:48:07 UTC (rev 25112)
@@ -48,3 +48,6 @@
install -c $$c \
$(DESTDIR)$(KRB5_LOCALEDIR)/$$lang/LC_MESSAGES/$(DOMAIN).mo; \
done
+
+clean::
+ $(RM) $(CATALOGS)
More information about the cvs-krb5
mailing list