mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
Handle version numbers like 2.0.5dev in LYX_CHECK_VERSION
This commit is contained in:
parent
8881a443fb
commit
4471e65fa1
@ -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]);;
|
*) AC_ERROR([Bad build type specification \"$enableval\". Please use one of rel(ease), pre(release), dev(elopment), prof(iling), or gprof]);;
|
||||||
esac],
|
esac],
|
||||||
[case AC_PACKAGE_VERSION in
|
[case AC_PACKAGE_VERSION in
|
||||||
*svn*) build_type=development;;
|
*svn*|*dev*) build_type=development;;
|
||||||
*pre*|*alpha*|*beta*|*rc*) build_type=prerelease;;
|
*pre*|*alpha*|*beta*|*rc*) build_type=prerelease;;
|
||||||
*) build_type=release ;;
|
*) build_type=release ;;
|
||||||
esac])
|
esac])
|
||||||
|
Loading…
Reference in New Issue
Block a user