[Top][All Lists]

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

Re: autoheader not restart when running make in subdir

From: Basin Ilya
Subject: Re: autoheader not restart when running make in subdir
Date: Fri, 27 Jul 2018 09:16:36 +0300
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

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

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