bug-gnulib
[Top][All Lists]
Advanced

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

Re: gnulib update broke clisp


From: Eric Blake
Subject: Re: gnulib update broke clisp
Date: Fri, 16 Jan 2009 06:12:02 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Paolo Bonzini on 1/15/2009 3:46 PM:
>> AC_REQUIRE([AC_CONFIG_AUX_DIR($1)])
>> ??
>> I get this:
>> warning: AC_CONFIG_AUX_DIR(../../../src/build-aux) is m4_require'd but
>> not m4_defun'd
> 
> AC_REQUIRE does not accept arguments.

Or, more precisely, the macro name passed as the first argument to
AC_REQUIRE is a complete macro name (even if it includes ()), and the only
way to pass arguments to a macro via AC_REQUIRE is to use the two-argument
form of AC_REQUIRE.  However, you then run the risk of whether the macro
will be called with your argument, compared to your AC_REQUIRE being a
no-op because another location already required it without an argument.
So in general, AC_REQUIRE only makes sense for macros that don't use
arguments.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklwh6IACgkQ84KuGfSFAYBJBACfXlwa2tKhc3t74AfzpJHa+Hzs
h/gAnRZmuOOO9mpSI79N3c2klW05Mn/E
=GLR8
-----END PGP SIGNATURE-----




reply via email to

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