On Thu, Jul 06, 2006 at 01:12:49PM +0000, Angus Leeming wrote: > Jean-Marc Lasgouttes writes: > > Enrico> What about autogen.sh in LyX assuming that it will work with > > Enrico> autoconf 2.59 but will not work with 2.59e ? > > The difference between this autotools stuff and gcc is that the autotools > stuff is used only by developers. Newer versions of gcc can/will be used > by package maintainers of standard LyX releases. > > > Personally, I think we should only discriminate against version that > > are known to break. But it is just me :) > > No, that makes sense to me also. However, writing tests that sh will > understand isn't trivial. It's easy for us humans to confirm that our > software meets the bar: > > echo "LyX requires automake >= 1.9" > echo "LyX requires autoconf >= 2.52" > > Enabling sh to do so is a difficult problem IMO. I'd suggest that we keep > with the present system.
Then, why not letting the user decide? echo "LyX requires autoconf >= 2.52" read -n 1 -p "Do you want to continue? " ans echo if [ "$ans" = "y" -o "$ans" = "Y" ]; then echo "Ok, keep fingers crossed..." else echo "Stopping here, then." exit 1 fi -- Enrico