1999-10-05 09:17:15 +00:00
|
|
|
dnl Process with autoconf to generate configure script -*- sh -*-
|
1999-09-27 18:44:28 +00:00
|
|
|
AC_INIT(reLyX.in)
|
|
|
|
AC_PREREQ(2.13) dnl We want to use autoconf 2.13
|
1999-10-05 09:17:15 +00:00
|
|
|
AC_PREFIX_PROGRAM(reLyX)
|
1999-10-12 14:08:52 +00:00
|
|
|
AC_CONFIG_AUX_DIR(../../config)
|
1999-09-27 18:44:28 +00:00
|
|
|
|
1999-10-12 14:08:52 +00:00
|
|
|
dnl PACKAGE=reLyX
|
|
|
|
dnl Do this to install in $datadir/lyx/reLyX instead of $datadir/reLyX/reLyX
|
|
|
|
PACKAGE=lyx
|
1999-09-27 18:44:28 +00:00
|
|
|
VERSION=2.0
|
|
|
|
dnl must make a macro that gets the reLyX version
|
|
|
|
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
|
|
|
|
|
|
|
|
dnl Checks for programs.
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
RELYX_CHECK_PERL
|
|
|
|
|
1999-10-05 09:17:15 +00:00
|
|
|
dnl Finish the work
|
|
|
|
test $program_suffix = NONE && program_suffix=
|
|
|
|
LYX_DIR=`eval "echo \`eval \"echo ${datadir}/lyx${program_suffix}\"\`"`
|
|
|
|
AC_SUBST(LYX_DIR)
|
1999-09-27 18:44:28 +00:00
|
|
|
|
1999-10-12 14:08:52 +00:00
|
|
|
AC_OUTPUT(Makefile reLyX noweb2lyx, chmod 755 reLyX noweb2lyx)
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
RELYX_CHECK_ERRORS
|