Here is a small diff to cleanup the Makefile variables handling a bit.
I noticed because of the current CFLAGS handling CFLAGS was picked up
from both autoconf and make instead of just autoconf as expected.
Index: Makefile.in
===================================================================
--- Makefile.in (revision 14153)
+++ Makefile.in (working copy)
@@ -23,11 +23,12 @@
mandir = $(prefix)/man/man3
CC = @CC@
-CPPFLAGS = @CPPFLAGS@
+CPPFLAGS = @CPPFLAGS@
+CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
DEFINES = @DEFINES@
-FLAGS = $(CPPFLAGS) @CFLAGS@ -I. -I./include
+FLAGS = -I. -I./include
INSTALL = @INSTALL@
EBIN = $(sbindir)
@@ -63,7 +64,7 @@
$(XYD_OBJ) $(TAT_OBJ): $(MAKEFILE) ./include/common.h ./include/imapproxy.h
.c.o:
- $(CC) $(CFLAGS) $(FLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS) $(FLAGS) $(CPPFLAGS) -c -o $@ $<
$(XYD_BIN): $(XYD_OBJ)
$(CC) -o $@ $(XYD_OBJ) $(LDFLAGS) $(XYD_LIB)
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
-----
squirrelmail-imapproxy mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.imapproxy
List info (subscribe/unsubscribe/change options):
https://lists.sourceforge.net/lists/listinfo/squirrelmail-imapproxy