AC_INIT(reLyX.in)
AC_PREREQ(2.13) dnl We want to use autoconf 2.13
AC_CONFIG_AUX_DIR(../../config)
+AC_EXEEXT
dnl PACKAGE=reLyX
dnl Do this to install in $datadir/lyx/reLyX instead of $datadir/reLyX/reLyX
-AC_ARG_WITH(lyxname,
- [ --with-lyxname the name under which lyx will be installed],
- [lyxname=$withval],[lyxname=lyx])
+AC_ARG_WITH(version-suffix,
+ [ --with-version-suffix[=<version>] install lyx files as lyx<version>],
+ [lyxname="lyx$withval"
+ program_suffix=$withval],
+ [lyxname=lyx])
dnl must make a macro that gets the reLyX version
VERSION=2.0