summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac8
-rw-r--r--src/Makefile.am1
2 files changed, 1 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index af8446d..51c147e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -135,14 +135,6 @@ AM_GNU_GETTEXT_VERSION([0.19.8])
AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
AM_GNU_GETTEXT([external])
-if test "x${prefix}" = "xNONE"; then
- AC_DEFINE_UNQUOTED(LOCALEDIR, "${ac_default_prefix}/${DATADIRNAME}/locale", [Locale dir])
-else
- AC_DEFINE_UNQUOTED(LOCALEDIR, "${prefix}/${DATADIRNAME}/locale", [Locale dir])
-fi
-
-dnl ******************************
-
dnl ******************************
AC_ARG_ENABLE([magic],
diff --git a/src/Makefile.am b/src/Makefile.am
index 1f125f8..576c803 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -30,6 +30,7 @@ AM_CPPFLAGS = \
-DPIXMAPSDIR=\""$(datadir)/pixmaps"\" \
-DGLADEDIR=\""$(gladedir)"\" \
-DPRIVEXECDIR=\"$(privexecdir)\" \
+ -DLOCALEDIR=\""$(datadir)/locale"\" \
-DSHDIR=\"$(shdir)\" \
$(FR_CFLAGS) \
$(JSON_GLIB_CFLAGS) \