1 dnl Process with autoconf to generate configure script -*- sh -*-
3 AC_PREREQ(2.13) dnl We want to use autoconf 2.13
4 AC_PREFIX_PROGRAM(reLyX)
5 AC_CONFIG_AUX_DIR(../../config)
8 dnl Do this to install in $datadir/lyx/reLyX instead of $datadir/reLyX/reLyX
11 dnl must make a macro that gets the reLyX version
12 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
14 dnl Checks for programs.
19 test $program_suffix = NONE && program_suffix=
20 LYX_DIR=`eval "echo \`eval \"echo ${datadir}/lyx${program_suffix}\"\`"`
23 AC_OUTPUT(Makefile reLyX noweb2lyx, chmod 755 reLyX noweb2lyx)