ni...@lysator.liu.se (Niels Möller) writes: I wonder why we have an -I flag pointing to tests/mpz. We don't have any header files there. Is a generic "-I." added somewhere ? Looking in Makefile.in, I see
$ grep -- -I tests/mpz/Makefile.in DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/tests The -I$(top...)... things should be no problem. So I'd guess it's the -I.@am__isrc@ What's @am__isrc@? Is there a way to tell automake to omit it in DEFAULT_INCLUDES? I don't know much about auto*, unfortunately. For the case which fails for the GMP nightbuilds, the source directory and the build directory are separate. It sounds like am_isrc has something to do with sources, but maybe I am naive in the interpretation here. The hardwired "." seems quite strange. (If you want to check if that -I.@am__isrc@ is he culprit, I assume adding some gremlin before it would do? -I.BLAH.@am__isrc@ -- Torbjörn Please encrypt, key id 0xC8601622 _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel