2000-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+ * lib/reLyX/reLyX.in: use variable @LYX_DIR@ as built-in data
+ directory.
+
+ * lib/reLyX/configure.in (LYX_DIR): re-introduce this variable
+ that I removed earlier... It is really needed.
+
* lib/examples/multicol.lyx: new file, splitted from Extended.lyx.
2000-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+# we need to expand ${datadir} to put it into the reLyX wrapper.
+LYX_DIR=`eval "echo \`eval \"echo ${datadir}/${PACKAGE}\"\`"`
+AC_SUBST(LYX_DIR)
+
dnl Checks for programs.
AC_PROG_INSTALL
RELYX_CHECK_PERL
# Do this in a BEGIN block so it's done before the 'use lib' below
BEGIN{
# This points to LyX library dir, e.g. /usr/local/share/lyx
-$lyxdir = "@pkgdatadir@";
+$lyxdir = "@LYX_DIR@";
# This is just "." if you compiled from the source directory
my $srcdir = "@srcdir@";
# This is the name of the program, usually just "lyx"