suggestion for change in frontend/Makefile.in

Kevin Dalley (kevind@rahul.net)
19 Sep 1998 21:44:19 -0700

I suggest a change in frontend/Makefile.in as described by the patch
file below. Since GTK_CFLAGS is a set of includes, it should be moved
to the INCLUDES variable. This allow the use of a make command such
as:

make CFLAGS=-O

When this command is used with the current Makefile.in, the "-I"
options contained in GTK_CFLAGS are wiped out, and sane does not compile.

--- sane-0.74.orig/frontend/Makefile.in
+++ sane-0.74/frontend/Makefile.in
@@ -28,10 +28,10 @@

CC = @CC@
INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include \
- @INCLUDES@
+ @INCLUDES@ @GTK_CFLAGS@
DEFS = @DEFS@
CPPFLAGS = @CPPFLAGS@
-CFLAGS = @CFLAGS@ @GTK_CFLAGS@
+CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
GTK_LIBS = @GTK_LIBS@

-- 
Kevin Dalley
kevind@rahul.net

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com