]> git.lyx.org Git - lyx.git/blobdiff - development/scons/SConstruct
Add a cache for converted image files. This needs to be enabled in the
[lyx.git] / development / scons / SConstruct
index 47d5a6c9bff7304546ffea8e964c2aa1870c6931..63229e6beaac26529704524182feaeedd687e879 100644 (file)
@@ -895,6 +895,10 @@ utils.createConfigFile(conf,
 #  define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
 #endif
 
+#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4
+#  define LIBC_WCTYPE_USES_UCS4
+#endif
+
 #endif
 '''
 )
@@ -982,6 +986,7 @@ result = utils.createConfigFile(conf,
     ],
     functions = [
         ('open', 'HAVE_OPEN', None),
+        ('chmod', 'HAVE_CHMOD', None),
         ('close', 'HAVE_CLOSE', None),
         ('popen', 'HAVE_POPEN', None),
         ('pclose', 'HAVE_PCLOSE', None),
@@ -1790,14 +1795,15 @@ if build_tex2lyx:
     tex2lyx_env.Prepend(CPPPATH = ['$BUILDDIR/common/tex2lyx'])
     tex2lyx_env.AppendUnique(LIBPATH = ['#$LOCALLIBPATH'])
 
-    for file in ['FloatList.C', 'Floating.C', 'counters.C', 'lyxlayout.h', 'lyxlayout.C',
+    for file in ['FloatList.C', 'Floating.C', 'counters.C', 'gettext.h', 'gettext.C', 
+        'lyxlayout.h', 'lyxlayout.C', 'messages.h', 'messages.C',
         'lyxtextclass.h', 'lyxtextclass.C', 'lyxlex.C', 'lyxlex_pimpl.C']:
         env.Command('$BUILDDIR/common/tex2lyx/'+file, '$TOP_SRCDIR/src/'+file,
             [Copy('$TARGET', '$SOURCE')])
 
     tex2lyx = tex2lyx_env.Program(
         target = '$BUILDDIR/common/tex2lyx/tex2lyx',
-        LIBS = ['support'] + boost_libraries + system_libs,
+        LIBS = ['support'] + boost_libraries + intl_libs + system_libs,
         source = ['$BUILDDIR/common/tex2lyx/%s' % x for x in src_tex2lyx_files]
     )
     Alias('tex2lyx', env.Command(os.path.join('$BUILDDIR', os.path.split(str(tex2lyx[0]))[1]),