X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fconfigmake;h=c9af25912d3b75f5e6796c3e1913aa1fb34651a4;hb=88418d5fd24c99aac393d3e2f564f6939e4e2fe3;hp=2c5dfaab16d04069e79b0eafcec8bb6966e451f1;hpb=32bdc9d13095a91c492bb581212b6c078e5cae46;p=gnulib.git diff --git a/modules/configmake b/modules/configmake index 2c5dfaab1..c9af25912 100644 --- a/modules/configmake +++ b/modules/configmake @@ -2,10 +2,12 @@ Description: 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 @@ -22,11 +24,12 @@ Makefile.am: # # 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 - rm -f $@-t + $(AM_V_GEN)rm -f $@-t && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ echo '#define PREFIX "$(prefix)"'; \ echo '#define EXEC_PREFIX "$(exec_prefix)"'; \ @@ -55,7 +58,7 @@ configmake.h: Makefile echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ echo '#define PKGLIBDIR "$(pkglibdir)"'; \ echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ - } | sed '/""/d' > $@-t + } | sed '/""/d' > $@-t && \ if test -f $@ && cmp $@-t $@ > /dev/null; then \ rm -f $@-t; \ else \ @@ -67,7 +70,7 @@ CLEANFILES += configmake.h configmake.h-t Include: /* Include only after all system include files. */ -#include "configmake.h" +"configmake.h" License: LGPLv2+