summaryrefslogtreecommitdiffstats
path: root/src/configure.in
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-08-24 02:48:07 +0000
committerGreg Hudson <ghudson@mit.edu>2011-08-24 02:48:07 +0000
commitc02f8208dd3e91bf090afd1c1f152a9def3486f8 (patch)
tree92d198cf59685faca0dc443237e84ed2640c88d5 /src/configure.in
parentad25940f24d226cfa74e884c7b0932ebd181ca6f (diff)
downloadkrb5-c02f8208dd3e91bf090afd1c1f152a9def3486f8.tar.gz
krb5-c02f8208dd3e91bf090afd1c1f152a9def3486f8.tar.xz
krb5-c02f8208dd3e91bf090afd1c1f152a9def3486f8.zip
Only build the po subdir if i18n is enabled
Also clean the built message catalogs in "make clean". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25112 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configure.in b/src/configure.in
index a5fa4eeea2..4e61e8f591 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -67,10 +67,13 @@ LIBUTIL=-lutil
])
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)