anchor.diff:    echo *** Exiting ...
     exit 1
   
  -:ok
  +:djgppok
     echo int main () {} >conftest.cpp
     echo %%xdefine TEST >conftest.asm
   
  
positive.code:   rem   Notification messages begins with '$$$'
  
    echo ### Sniffing your build environment ...
    if not .%DJGPP%. == .. goto ok
  
    echo.
    echo *** It looks like you don't have a valid DJGPP installation
  
negative.code:   echo CFLAGS.SYSTEM += -fno-exceptions >>config.mak
  
  :noexceptions
  
    echo ### Testing whenever your version of GNU C/C++ supports RTTI ...
    gcc -c -fno-rtti conftest.cpp -o conftest.o
    if not exist conftest.o goto nortti
  
    del conftest.o
    echo $$$ O.K., using the -fno-rtti switch to get smaller executables
    echo CFLAGS.SYSTEM += -fno-rtti >>config.mak
  
  :nortti
  
    echo ### Testing whenever your version of GNU C/C++ supports P5 architecture ...
    gcc -c -mpentium -march=pentium conftest.cpp -o conftest.o
    if not exist conftest.o goto nop5
  
    del conftest.o
    echo $$$ O.K., using -mpentium -march=pentium switches
    echo CFLAGS.SYSTEM += -mpentium -march=pentium >>config.mak
  
  :nop5
  
    echo ### Testing whenever you have (the right version of) NASM installed ...
    nasm -f coff conftest.asm -o conftest.o
  