From 86e6c739464f31745d0451a1ede5dd2213582bab Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Sun, 13 Jul 2008 20:44:10 +0000 Subject: [PATCH] fix translation of manus on the mac git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25585 a592a061-630c-0410-9148-cb99ea01b6c8 --- config/lyxinclude.m4 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index eb60d86259..620ebe40b0 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -602,7 +602,7 @@ case $lyx_use_packaging in default_prefix="/Applications/${PACKAGE}.app" bindir='${prefix}/Contents/MacOS' libdir='${prefix}/Contents/Resources' - datadir='${prefix}/Contents/Resources' + datarootdir='${prefix}/Contents/Resources' pkgdatadir='${datadir}' mandir='${datadir}/man' lyx_install_macosx=true ;; @@ -611,7 +611,7 @@ case $lyx_use_packaging in default_prefix="C:/Program Files/${PACKAGE}" bindir='${prefix}/bin' libdir='${prefix}/Resources' - datadir='${prefix}/Resources' + datarootdir='${prefix}/Resources' pkgdatadir='${datadir}' mandir='${prefix}/Resources/man' ;; posix) AC_DEFINE(USE_POSIX_PACKAGING, 1, [Define to 1 if LyX should use a POSIX-style file layout]) @@ -622,6 +622,9 @@ case $lyx_use_packaging in *) LYX_ERROR([Unknown packaging type $lyx_use_packaging]) ;; esac AM_CONDITIONAL(INSTALL_MACOSX, $lyx_install_macosx) +dnl Next two lines are only for autoconf <= 2.59 +datadir='${datarootdir}' +AC_SUBST(datarootdir) AC_SUBST(pkgdatadir) AC_SUBST(program_suffix) ])