bug-autoconf
[Top][All Lists]
Advanced

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

autoheader not restart when running make in subdir


From: Samuel Thibault
Subject: autoheader not restart when running make in subdir
Date: Fri, 27 Jul 2018 00:40:53 +0200
User-agent: NeoMutt/20170113 (1.7.2)

Hello,

I have been hit several time by autoheader not getting restarted when I
add an AC_CHECK_HEADERS and run make in a subdir. The attached tarball
contains a testcase:

$ autoreconf -fi
$ ./configure && make
$ sed -ie "s/printf/printf scanf/" configure.ac
$ make -C tmp
$ grep SCANF config.h.in

the sed command simulates an addition of a new function check. Running
make -C tmp does trigger some autoconf, but not autoheader, and thus
config.h.in does not contain HAVE_SCANF as grep checks.

Using only make does get autoheader triggered, but make -C tmp should as
well, since typically I'd want to add a AC_CHECK_HEADERS for something
that I am doing in a subdir and want #ifdef HAVE_FOO to be immediately
available without having to start autoheader by hand.

Samuel

Attachment: autostuff.tgz
Description: application/gtar-compressed


reply via email to

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