From: <pdo...@us...> - 2011-12-16 17:53:10
|
Revision: 14233 http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=14233&view=rev Author: pdontthink Date: 2011-12-16 17:53:04 +0000 (Fri, 16 Dec 2011) Log Message: ----------- Makefile cleanup and header include fix for OpenBSD, both complements Brad Smith Modified Paths: -------------- trunk/imap_proxy/ChangeLog trunk/imap_proxy/Makefile.in trunk/imap_proxy/config.h.in Modified: trunk/imap_proxy/ChangeLog =================================================================== --- trunk/imap_proxy/ChangeLog 2011-12-15 23:20:47 UTC (rev 14232) +++ trunk/imap_proxy/ChangeLog 2011-12-16 17:53:04 UTC (rev 14233) @@ -1,3 +1,7 @@ +2011-12-16 Paul Lesniewski <pa...@sq...> + * Minor Makefile cleanup complements Brad Smith + * Fixed header include issue for OpenBSD (thanks to Brad Smith) + 2011-11-23 Paul Lesniewski <pa...@sq...> * Added DESTDIR support to install scripts (thanks to Brad Smith) Modified: trunk/imap_proxy/Makefile.in =================================================================== --- trunk/imap_proxy/Makefile.in 2011-12-15 23:20:47 UTC (rev 14232) +++ trunk/imap_proxy/Makefile.in 2011-12-16 17:53:04 UTC (rev 14233) @@ -4,7 +4,7 @@ # Fixed to work with configure script # by Devrim SERAL <de...@ga...> -# Cleaned up by Ken Murchison +# Cleaned up by Ken Murchison, Brad Smith ## Tuneables @@ -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) Modified: trunk/imap_proxy/config.h.in =================================================================== --- trunk/imap_proxy/config.h.in 2011-12-15 23:20:47 UTC (rev 14232) +++ trunk/imap_proxy/config.h.in 2011-12-16 17:53:04 UTC (rev 14233) @@ -89,6 +89,10 @@ /* Define to empty if `const' does not conform to ANSI C. */ #undef const +#if HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif + #if HAVE_SYS_MMAN_H #include <sys/mman.h> #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |