This happens to me too sometimes, but I can't figure out the pattern. In that 
case I have to edit configure.ac again.

27.07.2018 1:40, Samuel Thibault пишет:
> 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
> 

Reply via email to