X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fconfigmake;h=a387984a37d7138b4c9d418393436469d8ce02fd;hb=8b498e93c258019d81b17e40d290a80f48783c7e;hp=881a40bf8d5c18ec0ed952f0e1c22c8131268796;hpb=47a8dd64accd4e522331866a73bb79adc2d6ca78;p=gnulib.git diff --git a/modules/configmake b/modules/configmake index 881a40bf8..a387984a3 100644 --- a/modules/configmake +++ b/modules/configmake @@ -1,28 +1,17 @@ Description: -Variables set by "configure" or "make". +Access from source code to variables set by "configure" or "make". Files: +m4/configmake.m4 Depends-on: configure.ac: +gl_CONFIGMAKE_PREP Makefile.am: -# Retrieve values of the variables through 'configure' followed by -# 'make', not directly through 'configure', so that a user who -# sets some of these variables consistently on the 'make' command -# line gets correct results. -# -# One advantage of this approach, compared to the classical -# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS, -# is that it protects against the use of undefined variables. -# If, say, $(libdir) is not set in the Makefile, LIBDIR is not -# defined by this module, and code using LIBDIR gives a -# compilation error. -# -# Another advantage is that 'make' output is shorter. -# -# Listed in the same order as the GNU makefile conventions. +# Listed in the same order as the GNU makefile conventions, and +# provided by autoconf 2.59c+. # The Automake-defined pkg* macros are appended, in the order # listed in the Automake 1.10a+ documentation. configmake.h: Makefile @@ -67,7 +56,7 @@ CLEANFILES += configmake.h configmake.h-t Include: /* Include only after all system include files. */ -#include "configmake.h" +"configmake.h" License: LGPLv2+