summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2021-10-31 08:51:40 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2021-11-07 22:28:48 +0100
commit1a68a102f26e8cce72f9971264cff296e055714f (patch)
tree6c8ff20ac43f96dc3f2108c3773cbbba3356153f
parentda44441982b6d859b4f19ead820e10875dd01db3 (diff)
downloadlibgphoto2-1a68a102f26e8cce72f9971264cff296e055714f.tar.gz
Remove definition of localedir
The "localedir" variable has been introduced by autoconf-2.59c. We are requiring at least autoconf-2.62, so we do not need to define and AC_SUBST "localedir" any more.
-rw-r--r--configure.ac1
-rw-r--r--libgphoto2_port/configure.ac1
2 files changed, 0 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c2f3d5e9e..2e788542a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -273,7 +273,6 @@ AM_GNU_GETTEXT([external])
AM_ICONV()
GP_GETTEXT_FLAGS()
-AC_SUBST([localedir],["\$(datadir)/locale"])
AM_CPPFLAGS="$AM_CPPFLAGS -DLOCALEDIR=\\\"${localedir}\\\""
dnl FIXME: We have to make sure this works first
diff --git a/libgphoto2_port/configure.ac b/libgphoto2_port/configure.ac
index 813b92cff..30612025d 100644
--- a/libgphoto2_port/configure.ac
+++ b/libgphoto2_port/configure.ac
@@ -146,7 +146,6 @@ AM_GNU_GETTEXT([external])
AM_ICONV()
GP_GETTEXT_FLAGS()
-AC_SUBST([localedir],["\$(datadir)/locale"])
AM_CPPFLAGS="$AM_CPPFLAGS -DLOCALEDIR=\\\"${localedir}\\\""
AC_CHECK_FUNC([gettext], [gettext_without_libintl=true])