Re: How to maintain compatibility with Automake.

2010-08-10 Thread Peter Rosin
Den 2010-08-10 20:27 skrev Ralf Wildenhues: * Ralf Wildenhues wrote on Tue, Aug 10, 2010 at 11:15:21AM CEST: * Gary V. Vaughan wrote on Tue, Aug 10, 2010 at 11:09:33AM CEST: On 10 Aug 2010, at 15:19, Peter Rosin wrote: m4_defun([AM_PROG_AR], [AC_CHECK_TOOLS(AR, [ar], false) : ${AR=ar} AC_SUBST

Re: How to maintain compatibility with Automake.

2010-08-10 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Tue, Aug 10, 2010 at 11:15:21AM CEST: > * Gary V. Vaughan wrote on Tue, Aug 10, 2010 at 11:09:33AM CEST: > > On 10 Aug 2010, at 15:19, Peter Rosin wrote: > > > m4_defun([AM_PROG_AR], > > > [AC_CHECK_TOOLS(AR, [ar], false) > > > : ${AR=ar} > > > AC_SUBST([AR])dnl > > > ])#

[PATCH] Make testsuite compatible with Autoconf 2.62 again.

2010-08-10 Thread Gary V. Vaughan
Pushed to origin/master as obvious: * tests/getopt-m4sh.at (AT_CHECK): Autotest 2.62 chokes on unquoted '#' in AT_CHECK, so replace all uses with '@%:@' quadrigraph. Suggested by Eric Blake Reported by Ralf Wildenhues --- ChangeLog|8 tests/getopt-m4sh.at |6 +++---

Re: How to maintain compatibility with Automake.

2010-08-10 Thread Ralf Wildenhues
* Gary V. Vaughan wrote on Tue, Aug 10, 2010 at 11:09:33AM CEST: > On 10 Aug 2010, at 15:19, Peter Rosin wrote: > > m4_defun([AM_PROG_AR], > > [AC_CHECK_TOOLS(AR, [ar], false) > > : ${AR=ar} > > AC_SUBST([AR])dnl > > ])# AM_PROG_AR > > ]) > > Just like that! NAK. I don't have time to explain now

Re: How to maintain compatibility with Automake.

2010-08-10 Thread Gary V. Vaughan
On 10 Aug 2010, at 15:19, Peter Rosin wrote: > Hi! Hi Peter, > A macro by the name AM_PROG_AR might be on its way into Automake, > and I would like to use it sooner rather than later. But I don't > think it is prudent to require an Automake version which has the > macro. Would something like this

How to maintain compatibility with Automake.

2010-08-10 Thread Peter Rosin
Hi! A macro by the name AM_PROG_AR might be on its way into Automake, and I would like to use it sooner rather than later. But I don't think it is prudent to require an Automake version which has the macro. Would something like this be a workable solution in libtool.m4 (untested, needs adjustment