-----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             e...@byu.net
-----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