From: Ludovic Courtès Date: Fri, 7 Mar 2008 10:30:06 +0000 (+0100) Subject: guile: Propagate Guile's CPPFLAGS to `guile-snarf'. X-Git-Tag: gnutls_2_3_3~6^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e61667622d41f0219bb4f39c88a2db8bbff29ca9;p=thirdparty%2Fgnutls.git guile: Propagate Guile's CPPFLAGS to `guile-snarf'. --- diff --git a/guile/src/Makefile.am b/guile/src/Makefile.am index 03945929d6..c3b6d8a806 100644 --- a/guile/src/Makefile.am +++ b/guile/src/Makefile.am @@ -1,5 +1,5 @@ # GNUTLS -- Guile bindings for GnuTLS. -# Copyright (C) 2007 Free Software Foundation +# Copyright (C) 2007, 2008 Free Software Foundation # # GNUTLS is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -103,8 +103,10 @@ extra-smob-types.i.c: $(srcdir)/make-smob-types.scm # C file snarfing. +# `$(GUILE_CFLAGS)' may contain a series of `-I' switches so it must be +# included here, even though we'd really want `$(GUILE_CPPFLAGS)'. snarfcppopts = $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(CFLAGS) $(AM_CFLAGS) + $(CFLAGS) $(AM_CFLAGS) $(GUILE_CFLAGS) .c.x: $(guile_snarf) -o $@ $< $(snarfcppopts)