}
)
+# 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
if use_vc:
frontend_env['LINKCOM'] = [frontend_env['LINKCOM'], \
'mt.exe /MANIFEST %s /outputresource:$TARGET;1' % \
- env.subst('$BUILDDIR/lyx.exe.manifest')]
+ env.File('$BUILDDIR/lyx.exe.manifest').path]
frontend_env = conf.Finish()