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. See Info file `autoconf', node `Top', for
more information.
GIMP-Print provides an m4 macro, AM_PATH_GIMPPRINT, suitable for
use in a `configure.in'. It defines the environment variables
@env{GIMPPRINT_CFLAGS}, @env{GIMPPRINT_LIBS} and @env{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.
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: @env{GIMPPRINT_CFLAGS},
@env{GIMPPRINT_LIBS} and @env{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
(see section 3.4 automake).
Go to the first, previous, next, last section, table of contents.