Scons: check for windows.h under msvc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18981 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2007-07-04 05:06:44 +00:00
parent 07caea8f92
commit 08f31f3e64

View File

@ -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