summaryrefslogtreecommitdiff
path: root/libgphoto2_port
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2021-10-22 00:10:33 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2021-11-07 22:27:49 +0100
commit8c4a57b73443c9095fe80274f16c119a23b204aa (patch)
treee3ab9988753af4506ff6e652078fc8c31ec556e4 /libgphoto2_port
parentae171a9c1bec28e6ac4daf30d11c67230d108cae (diff)
downloadlibgphoto2-8c4a57b73443c9095fe80274f16c119a23b204aa.tar.gz
Use the same gettext setup
This puts AM_PO_SUBDIRS before AM_GNU_GETTEXT to fix the error: `po-directories' is already registered with AC_CONFIG_COMMANDS. and puts the -DLOCALEDIR definition close to the gettext setup.
Diffstat (limited to 'libgphoto2_port')
-rw-r--r--libgphoto2_port/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgphoto2_port/configure.ac b/libgphoto2_port/configure.ac
index ab83dafe9..3327cb53b 100644
--- a/libgphoto2_port/configure.ac
+++ b/libgphoto2_port/configure.ac
@@ -136,14 +136,14 @@ dnl AC_SUBST(BUILD_INCLUDED_LIBINTL)
dnl USE_INCLUDED_LIBINTL=no
dnl AC_SUBST(USE_INCLUDED_LIBINTL)
+ALL_LINGUAS="cs da de es eu fi fr it ja nl pl pt_BR ru sk sr sv uk vi zh_CN zh_TW"
GP_GETTEXT_HACK([GETTEXT_PACKAGE_LIBGPHOTO2_PORT],
[${PACKAGE}-${LIBGPHOTO2_PORT_CURRENT_MIN}],
[Lutz Mueller and others],
[${MAIL_GPHOTO_TRANSLATION}])
-ALL_LINGUAS="cs da de es eu fi fr it ja nl pl pt_BR ru sk sr sv uk vi zh_CN zh_TW"
+AM_PO_SUBDIRS()
AM_GNU_GETTEXT_VERSION([0.14.1])
AM_GNU_GETTEXT([external])
-AM_PO_SUBDIRS()
AM_ICONV()
GP_GETTEXT_FLAGS()