Abdelrazak Younes wrote:
Bo Peng wrote:
Abdel,
Attached patch adds
$BUILDDIR/config/config.h
$BUILDDIR/config/boost_config.h
with the following behaviors:
1. boost only uses boost_config.h
2. config.h includes boost_config.h
3. different builds have different config.h (nls etc may change from
build to build).
Tested under linux. Please let me know if you like it, and if you like
further work on this config.h business.
Hum, there are still some bugs:
cl /nologo /Dinline# /D__attribute__(x)# /Duintmax_t=UINT_MAX
-DLOCALEDIR=\"D:\\program\\lyx-msvc\\Resources\\locale\"
-DLOCALE_ALIAS_PATH=\"D:\\program\\lyx-msvc\\Resources\\locale\"
-DLIBDIR=\"D:\\devel\\lyx\\trunk/lib\" -DIN_LIBINTL
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY
-DINSTALLDIR=\"d:/program/lyx-msvc/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_r
elocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H /Iintl
/ID:\program\GnuWin32\include /ID:\program\Aspell-0.60.4\include /c
D:\devel\lyx\trunk\intl\bindtextdom.c
/Fomsvc-debug\intl\bindtextdom.obj
bindtextdom.c
D:\devel\lyx\trunk\intl\bindtextdom.c(20) : fatal error C1083: Cannot
open include file: 'config.h': No such file or directory
scons: *** [msvc-debug\intl\bindtextdom.obj] Error 2
Abdel.