Example Configurations
M4 Macros
Code Snippets
To include an M4 file, use the sinclude function, e.g.
...
No Format |
---|
builtin(include, /some/custom/macro.m4) |
Important Macros
Checking files
No Format |
---|
AC_CHECK_FILE AC_CHECK_FILES |
Checking libs
No Format |
---|
AC_CHECK_LIB
|
Checking for programs
No Format |
---|
AC_CHECK_PROG
|
Messages
No Format |
---|
AC_MSG_CHECKING AC_MSG_NOTICE AC_MSG_RESULT AC_MSG_WARN |
...
Output variables to substitute
No Format |
---|
AC_SUBST AC_SUBST_FILE |
Links
Huge Mozilla configure.inAutconf Manual on Single HTML Page
http://lxrwww.mozillagnu.org/seamonkeysoftware/source/configure.in
Guide to writing configure.in
http://www.adp-gmbh.ch/misc/tools/configure/configure_inautoconf/manual/autoconf-2.57/html_mono/autoconf.html
Current GNU Autoconf manual in PDF
...
http://autoconf-archive.cryp.to/macros-by-category.html
Autobook.
http://sourceware.org/autobook/autobook/autobook_toc.html
Checking for OpenGL (example)
http://autoconf-archive.cryp.to/ax_check_gl.html
Mozilla's configure.in
http://lxr.mozilla.org/seamonkey/source/configure.in
Guide to writing configure.in
http://www.adp-gmbh.ch/misc/tools/configure/configure_in.html
GNUlib's m4 macros
http://savannah.gnu.org/cgi-bin/viewcvs/gnulib/gnulib/m4/
Autoconf.info