On 04/30/2011 01:16 AM, Too, Justin A. wrote:
Hi all,

In my configure.ac I simply invoke: AC_PROG_UPC

…
$ aclocal …
     aclocal:configure.ac:12: warning: macro `AM_PROG_UPC' not found in library
…
$ autoconf
     Configure.ac:12: error: possibly undefined macro: AM_PROG_UPC
If this token and others are legitimate, please use m4patternallow.
See the Autoconf documentation.

Is this a non-standard macro?
Yes.

[Apart of this, AM_PROG_UPC violates auto*tools naming conventions; AM_*/AM_* prefixed macros are reserved for autoconf rsp. automake.]

Then, how can I add UPC support to my Autotools project?
Non-standard macros need to be supplied by either the package itself or by other packages.

There are several ways to do so, so answering your question would require knowing more details about the package you are trying to build.

Ralf


_______________________________________________
Autoconf mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to