Diff for /gforth/config.bat between versions 1.5 and 1.7

version 1.5, 1998/12/08 22:02:37 version 1.7, 1998/12/20 23:17:54
Line 1 Line 1
 @ECHO OFF  @ECHO OFF
 REM Copyright (C) 1995,1996,1997,1998 Free Software Foundation, Inc.  REM Copyright (C) 1995,1996,1997,1998 Free Software Foundation, Inc.
 REM  REM
 REM This file is part of Gforth.  REM This file is part of Gforth.
 REM  REM
 REM Gforth is free software; you can redistribute it and/or  REM Gforth is free software; you can redistribute it and/or
 REM modify it under the terms of the GNU General Public License  REM modify it under the terms of the GNU General Public License
 REM as published by the Free Software Foundation; either version 2  REM as published by the Free Software Foundation; either version 2
 REM of the License, or (at your option) any later version.  REM of the License, or (at your option) any later version.
 REM  REM
 REM This program is distributed in the hope that it will be useful,  REM This program is distributed in the hope that it will be useful,
 REM but WITHOUT ANY WARRANTY; without even the implied warranty of  REM but WITHOUT ANY WARRANTY; without even the implied warranty of
 REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 REM GNU General Public License for more details.  REM GNU General Public License for more details.
 REM  REM
 REM You should have received a copy of the GNU General Public License  REM You should have received a copy of the GNU General Public License
 REM along with this program; if not, write to the Free Software  REM along with this program; if not, write to the Free Software
 REM Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  REM Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 ECHO *** Configuring for MS-DOS with DJGPP 2.0 GNU C ***  ECHO *** Configuring for MS-DOS with DJGPP 2.0 GNU C ***
 set THREAD=i  set THREAD=i
 set FREGS=n  set FREGS=n
 :SWITCHES  :SWITCHES
 IF "%1"=="--enable-direct-threaded" set THREAD=d  IF "%1"=="--enable-direct-threaded" set THREAD=d
 IF "%1"=="--enable-indirect-threaded" set THREAD=i  IF "%1"=="--enable-indirect-threaded" set THREAD=i
 IF "%1"=="--enable-force-reg" set FREGS=y  IF "%1"=="--enable-force-reg" set FREGS=y
 shift  shift
 IF NOT "%1"=="" GOTO SWITCHES  IF NOT "%1"=="" GOTO SWITCHES
 COPY MAKEFILE.DOS MAKEFILE  COPY MAKEFILE.DOS MAKEFILE
 COPY KERNL32L.FI KERNEL.FI  CD ENGINE
 COPY ENVOS.DOS ENVOS.FS  COPY MAKEFILE.DOS MAKEFILE
 COPY DOSCONF.H ENGINE\CONFIG.H  CD ..
 IF "%THREAD%"=="i" ECHO #ifndef INDIRECT_THREADED >>CONFIG.H  COPY KERNL32L.FI KERNEL.FI
 IF "%THREAD%"=="i" ECHO #define INDIRECT_THREADED 1 >>CONFIG.H  COPY ENVOS.DOS ENVOS.FS
 IF "%THREAD%"=="i" ECHO #endif >>CONFIG.H  COPY DOSCONF.H ENGINE\CONFIG.H
 IF "%THREAD%"=="d" ECHO #ifndef DIRECT_THREADED >>CONFIG.H  IF "%THREAD%"=="i" ECHO #ifndef INDIRECT_THREADED >>ENGINE\CONFIG.H
 IF "%THREAD%"=="d" ECHO #define DIRECT_THREADED 1 >>CONFIG.H  IF "%THREAD%"=="i" ECHO #define INDIRECT_THREADED 1 >>ENGINE\CONFIG.H
 IF "%THREAD%"=="d" ECHO #endif >>CONFIG.H  IF "%THREAD%"=="i" ECHO #endif >>ENGINE\CONFIG.H
 IF "%FREGS%"=="y" ECHO #ifndef FORCE_REG >>CONFIG.H  IF "%THREAD%"=="d" ECHO #ifndef DIRECT_THREADED >>ENGINE\CONFIG.H
 IF "%FREGS%"=="y" ECHO #define FORCE_REG 1 >>CONFIG.H  IF "%THREAD%"=="d" ECHO #define DIRECT_THREADED 1 >>ENGINE\CONFIG.H
 IF "%FREGS%"=="y" ECHO #endif >>CONFIG.H  IF "%THREAD%"=="d" ECHO #endif >>ENGINE\CONFIG.H
 ECHO static char gforth_version[]="0.4.0"; >version.h1  IF "%FREGS%"=="y" ECHO #ifndef FORCE_REG >>ENGINE\CONFIG.H
 ECHO : version-string s" 0.4.0" ; >version.fs1  IF "%FREGS%"=="y" ECHO #define FORCE_REG 1 >>ENGINE\CONFIG.H
   IF "%FREGS%"=="y" ECHO #endif >>ENGINE\CONFIG.H
   ECHO static char gforth_version[]="0.4.0"; >version.h1
   ECHO : version-string s" 0.4.0" ; >version.fs1
   COPY version.fs1 kernel\version.fs
   
   

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


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