The two attached files are macros for configuring a compiler
respectively, enable WIN32 support or disable WIN32 support.

They both have a high level interface that sets CFLAGS/CXXFLAGS and
CPPFLAGS and a low level interface that sets [NO]WIN32FLAGS for use in
projects that override CFLAGS/CPPFLAGS.

The second macro was introduced so that projects that don't port well if
the win32 api is in the include path can be updated easily. (windows.h
is not unique to win32, and if it gets included, WIN32 gets defined...)

Rob

win32.m4

nowin32.m4

Reply via email to