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_CONFIG_AUX_DIR(../../config)
6 AC_PREFIX_PROGRAM(reLyX)
7 # fix the value of the prefixes.
8 test "x$prefix" = xNONE && prefix=$ac_default_prefix
9 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12 dnl Do this to install in $datadir/lyx/reLyX instead of $datadir/reLyX/reLyX
15 dnl must make a macro that gets the reLyX version
16 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
18 dnl Checks for programs.
23 test $program_suffix = NONE && program_suffix=
24 LYX_DIR=`eval "echo \`eval \"echo ${datadir}/lyx${program_suffix}\"\`"`
27 AC_OUTPUT(Makefile reLyX noweb2lyx, chmod 755 reLyX noweb2lyx)