Handle version numbers like 2.0.5dev in LYX_CHECK_VERSION

This commit is contained in:
Jean-Marc Lasgouttes 2012-07-04 12:18:15 +02:00
parent d8e0ea362b
commit 67e9caba8a
2 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,7 @@ AC_ARG_ENABLE(build-type,
*) AC_ERROR([Bad build type specification \"$enableval\". Please use one of rel(ease), pre(release), dev(elopment), prof(iling), or gprof]);;
esac],
[case AC_PACKAGE_VERSION in
*svn*) build_type=development;;
*svn*|*dev*) build_type=development;;
*pre*|*alpha*|*beta*|*rc*) build_type=prerelease;;
*) build_type=release ;;
esac])

View File

@ -107,4 +107,6 @@ What's new
* BUILD/INSTALLATION
- recognize version numbers like 2.0.5dev as development versions when
computing the default value of --enable-build-type.