m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: 51-gary-vpath-build-fixes.patch


From: Akim Demaille
Subject: Re: FYI: 51-gary-vpath-build-fixes.patch
Date: Fri, 05 Sep 2003 09:54:37 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

 > Index: ChangeLog
 > from  Gary V. Vaughan  <address@hidden>
 >      * config/Makefile.am (MAINTAINERCLEANFILES, ACLOCAL_MACROS)
 >      (STANDARD_TOOLS, SPECIFIC_MACROS): Needed `$(srcdir)/' for VPATH
 >      builds to work.
 >      (SPECIFIC_TOOLS): New variable.  Moved mkstamp to here.
 >      (EXTRA_DIST): Use it.

 > Index: config/Makefile.am
 > ===================================================================
 > RCS file: /cvsroot/m4/m4/config/Makefile.am,v
 > retrieving revision 1.13
 > diff -u -p -u -r1.13 Makefile.am
 > --- config/Makefile.am 4 Nov 2002 17:39:32 -0000 1.13
 > +++ config/Makefile.am 4 Sep 2003 13:07:35 -0000
 > @@ -20,44 +20,54 @@
 >  ## Written by Akim Demaille <address@hidden>
 
 >  MAINTAINERCLEANFILES =                              \
 > -Makefile.in                                 \
 > -ltmain.sh                                   \
 > -texinfo.tex                                 \
 > +$(srcdir)/Makefile.in                               \
 > +$(srcdir)/ltmain.sh                         \
 > +$(srcdir)/texinfo.tex                               \
 >  $(ACLOCAL_MACROS)                           \
 >  $(STANDARD_TOOLS)
 
 >  ACLOCAL_MACROS =                            \
 > -dmalloc.m4                                  \
 > -gettext.m4                                  \
 > -iconv.m4                                    \
 > -lib-ld.m4                                   \
 > -lib-link.m4                                 \
 > -lib-prefix.m4                                       \
 > -libtool.m4                                  \
 > -ltdl.m4                                             \
 > -options.m4                                  \
 > -progtest.m4                                 \
 > -protos.m4                                   \
 > -regex.m4
 > +$(srcdir)/codeset.m4                                \
 > +$(srcdir)/gettext.m4                                \
 > +$(srcdir)/glibc21.m4                                \
 > +$(srcdir)/iconv.m4                          \
 > +$(srcdir)/intdiv0.m4                                \
 > +$(srcdir)/inttypes-pri.m4                   \
 > +$(srcdir)/inttypes.m4                               \
 > +$(srcdir)/inttypes_h.m4                             \
 > +$(srcdir)/iscposix.m4                               \
 > +$(srcdir)/lcmessage.m4                              \
 > +$(srcdir)/lib-ld.m4                                 \
 > +$(srcdir)/lib-link.m4                               \
 > +$(srcdir)/lib-prefix.m4                             \
 > +$(srcdir)/progtest.m4                               \
 > +$(srcdir)/stdint_h.m4                               \
 > +$(srcdir)/uintmax_t.m4                              \
 > +$(srcdir)/ulonglong.m4
 
 >  STANDARD_TOOLS =                            \
 > -compile                                             \
 > -config.guess                                        \
 > -config.sub                                  \
 > -depcomp                                             \
 > -install-sh                                  \
 > -mdate-sh                                    \
 > -missing                                             \
 > -mkinstalldirs
 > +$(srcdir)/compile                           \
 > +$(srcdir)/config.guess                              \
 > +$(srcdir)/config.rpath                              \
 > +$(srcdir)/config.sub                                \
 > +$(srcdir)/depcomp                           \
 > +$(srcdir)/install-sh                                \
 > +$(srcdir)/mdate-sh                          \
 > +$(srcdir)/missing                           \
 > +$(srcdir)/mkinstalldirs
 
 >  SPECIFIC_MACROS =                           \
 > -debug.m4                                    \
 > -error.m4                                    \
 > -gmp.m4                                              \
 > -gnu-obstack.m4                                      \
 > -stackovf.m4
 > +$(srcdir)/debug.m4                          \
 > +$(srcdir)/error.m4                          \
 > +$(srcdir)/gmp.m4                            \
 > +$(srcdir)/gnu-obstack.m4                    \
 > +$(srcdir)/regex.m4                          \
 > +$(srcdir)/stackovf.m4
 > +
 > +SPECIFIC_TOOLS =                            \
 > +$(srcdir)/mkstamp
 
 >  spy:
 >      @echo $($(SPIED))
 
 > -EXTRA_DIST = mkstamp $(SPECIFIC_MACROS) $(ACLOCAL_MACROS)
 > +EXTRA_DIST = $(ACLOCAL_MACROS) $(SPECIFIC_MACROS) $(SPECIFIC_TOOLS)

I don't understand the point of this patch.  What was the problem?  It
is exceptional in Automake to have to specify $(srcdir).  Just imagine
you'd have to do that for sources etc.

So there must have been something else happen here.  AFAICT, this
patch should be useless (and reverted).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]