diff options
author | rbuj <[email protected]> | 2021-02-08 11:13:05 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-09 10:27:40 +0100 |
commit | 0ff5527f5b057d26e75ea7c44ec4ea809c140cdc (patch) | |
tree | 6771dc459f2c954cd82b5dbe8114a6603f742338 /configure.ac | |
parent | 7839311c2c203323609b89f589294778bb4e980f (diff) | |
download | engrampa-0ff5527f5b057d26e75ea7c44ec4ea809c140cdc.tar.bz2 engrampa-0ff5527f5b057d26e75ea7c44ec4ea809c140cdc.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index 640c208..a20f9ab 100644 --- a/configure.ac +++ b/configure.ac @@ -136,9 +136,10 @@ GETTEXT_PACKAGE=AC_PACKAGE_NAME AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GetText Package]) +AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.19.8]) AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8]) -AM_GNU_GETTEXT([external]) +AM_CONDITIONAL([USE_NLS], [test "x${USE_NLS}" = "xyes"]) dnl ****************************** @@ -249,14 +250,15 @@ Configure summary: ${PACKAGE_STRING} `echo $PACKAGE_STRING | sed "s/./=/g"` - Source code location: ${srcdir} - Compiler: ${CC} - Compiler flags: ${CFLAGS} - Warning flags: ${WARN_CFLAGS} - Linker flags: ${LDFLAGS} - Caja support: ${enable_caja_actions} - PackageKit support: ${enable_packagekit} - Run in place ${enable_run_in_place} - Use libmagic: ${enable_magic} - JSON support: ${enable_json_glib} + Source code location: ${srcdir} + Compiler: ${CC} + Compiler flags: ${CFLAGS} + Warning flags: ${WARN_CFLAGS} + Linker flags: ${LDFLAGS} + Caja support: ${enable_caja_actions} + PackageKit support: ${enable_packagekit} + Run in place ${enable_run_in_place} + Use libmagic: ${enable_magic} + JSON support: ${enable_json_glib} + Native Language support: ${USE_NLS} " |