]> git.lyx.org Git - lyx.git/blob - lib/reLyX/configure.in
Improvements in the installation process; still not perfect.
[lyx.git] / lib / reLyX / configure.in
1 dnl Process with autoconf to generate configure script   -*- sh -*-
2 AC_INIT(reLyX.in)
3 AC_PREREQ(2.13) dnl We want to use autoconf 2.13
4 AC_PREFIX_PROGRAM(reLyX)
5 AC_CONFIG_AUX_DIR(../../config)
6
7 dnl PACKAGE=reLyX
8 dnl Do this to install in $datadir/lyx/reLyX instead of $datadir/reLyX/reLyX
9 PACKAGE=lyx
10 VERSION=2.0
11 dnl must make a macro that gets the reLyX version
12 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
13
14 dnl Checks for programs.
15 AC_PROG_INSTALL
16 RELYX_CHECK_PERL
17
18 dnl Finish the work
19 test $program_suffix = NONE && program_suffix=
20 LYX_DIR=`eval "echo \`eval \"echo ${datadir}/lyx${program_suffix}\"\`"`
21 AC_SUBST(LYX_DIR)
22
23 AC_OUTPUT(Makefile reLyX noweb2lyx, chmod 755 reLyX noweb2lyx)
24
25 RELYX_CHECK_ERRORS