AC_API_WIN32 and AC_API_NOWIN32
Robert Collins
robert.collins@itdomain.com.au
Fri Mar 23 18:47:00 GMT 2001
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nowin32.m4
Type: text/x-m4
Size: 5341 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20010323/8987e631/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win32.m4
Type: text/x-m4
Size: 3425 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20010323/8987e631/attachment-0001.bin>
More information about the Cygwin-apps
mailing list