diff options
author | nijtmans <nijtmans> | 2009-08-09 21:20:33 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-08-09 21:20:33 (GMT) |
commit | 7aefedb2ea921fbeb0f6d6b99afeb1224a319318 (patch) | |
tree | ce53da0fddc1c8e4847bca5680922173a39e21b2 /win/configure.in | |
parent | 7dc7cda6232cfd38f3af5083634039d33b1959c2 (diff) | |
download | tk-7aefedb2ea921fbeb0f6d6b99afeb1224a319318.zip tk-7aefedb2ea921fbeb0f6d6b99afeb1224a319318.tar.gz tk-7aefedb2ea921fbeb0f6d6b99afeb1224a319318.tar.bz2 |
Eliminate various gcc warnings
include <vssym32.h> only when available
Diffstat (limited to 'win/configure.in')
-rw-r--r-- | win/configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/win/configure.in b/win/configure.in index 250040e..f29e05e 100644 --- a/win/configure.in +++ b/win/configure.in @@ -3,7 +3,7 @@ # generate the file "configure", which is run during Tk installation # to configure the system for the local environment. # -# RCS: @(#) $Id: configure.in,v 1.86 2009/02/16 18:14:47 hobbs Exp $ +# RCS: @(#) $Id: configure.in,v 1.87 2009/08/09 21:20:34 nijtmans Exp $ AC_INIT(../generic/tk.h) AC_PREREQ(2.59) @@ -146,6 +146,9 @@ AC_SUBST(MAN2TCLFLAGS) AC_CHECK_HEADER([uxtheme.h], [AC_DEFINE(HAVE_UXTHEME_H)], [AC_MSG_NOTICE([xpnative theme will be unavailable])], [#include <windows.h>]) +AC_CHECK_HEADER([vssym32.h], [AC_DEFINE(HAVE_VSSYM32_H)], [], + [#include <windows.h> +#include <uxtheme.h>]) #-------------------------------------------------------------------- # Set the default compiler switches based on the --enable-symbols |