From bf2c74aaf05c3ebf53a5c67e4e3a0792e4396f05 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 12 Jan 2005 17:03:32 +0000 Subject: [PATCH] more fixes git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9469 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 6 ++++++ lib/configure.m4 | 2 +- lib/reLyX/configure.ac | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 4a1e4cd12b..22a8e1f68f 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,9 @@ +2005-01-12 Jean-Marc Lasgouttes + + * 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 * Makefile.am: remove mention of configure.cmd. diff --git a/lib/configure.m4 b/lib/configure.m4 index d47a25bf62..20a2799aa0 100644 --- a/lib/configure.m4 +++ b/lib/configure.m4 @@ -330,7 +330,7 @@ test "$DVIPNG" = "dvipng" && \ # 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 diff --git a/lib/reLyX/configure.ac b/lib/reLyX/configure.ac index dcc4fe9f65..880bb6399e 100644 --- a/lib/reLyX/configure.ac +++ b/lib/reLyX/configure.ac @@ -24,6 +24,8 @@ test -x reLyX && rm -f reLyX # 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}\"\`"` -- 2.39.2