bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failed test, 152: foreign.at:9 Libtool


From: Akim Demaille
Subject: Re: Failed test, 152: foreign.at:9 Libtool
Date: 23 Jun 2001 16:06:27 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor)

| libtoolize (GNU libtool) 1.0

Wow!  Congrats!  You are the winner in Libtool archeology :)

Thanks!

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * tests/foreign.at (Libtool): Reject prehistoric versions.

Index: tests/foreign.at
===================================================================
RCS file: /cvs/autoconf/tests/foreign.at,v
retrieving revision 1.9
diff -u -u -r1.9 foreign.at
--- tests/foreign.at 2001/04/20 17:38:24 1.9
+++ tests/foreign.at 2001/06/23 14:00:26
@@ -12,7 +12,13 @@
 AT_CHECK([libtoolize --version || exit 77],
          ignore, ignore, ignore)
 # CVS Autoconf probably does not work with too old Libtools.
-AT_CHECK([[libtoolize --version | egrep '1\.3(\.[0-4])?$' && exit 77]],
+AT_CHECK([[
+case `libtoolize --version |
+      sed -n '/^.* \([0-9][0-9.a-z]*\)$/{s//\1/;p;q;}'` in
+  *" "0.*          ) exit 77;;
+  *" "1.[012]*     ) exit 77;;
+  *" "1.3.[01234]* ) exit 77;;
+esac]],
          ignore, ignore, ignore)
 
 # FIXME: Once Libtool `configure.ac' aware, change this.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]