bug-automake
[Top][All Lists]
Advanced

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

Wrong config.status dependency in automake 1.4-p4


From: Nicolas Joly
Subject: Wrong config.status dependency in automake 1.4-p4
Date: Mon, 2 Jul 2001 11:58:42 +0200
User-agent: Mutt/1.2.5i

Hi,

I just found a wrong dependency for `config.status' in automake-1.4p4
which prevent `configure' script to be regenerated.

Actually, `config.status' depends on `$(srcdir)/@CONFIGURE_AC@'
instead of `$(srcdir)/configure' (in remake.am).

Here follow a small example (with autoconf-2.50 and gmake-3.79.1) :

address@hidden [temp/test]> ls -l 
total 1
-rw-r--r--   1 njoly    sis            0 Jul  2 11:52 AUTHORS
-rw-r--r--   1 njoly    sis            0 Jul  2 11:52 ChangeLog
-rw-r--r--   1 njoly    sis            0 Jul  2 11:51 Makefile.am
-rw-r--r--   1 njoly    sis            0 Jul  2 11:52 NEWS
-rw-r--r--   1 njoly    sis            0 Jul  2 11:52 README
-rw-r--r--   1 njoly    sis           74 Jul  2 11:51 configure.in
address@hidden [temp/test]> cat configure.in 
AC_INIT
AM_INIT_AUTOMAKE(none, 0.0)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

address@hidden [temp/test]> aclocal
address@hidden [temp/test]> automake -a -c
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
automake: Makefile.am: installing `./INSTALL'
automake: Makefile.am: installing `./COPYING'
address@hidden [temp/test]> autoconf

address@hidden [temp/test]> ./configure 
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
configure: creating ./config.status
config.status: creating Makefile
address@hidden [temp/test]> gmake 
gmake: Nothing to be done for `all'.

address@hidden [temp/test]> touch configure.in 
address@hidden [temp/test]> gmake 
cd . && aclocal
cd . && automake --gnu Makefile
/bin/sh ./config.status --recheck
running /bin/sh ./configure   --no-create --no-recursion
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
configure: creating ./config.status
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
gmake: Nothing to be done for `all'.

-- 
Nicolas Joly

Informatique Scientifique
Institut Pasteur, Paris.



reply via email to

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