svn rev #25425: trunk/src/
ghudson@MIT.EDU
ghudson at MIT.EDU
Mon Oct 31 23:49:17 EDT 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=25425
Commit By: ghudson
Log Message:
ticket: 6997
target_version: 1.10
tags: pullup
Conditionalize po subdir on msgfmt, not dgetext
The presence of dgettext in libc or libintl doesn't imply that msgfmt
is installed, so conditionalize building the po subdir on whether
msgfmt is installed.
Changed Files:
U trunk/src/configure.in
Modified: trunk/src/configure.in
===================================================================
--- trunk/src/configure.in 2011-10-31 16:43:40 UTC (rev 25424)
+++ trunk/src/configure.in 2011-11-01 03:49:16 UTC (rev 25425)
@@ -66,12 +66,16 @@
])
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_CHECK_PROG(MSGFMT,msgfmt,msgfmt)
+po=
+if test x"$MSGFMT" != x; then
+ po=po
+fi
AC_SUBST(po)
# for kdc
More information about the cvs-krb5
mailing list