Copyright (C) 2000-2012 |
GNU Info (gimpprint.info)autoconf`autoconf' ========== The `autoconf' program produces a Bourne shell script called `configure' from a template file called `configure.in'. `configure.in' contains both Bourne shell script, and `m4' macros. `autoconf' expands the `m4' macros into `real' shell script. The resulting `configure' script performs various checks for installed programs, compiler characteristics and other system information such as available headers and libraries. Note: GNU autoconf, for more information. GIMP-Print provides an `m4' macro, `AM_PATH_GIMPPRINT', suitable for use in a `configure.in'. It defines the environment variables `GIMPPRINT_CFLAGS', `GIMPPRINT_LIBS' and `GIMPPRINT_CONFIG'. You can optionally specify a minimum version of the library to use, and shell script to run if the test suceeds or fails. - Macro: AM_PATH_GIMPPRINT ([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) Check for an installed version of GIMP-Print greater than or equal to MINIMUM-VERSION. ACTION-IF-FOUND is a list of shell commands to run if the check for the library succeeds; ACTION-IF-NOT-FOUND is a list of shell commands to run if the check fails. The macro sets the following environment variables: `GIMPPRINT_CFLAGS', `GIMPPRINT_LIBS' and `GIMPPRINT_CONFIG'. It also will substitute them into any `Makefile.in' you specify in `AC_OUTPUT' because it calls `AC_SUBST' for each of them. However, you will probably be using `automake' to generate your `Makefile.in' files (Note: automake). automatically generated by info2www version 1.2.2.9 |