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 8881a443fb
commit 4471e65fa1

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])