diff options
author | rbuj <[email protected]> | 2021-02-07 21:49:22 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-08 21:23:34 +0100 |
commit | a8d98cb5572363804ffabd771055959826b32f99 (patch) | |
tree | a571b63a981e000fddb80ceac1013cee91bfec66 /configure.ac | |
parent | 546660e4c8668f6f94c5d672499d253f70e4fa78 (diff) | |
download | caja-extensions-a8d98cb5572363804ffabd771055959826b32f99.tar.bz2 caja-extensions-a8d98cb5572363804ffabd771055959826b32f99.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/configure.ac b/configure.ac index a2e0910..96be262 100644 --- a/configure.ac +++ b/configure.ac @@ -325,13 +325,14 @@ AC_MSG_NOTICE([Installing caja plugins in ${ac_with_cajadir}]) AC_SUBST([CAJA_EXTENSION_DIR],[${ac_with_cajadir}]) # gettext -AM_GNU_GETTEXT_VERSION([0.19.8]) -AM_GNU_GETTEXT([external]) - 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_CONDITIONAL([USE_NLS], [test "x${USE_NLS}" = "xyes"]) + DISABLE_DEPRECATED_CPPFLAGS="-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED" AC_SUBST(DISABLE_DEPRECATED_CPPFLAGS) @@ -367,20 +368,24 @@ AC_OUTPUT([ ]) echo " - caja-extensions $VERSION - `echo caja-extensions $VERSION | sed "s/./=/g"` - prefix: ${prefix} - compiler: ${CC} - cflags: ${CFLAGS} - warning flags: ${WARN_CFLAGS} - caja-extension dir ${ac_with_cajadir} - - Plugins to be built: - Image Converter: $enable_image_converter - Open Terminal: $enable_open_terminal - Sendto: $enable_sendto - Share: $enable_share - Gksu: $enable_gksu - Wallpaper: $enable_wallpaper - xattr Tags: $enable_xattr_tags +Configure summary: + + ${PACKAGE_STRING} + `echo $PACKAGE_STRING | sed "s/./=/g"` + prefix: ${prefix} + compiler: ${CC} + cflags: ${CFLAGS} + warning flags: ${WARN_CFLAGS} + caja-extension dir: ${ac_with_cajadir} + Native Language support: ${USE_NLS} + + Plugins to be built + `echo "Plugins to be built" | sed "s/./=/g"` + Image Converter: $enable_image_converter + Open Terminal: $enable_open_terminal + Sendto: $enable_sendto + Share: $enable_share + Gksu: $enable_gksu + Wallpaper: $enable_wallpaper + xattr Tags: $enable_xattr_tags " |