# define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
#endif
+#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4
+# define LIBC_WCTYPE_USES_UCS4
+#endif
+
#endif
'''
)
],
functions = [
('open', 'HAVE_OPEN', None),
+ ('chmod', 'HAVE_CHMOD', None),
('close', 'HAVE_CLOSE', None),
('popen', 'HAVE_POPEN', None),
('pclose', 'HAVE_PCLOSE', None),
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]),