]> git.lyx.org Git - lyx.git/blobdiff - lib/reLyX/configure.in
John's --with-version-suffix
[lyx.git] / lib / reLyX / configure.in
index f59fec50ad7406efa9f8442907628ccaae9791a5..eac77d53e80e655cfbbeac0dfb38de95cd9b5d2c 100644 (file)
@@ -6,9 +6,11 @@ AC_CONFIG_AUX_DIR(../../config)
 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