On 2013-08-13 12:36, Jim Klimov wrote:
> The trivial patch to avoid this conflict is inline below (make
> the current directory a higher priority for headers than the
> source directory), tested to help on that build system which
> did have a problem otherwise.
PS: All this said, I am more comfortable and certain with just
removing the stock config.h file from the source directory as
part of my build procedure... ;)
> diff -Naur milter-greylist-4.4.3-orig/Makefile.in
> milter-greylist-4.4.3-jimbuild/Makefile.in
> --- milter-greylist-4.4.3-orig/Makefile.in 2013-01-19
> 20:01:15.000000000 +0400
> +++ milter-greylist-4.4.3-jimbuild/Makefile.in 2013-07-20
> 00:07:43.000000000 +0400
> @@ -29,7 +29,7 @@
> # OF THE POSSIBILITY OF SUCH DAMAGE.
> #
>
> -CFLAGS= @CFLAGS@ -D_BSD_SOURCE -I${SRCDIR} -I. @CPPFLAGS@
> +CFLAGS= @CFLAGS@ -D_BSD_SOURCE -I. -I${SRCDIR} @CPPFLAGS@
> LDFLAGS= @LDFLAGS@
> LIBS= @LIBS@
> prefix= @prefix@
>
> HTH,Message
Re: [milter-greylist] config.h included twice - PATCH
2013-08-13 by Jim Klimov
Attachments
- No local attachments were found for this message.