fix configure --prefix option

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3008 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-11-12 14:29:14 +00:00
parent c9315ef498
commit 94aa4ea661
3 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2001-11-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* INSTALL: document change in --prefix behaviour.
* configure.in: do not use AC_PREFIX_PROGRAM, which is broken in
autoconf 2.5[012].
2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* configure.in: check also for locale.h, so that things work out * configure.in: check also for locale.h, so that things work out

View File

@ -169,8 +169,7 @@ LyX:
Moreover, the following generic configure flags may be useful: Moreover, the following generic configure flags may be useful:
o --prefix=DIRECTORY specifies the root directory to use for o --prefix=DIRECTORY specifies the root directory to use for
installation. [defaults to where lyx has already been installed or installation. [defaults to /usr/local]
/usr/local]
o --datadir=DIRECTORY gives the directory where all extra LyX o --datadir=DIRECTORY gives the directory where all extra LyX
files (lyxrc example, documentation, templates and layouts files (lyxrc example, documentation, templates and layouts

View File

@ -22,8 +22,6 @@ AM_INIT_AUTOMAKE($lyxname, $VERSION)
# This is needed by GNU gettext # This is needed by GNU gettext
ALL_LINGUAS="ca cs da de es eu fi fr he hu it nl no pl pt ro ru sl sv tr wa" ALL_LINGUAS="ca cs da de es eu fi fr he hu it nl no pl pt ro ru sl sv tr wa"
AC_PREFIX_PROGRAM(lyx)
# fix the value of the prefixes. # fix the value of the prefixes.
test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'