On Mon, Dec 10, 2007 at 09:40:48AM -0800, Ben Pfaff wrote: > Noah Misch <noah@xxxxxxxxxxxxxx> writes: > > On Mon, Dec 10, 2007 at 05:46:30AM +0100, Sebastian Pipping wrote: > >> I am running Autoconf 2.61a here. I want to add a version > >> guard to my configure.in and surprisingly adding > >> > >> AC_PREREQ(2.61b) > >> > >> gives an error (from aclocal already) as expected > >> but > >> > >> AC_PREREQ(2.7) I accidentally left out this line of context from the original post: doesn't make it stop. What am I doing wrong? > > AC_PREREQ uses GNU `strverscmp'-style comparisons. > > Essentially, the version is two dot-separated integers with an > > optional trailing letter. Therefore, 2.61 > 2.10 > 2.9 > 2.7. > > And therefore one would expect that AC_PREREQ(2.7) would succeed > under Autoconf 2.61a. In fact, it does succeed when I test it on > my machine here. The OP implies that it fails on his machine. I > don't know why it would, though. As I understand it, AC_PREREQ does succeed ("doesn't make it stop") on the OP's system as well. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf