diff --git a/app/config/Makefile.am b/app/config/Makefile.am index 3f7f395011..c3df49f3bc 100644 --- a/app/config/Makefile.am +++ b/app/config/Makefile.am @@ -15,7 +15,7 @@ endif AM_CPPFLAGS = \ -DG_LOG_DOMAIN=\"Gimp-Config\" \ -DGIMP_APP_VERSION_STRING=\"$(GIMP_APP_VERSION)\" \ - -DGIMPDATADIR=\""$(datadir)"\" \ + -DDATADIR=\""$(datadir)"\" \ -I$(top_builddir) \ -I$(top_srcdir) \ -I$(top_builddir)/app \ diff --git a/plug-ins/help/Makefile.am b/plug-ins/help/Makefile.am index a8823716b6..dbc36108e6 100644 --- a/plug-ins/help/Makefile.am +++ b/plug-ins/help/Makefile.am @@ -17,7 +17,7 @@ help_RC = help.rc.o endif AM_CPPFLAGS = \ - -DGIMPDATADIR=\""$(gimpdatadir)"\" \ + -DDATADIR=\""$(gimpdatadir)"\" \ -I$(top_srcdir) \ $(CAIRO_CFLAGS) \ $(GIO_CFLAGS) \ diff --git a/tools/Makefile.am b/tools/Makefile.am index 3d86a22176..574d072499 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -73,7 +73,7 @@ AM_CPPFLAGS = \ -DBINDIR=\""$(bindir)"\" \ -DSBINDIR=\""$(sbindir)"\" \ -DLIBEXECDIR=\""$(libexecdir)"\" \ - -DSYSDATADIR=\""$(datadir)"\" \ + -DDATADIR=\""$(datadir)"\" \ -DDATAROOTDIR=\""$(datarootdir)"\" \ -DSYSCONFDIR=\""$(sysconfdir)"\" \ -DSHAREDSTATEDIR=\""$(sharedstatedir)"\" \ diff --git a/tools/gimptool.c b/tools/gimptool.c index 24a40d8bd7..5705cabf35 100644 --- a/tools/gimptool.c +++ b/tools/gimptool.c @@ -75,7 +75,7 @@ static struct { { "bindir", BINDIR }, { "sbindir", SBINDIR }, { "libexecdir", LIBEXECDIR }, - { "datadir", SYSDATADIR }, + { "datadir", DATADIR }, { "datarootdir", DATAROOTDIR }, { "sysconfdir", SYSCONFDIR }, { "sharedstatedir", SHAREDSTATEDIR },