+2005-01-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * reLyX/configure.ac: make sure the prefix is correctly quoted.
+
+ * configure.m4: small visual fix to the search for groff
+
2005-01-06 Angus Leeming <leeming@lyx.org>
* Makefile.am: remove mention of configure.cmd.
# Search a *roff program (used to translate tables in ASCII export)
LYXRC_PROG([for a *roff formatter], \ascii_roff_command, dnl
- 'groff -t -Tlatin1 $$FName' nroff,dnl
+ "groff -t -Tlatin1 \$\$FName" nroff,dnl
test "$prog" = "nroff" && prog='tbl $$FName | nroff')
# Search the ChkTeX program
# fix the value of the prefixes.
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+# make sure prefix is correctly quoted
+prefix="'$prefix'"
# we need to expand ${datadir} to put it into the reLyX wrapper.
LYX_DIR=`eval "echo \`eval \"echo ${datadir}/${PACKAGE}\"\`"`