From e84e9b5fa2e4352bfc3bfabe55dc57190da7e7d5 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 20 Aug 2009 14:59:13 -0400 Subject: Support gettext >= 0.14 instead of 0.17 This is needed for support of RHEL5 Adding the assignment of $(localedir) was necessary, as gettext 0.14 does not include automatically assign it. --- sss_client/Makefile.am | 3 ++- sss_client/configure.ac | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'sss_client') diff --git a/sss_client/Makefile.am b/sss_client/Makefile.am index 7333e4c39..a8228ee1d 100644 --- a/sss_client/Makefile.am +++ b/sss_client/Makefile.am @@ -1,11 +1,12 @@ SUBDIRS = po pipepath=@pipepath@ +localedir = @localedir@ topdir=. AM_CPPFLAGS = \ -I$(topdir) \ - -DLOCALEDIR=\"\$(localedir)\" \ + -DLOCALEDIR=\"$(localedir)\" \ -DSSS_NSS_SOCKET_NAME=\"$(pipepath)/nss\" \ -DSSS_PAM_SOCKET_NAME=\"$(pipepath)/pam\" \ -DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" diff --git a/sss_client/configure.ac b/sss_client/configure.ac index 7d443ed2d..df1664143 100644 --- a/sss_client/configure.ac +++ b/sss_client/configure.ac @@ -9,7 +9,7 @@ AC_DISABLE_STATIC AC_PROG_LIBTOOL AC_CONFIG_MACRO_DIR([m4]) AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.17]) +AM_GNU_GETTEXT_VERSION([0.14]) AM_CONDITIONAL([HAVE_GCC], [test "$ac_cv_prog_gcc" = yes]) -- cgit