Andrea Monaco
Andrea Monaco

Reputation: 79

Where are autoconf macros defined?

The standard ones, like AC_PROG_AWK. I looked in the docs, but couldn't find them.

Any help or link would be truly appreciated!

Upvotes: 0

Views: 584

Answers (3)

William Pursell
William Pursell

Reputation: 212238

Most of the autoconf macros are stored in $prefix/share/autoconf (where prefix is the prefix used to install autoconf.) In particular, the definition of AC_PROG_AWK can be found in:

$(dirname $( which autoconf ))/../share/autoconf/autoconf/programs.m4

(This is valid for autoconf 2.65, and probably for many version preceding it.)

Upvotes: 1

adl
adl

Reputation: 16034

Automake macros starts with AM_. The AC_ prefix in your example means Autoconf. You should therefore look into the Autoconf manual.

Upvotes: 1

aefxx
aefxx

Reputation: 25249

I'm no expert when it comes to automake/autoconf. Yet, a bit of googling revealed this which seems to contain the macro sources: autoconf.git/lib/autoconf.

Upvotes: 1

Related Questions