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