[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m4_shift does not work
From: |
akim |
Subject: |
Re: m4_shift does not work |
Date: |
Sat, 4 Aug 2001 02:45:52 +0200 |
User-agent: |
Mutt/1.3.18i |
On Fri, Aug 03, 2001 at 10:01:42PM +0100, Roger Leigh wrote:
> On Thu, Aug 02, 2001 at 11:07:21PM +0200, address@hidden wrote:
> > On Wed, Aug 01, 2001 at 02:59:53PM +0100, Roger Leigh wrote:
> > > In autoconf-2.13, shift was explicitly undefined in acgeneral.m4.
> > > In 2.50 it seems to be renamed to m4_shift, and there is also
> > > m4_shiftn in m4sh.m4. However, I can't seem to be able to use
> > > either of these macros myself:
> >
> > Quote your definition body.
>
> Oops. Thanks, it works fine now. However, I now have a similar
> problem with m4_ifelse and m4_translit etc.:
>
> AC_DEFUN([AC_CONFIG_LIBCONFIG_IN],[# create a custom library-config file
> ($1-config)
> L=`echo m4_ifelse($1, , $PACKAGE, $1)`
>
> I do quote the definition body here, but autoconf gives the error:
>
> configure:2705: error: possibly undefined macro: m4_ifelse
>
> (the macro is not expanded, but plain `ifelse' is).
s/m4_ifelse/m4_if/.
I'll answer your other question later :) Gotta sleep.