Show
Ignore:
Timestamp:
05/03/06 13:21:13 (3 years ago)
Author:
miyoshi
Message:

* mw32term.h: Include <imm.h> explicitly.
Consider HAVE_RECONVERTSTRING' to define RECONVERTSTRING'.

* configure.meadow.bat: Check if the platform has
`RECONVERTSTRING'.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/nt/configure.meadow.bat

    r3879 r4068  
    297297del config.settings 
    298298 
     299rem 
     300rem check for capabilities of the platform 
     301rem  
     302 
     303echo.>>..\src\config.h 
     304echo /* Start of settings from configure.bat.  */>>..\src\config.h 
     305echo.>>..\src\config.h 
     306 
     307rem for gcc 
     308set JUNK_SRC=junk.c 
     309set CC_OPT=-DWINVER=0x0400 
     310set JUNK_OBJ=junk.o 
     311 
     312if %COMPILER%==gcc goto check_capability 
     313rem for VC 
     314set JUNK_OBJ=junk.obj 
     315set CC_OPT=-nologo %CC_OPT% 
     316 
     317:check_capability 
     318 
     319rem 
     320rem check for RECONVERTSTRING 
     321rem 
     322 
     323set TARGET=HAVE_RECONVERTSTRING 
     324echo checking for RECONVERTSTRING 
     325 
     326echo #include "windows.h" >junk.c 
     327echo #include "imm.h" >>junk.c 
     328echo main(){RECONVERTSTRING x;} >>junk.c 
     329 
     330%COMPILER% %CC_OPT% -c %JUNK_SRC% >config.capability 2>&1 
     331if exist %JUNK_OBJ% goto RECONVERTSTRING_yes 
     332echo ...no 
     333echo #undef %TARGET% >>..\src\config.h 
     334goto RECONVERTSTRING_cnt 
     335 
     336:RECONVERTSTRING_yes 
     337echo ...yes 
     338echo #define %TARGET% >>..\src\config.h 
     339 
     340:RECONVERTSTRING_cnt 
     341rm -f %JUNK_SRC% %JUNK_OBJ% 
     342 
     343echo.>>..\src\config.h 
     344echo /* End of settings from configure.bat.  */>>..\src\config.h 
     345 
     346rm config.capability 
     347 
     348rem 
     349rem end of checking for capabilities 
     350rem  
     351 
    299352Rem Some people use WinZip which doesn't create empty directories! 
    300353if not exist ..\site-lisp\nul mkdir ..\site-lisp\