Diff for /gforth/configure.cmd between versions 1.5 and 1.13

version 1.5, 1997/02/16 20:51:07 version 1.13, 2003/08/25 14:17:43
Line 1 Line 1
 /*  /*
 Copyright 1995 Free Software Foundation, Inc.  Copyright (C) 1996,1997,1998,2000,2003 Free Software Foundation, Inc.
   
 This file is part of Gforth.  This file is part of Gforth.
   
 Gforth is free software; you can redistribute it and/or  Gforth is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License  modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; either version 2  as published by the Free Software Foundation; either version 2
 of the License, or (at your option) any later version.  of the License, or (at your option) any later version.
   
 This program is distributed in the hope that it will be useful,  This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of  but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.  GNU General Public License for more details.
   
 You should have received a copy of the GNU General Public License  You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software  along with this program; if not, write to the Free Software
 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
 */  */
 say "*** Configuring for OS/2 with EMX 3.0 GNU C ***"  say "*** Configuring for OS/2 with EMX 3.0 GNU C ***"
   
 parse arg args  parse arg args
   
 THREAD="i"  THREAD="i"
 FREGS="n"  FREGS="n"
   
 do while args \== ""  do while args \== ""
    parse var args arg args     parse var args arg args
   
    select     select
       when arg="--enable-direct-threaded" then THREAD="d"        when arg="--enable-direct-threaded" then THREAD="d"
       when arg="--enable-indirect-threaded" then THREAD="i"        when arg="--enable-indirect-threaded" then THREAD="i"
       when arg="--enable-force-reg" then FREGS="y"        when arg="--enable-force-reg" then FREGS="y"
       when arg="--help" then do        when arg="--help" then do
         say "--enable and --with options recognized:"          say "--enable and --with options recognized:"
         say "  --enable-force-reg      Use explicit register declarations if they appear in"          say "  --enable-force-reg      Use explicit register declarations if they appear in"
         say "                          the machine.h file. This can cause a good speedup,"          say "                          the machine.h file. This can cause a good speedup,"
         say "                          but also incorrect code with some gcc versions on"          say "                          but also incorrect code with some gcc versions on"
         say "                          some processors (default disabled)."          say "                          some processors (default disabled)."
         say "  --enable-direct-threaded      Force direct threading. This may not work on"          say "  --enable-direct-threaded      Force direct threading. This may not work on"
         say "                                some machines and may cause slowdown on others."          say "                                some machines and may cause slowdown on others."
         say "                                (default processor-dependent)"          say "                                (default processor-dependent)"
         say "  --enable-indirect-threaded    Force indirect threading. This can cause a"          say "  --enable-indirect-threaded    Force indirect threading. This can cause a"
         say "                                slowdown on some machines."          say "                                slowdown on some machines."
         say "                                (default processor-dependent)"          say "                                (default processor-dependent)"
       end        end
     otherwise      otherwise
       do        do
         say "*** Unknown option:" arg          say "*** Unknown option:" arg
         call Usage          call Usage
       end        end
   end    end
   
 end  end
   
 copy makefile.os2 makefile  copy makefile.os2 makefile
 copy kernl32l.fi kernel.fi  copy "engine\makefile.os2" "engine\makefile"
 copy 386.h machine.h  copy kernl32l.fi kernel.fi
 copy os2conf.h config.h  copy envos.os2 envos.fs
 copy startup.fs startup.unx  copy os2conf.h "engine\config.h"
 copy startup.dos startup.fs  if THREAD="i" THEN DO
 copy history.dos history.fs          call lineout "engine\config.h", "#ifndef INDIRECT_THREADED"
 if THREAD="i" THEN DO          call lineout "engine\config.h", "#define INDIRECT_THREADED 1"
         call lineout config.h, "#ifndef INDIRECT_THREADED"          call lineout "engine\config.h", "#endif"
         call lineout config.h, "#define INDIRECT_THREADED 1"  end
         call lineout config.h, "#endif"  IF THREAD="d" THEN do
 end          call lineout "engine\config.h", "#ifndef DIRECT_THREADED"
 IF THREAD="d" THEN do          call lineout "engine\config.h", "#define DIRECT_THREADED 1" 
         call lineout config.h, "#ifndef DIRECT_THREADED"          call lineout "engine\config.h", "#endif"
         call lineout config.h, "#define DIRECT_THREADED 1"  end
         call lineout config.h, "#endif"  IF FREGS="y" THEN do
 end          call lineout "engine\config.h", "#ifndef FORCE_REG"
 IF FREGS="y" THEN do          call lineout "engine\config.h", "#define FORCE_REG 1"
         call lineout config.h, "#ifndef FORCE_REG"          call lineout "engine\config.h", "#endif"
         call lineout config.h, "#define FORCE_REG 1"  end
         call lineout config.h, "#endif"  call lineout version.h1, 'static char gforth_version[]="0.4.0";'
 end  call lineout "kernel\version.fs", ': version-string s" 0.4.0" ;'
 call lineout version.h1, 'static char gforth_version[]="0.3.0";'  call lineout 'version-stamp', '0.4.0'
 call lineout version.fs1, ': version-string s" 0.3.0" ;'  

Removed from v.1.5  
changed lines
  Added in v.1.13


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>