diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2005-08-18 12:59:47 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2005-08-18 12:59:47 +0000 |
commit | 169206343fcdd18dd94341eaa4b4e03f9d598eae (patch) | |
tree | 429f55564f3ece842138c3b9759ec372d01c3d8a /configure.in | |
parent | 63411b1347ff4534a6cfdf8df0acdd4a581ffb8b (diff) | |
download | pam-169206343fcdd18dd94341eaa4b4e03f9d598eae.tar.gz pam-169206343fcdd18dd94341eaa4b4e03f9d598eae.tar.bz2 pam-169206343fcdd18dd94341eaa4b4e03f9d598eae.zip |
Relevant BUGIDs: none
Purpose of commit: new feature
Commit summary:
---------------
Add gettext support.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 6b2fff48..3b1574b7 100644 --- a/configure.in +++ b/configure.in @@ -1,12 +1,14 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(conf/pam_conv1/pam_conv.y) -AM_INIT_AUTOMAKE("Linux-PAM", 0.99.0.2) +AM_INIT_AUTOMAKE("Linux-PAM", 0.99.0.3) AM_CONFIG_HEADER(config.h) AC_CANONICAL_HOST AC_SUBST(PACKAGE) AC_SUBST(VERSION) +ALL_LINGUAS="cs hu nb pa pt" + dnl dnl By default, everything under PAM is installed below /usr. dnl @@ -350,7 +352,10 @@ else fi AC_SUBST(PSER) -AH_VERBATIM([_ENABLE_NLS], +AM_GNU_GETTEXT_VERSION +AM_GNU_GETTEXT([external]) + +AH_VERBATIM([_ZZENABLE_NLS], [#ifdef ENABLE_NLS #include <libintl.h> #define _(msgid) dgettext("Linux-PAM", msgid) @@ -363,6 +368,7 @@ AH_VERBATIM([_ENABLE_NLS], dnl Files to be created from when we run configure AC_OUTPUT(Makefile libpam/Makefile libpamc/Makefile libpamc/test/Makefile \ libpam_misc/Makefile conf/Makefile conf/pam_conv1/Makefile \ + po/Makefile.in \ modules/Makefile modules/pammodutil/Makefile \ modules/pam_access/Makefile modules/pam_cracklib/Makefile \ modules/pam_debug/Makefile modules/pam_deny/Makefile \ |