Add gnulib -I's to guile-snarf command.
authorSimon Josefsson <simon@josefsson.org>
Thu, 9 Aug 2012 13:24:11 +0000 (15:24 +0200)
committerSimon Josefsson <simon@josefsson.org>
Thu, 9 Aug 2012 13:24:11 +0000 (15:24 +0200)
guile/src/Makefile.am

index 7b555008f78bab85d078f9a2d442e72303cd7baa..f52eee967fff5570c6ef56950ac5d7dab79787d2 100644 (file)
@@ -95,7 +95,7 @@ priorities.i.c: $(srcdir)/make-session-priorities.scm
 # `$(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) $(GUILE_CFLAGS)
+              $(CFLAGS) $(guile_gnutls_v_2_la_CFLAGS)
 
 .c.x: $(BUILT_SOURCES)
        $(guile_snarf) -o $@ $< $(snarfcppopts)