bug-gnu-utils
[Top][All Lists]
Advanced

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

make dist problem w/ autoconf 2.13


From: Dominik Vogt
Subject: make dist problem w/ autoconf 2.13
Date: Sat, 15 Sep 2001 11:33:15 +0200

Using autoconf 2.13 and automake 1.4 there seems to be a problem
with autoreconf vs. autoconf if the config.h.in file is not
present (e.g. after fetching a fresh source tree from cvs or if it
was explicitly removed):

  $ rm config.h.in
  $ automake --add-missing
  $ autoreconf

Both, automake and autoreconf complain about the missing
config.h.in.  This is not a problem because autoreconf generates
the file.  But then, in the resulting Makefile.in, config.h.in is
not listed in the DIST_COMMON variable:

  DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
  Makefile.am Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 \
  config.guess config.sub configure configure.in install-sh missing \
  mkinstalldirs

The, if I run

  $ make dist

or

  $ make distcheck

the config.h.in file is not included in the tarball, so
'make distcheck' fails and 'make dist' produces a broken tarball.

This does not happen if I use 'autoconf' instead of 'autoreconf':

  $ rm config.h.in
  $ automake --add-missing
  $ autoreconf

Resulting in 

  DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
  Makefile.am Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 \
  config.guess config.h.in config.sub configure configure.in install-sh \
               ^^^^^^^^^^^
  missing mkinstalldirs

Once the config.h.in file has been generated once, everything
works fine.

Bye

Dominik ^_^  ^_^

 --
Dominik Vogt, address@hidden
Reply-To: address@hidden



reply via email to

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