Eric Blake <ebl...@redhat.com> writes:

> If you care about non-GNU make users, then you can't use $(shell).  And
> as long as you are going to mandate that your package be built with GNU
> make, then you might as well go all the way and document that fact in
> your README file, as well as:

>>>> This is actually an Automake question, but the short answer is that
>>>> you probably have fatal warnings enabled and you need to add
>>>> -Wno-portability to the Automake flags (in AM_INIT_AUTOMAKE, for
>>>> example).

> ...tell automake that you don't care about the non-portability aspect by
> adding -Wno-portability to your AM_INIT_AUTOMAKE, at which point you'd
> no longer need your @DOLLAR_SIGN@ hack.

Yeah, if you're going to require GNU make, just say so and add
-Wno-portability.  That's the whole point of the flag.  Hiding the dollar
sign from Automake so that it can't detect the portability issue is an odd
way of expressing things and just adds complexity to no real purpose.

-- 
Russ Allbery (r...@stanford.edu)             <http://www.eyrie.org/~eagle/>

_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to