]> git.lyx.org Git - lyx.git/blob - lib/reLyX/configure.in
Fix xforms home page URL; small bug in lib/configure when layout files are not readable
[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_CONFIG_AUX_DIR(../../config)
5
6 dnl PACKAGE=reLyX
7 dnl Do this to install in $datadir/lyx/reLyX instead of $datadir/reLyX/reLyX
8
9 AC_ARG_WITH(lyxname,
10   [  --with-lyxname          the name under which lyx will be installed],
11   [lyxname=$withval],[lyxname=lyx])
12
13 dnl must make a macro that gets the reLyX version
14 VERSION=2.0
15 AM_INIT_AUTOMAKE($lyxname, $VERSION)
16
17 AC_PREFIX_PROGRAM(reLyX)
18 # fix the value of the prefixes.
19 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21
22 dnl Checks for programs.
23 AC_PROG_INSTALL
24 RELYX_CHECK_PERL
25
26 dnl Finish the work
27 AC_OUTPUT(Makefile reLyX noweb2lyx, chmod 755 reLyX noweb2lyx)
28
29 RELYX_CHECK_ERRORS