Commit aab7f7ac authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

fix locale dir

Commit 4feb9672 ported libwnck to
upstream gettext, but was still using $DATADIRNAME that was no
longer substituded with correct directory.
parent f13ae824
......@@ -75,11 +75,6 @@ GETTEXT_PACKAGE=libwnck-3.0
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Package name])
# AM_GLIB_GNU_GETTEXT above substs $DATADIRNAME
# this is the directory where the *.{mo,gmo} files are installed
wncklocaledir='${prefix}/${DATADIRNAME}/locale'
AC_SUBST(wncklocaledir)
AC_PATH_PROG([GLIB_COMPILE_RESOURCES], [glib-compile-resources])
AC_PATH_PROG(PKG_CONFIG, pkg-config)
......
......@@ -25,7 +25,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir) \
-DWNCK_I_KNOW_THIS_IS_UNSTABLE \
-DWNCK_LOCALEDIR=\"$(wncklocaledir)\" \
-DWNCK_LOCALEDIR=\"$(localedir)\" \
$(DISABLE_DEPRECATED_CFLAGS)
AM_CFLAGS = $(WARN_CFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment