+2003-02-24 [christoph]
+
+ * Makefile.am
+ * configure.ac
+ fix gnome prefix problems, the configure script now removed
+ `gnome-config --prefix` from `gnome-config --datadir`
+ and adds $(prefix} instead
+
2003-02-24 [christoph] 0.8.10claws49
* src/news.c
autogen.sh
if SYLPHEED_GNOME
-pixmapdir=$(gnomedir)/share/pixmaps
+pixmapdir=$(gnomedatadir)/pixmaps
pixmap_DATA=sylpheed.png
-gnomapdir=$(gnomedir)/share/gnome/apps/Internet
+gnomapdir=$(gnomedatadir)/gnome/apps/Internet
gnomap_DATA=sylpheed.desktop
else
pixmapdir=
dnl GNOME installed?
AC_PATH_PROG(GNOME_CONFIG, gnome-config, no)
if test "$GNOME_CONFIG" != no; then
- gnomedir="`gnome-config --prefix`"
- AC_SUBST(gnomedir)
+ gnomedatadir="`gnome-config --datadir`"
+ gnomeprefix="`gnome-config --prefix`"
+ gnomedatadir="${prefix}/${gnomedatadir#${gnomeprefix}}"
+ AC_SUBST(gnomedatadir)
fi
-AM_CONDITIONAL(SYLPHEED_GNOME, test -d "$gnomedir")
+AM_CONDITIONAL(SYLPHEED_GNOME, test -n "$gnomedatadir")
dnl Claws version
AC_DEFINE(CLAWS, 1, Compiling Claws branch of sylpheed)