Re: Make and subdir

2018-07-31 Thread Václav Haisman
On 30.7.2018 22:38, Mauricio Ramirez wrote: > I have a project with about 30 modules. We've been using the following as > our Makefile.am > > ACLOCAL_FLAGS = -I buildtools # To find out custom macros (for aclocal) > > SUBDIRS = \ > mylibrary\ > prog1 prog2 prog3 prog4 prog5 prog6 prog7 prog8 \

Re: Make and subdir

2018-07-30 Thread Warren Young
On Jul 30, 2018, at 2:38 PM, Mauricio Ramirez wrote: > This has worked great on RedHat 5, but when we're moving to Redhat 7, it > fails when building mylibrary. It can't find some includes. If I go into > the mylibrary directory, and do the make, it works just fine. Not > understanding why I

Make and subdir

2018-07-30 Thread Mauricio Ramirez
I have a project with about 30 modules. We've been using the following as our Makefile.am ACLOCAL_FLAGS = -I buildtools # To find out custom macros (for aclocal) SUBDIRS = \ mylibrary\ prog1 prog2 prog3 prog4 prog5 prog6 prog7 prog8 \ prog9 prog10 prog11 prog12 prog13 prog14 prog15 prog16 \

Re: autoheader not restart when running make in subdir

2018-07-27 Thread Samuel Thibault
Basin Ilya, le ven. 27 juil. 2018 09:16:36 +0300, a ecrit: > This happens to me too sometimes, but I can't figure out the pattern. Well, according to the testcase, that happens when make is run from the subdirectory instead of from the root. Samuel

Re: autoheader not restart when running make in subdir

2018-07-27 Thread Basin Ilya
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

autoheader not restart when running make in subdir

2018-07-26 Thread 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