From: Bo Peng Date: Wed, 4 Jul 2007 05:06:44 +0000 (+0000) Subject: Scons: check for windows.h under msvc. X-Git-Tag: 1.6.10~9212 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=08f31f3e64e8b2481d1b368bd2019e831d95e3ff;p=features.git Scons: check for windows.h under msvc. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18981 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/scons/SConstruct b/development/scons/SConstruct index b95dc0ed27..687366f260 100644 --- a/development/scons/SConstruct +++ b/development/scons/SConstruct @@ -607,6 +607,11 @@ conf = Configure(env, } ) +# When using msvc, windows.h is required +if use_vc and not conf.CheckCHeader('windows.h'): + print 'Windows.h is not found. Please install Windows Platform SDK.' + Exit(1) + # pkg-config? (if not, we use hard-coded options) if conf.CheckPkgConfig('0.15.0'): env['HAS_PKG_CONFIG'] = True