On Wednesday 15 November 2006 4:03 pm, Jean-Marc Lasgouttes wrote: > > I'd use case instead to avoid portability problems. Something like > (untested) > > lyx_devel_version=no > lyx_prerelease=no > case AC_PACKAGE_VERSION in > *svn*) lyx_devel_version=yes > AC_DEFINE(DEVEL_VERSION, 1, [Define if you are building a > development version of LyX]) LYX_DATE="not released yet" > echo "WARNING: This is a development version. Expect bugs.";; > *pre*|*alpha*)lyx_prerelease=yes > echo "WARNING: This is a prerelease. Be careful and backup your > documents.";; esac > > But I suspect we'd better put alpha in the devel camp insetead of pre. > Do as you prefer.
This looks nice. I will put it later, now I will leave for classes and I will finish the procedure when I return. > BTW, at the same time, the following fix looks useful. Is the difference only whitespace? I compare the two lines and I don't see what is different. If you think it could be useful then commit it, please. > JMarc -- José Abílio
