Annotation of gforth/configure.cmd, revision 1.1
1.1 ! pazsan 1: @echo off
! 2: /* Copyright 1995 Free Software Foundation, Inc.
! 3:
! 4: This file is part of Gforth.
! 5:
! 6: Gforth is free software; you can redistribute it and/or
! 7: modify it under the terms of the GNU General Public License
! 8: as published by the Free Software Foundation; either version 2
! 9: of the License, or (at your option) any later version.
! 10:
! 11: This program is distributed in the hope that it will be useful,
! 12: but WITHOUT ANY WARRANTY; without even the implied warranty of
! 13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 14: GNU General Public License for more details.
! 15:
! 16: You should have received a copy of the GNU General Public License
! 17: along with this program; if not, write to the Free Software
! 18: Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
! 19: */
! 20: echo *** Configuring for OS/2 with EMX 3.0 GNU C ***
! 21: THREAD = i
! 22: FREGS = n
! 23: :switches
! 24: IF "%1"=="--enable-direct-threaded" then THREAD=d
! 25: IF "%1"=="--enable-indirect-threaded" then THREAD=i
! 26: IF "%1"=="--enable-force-reg" then FREGS=y
! 27: shift
! 28: if "%1"!="" goto switches
! 29: copy makefile.os2 makefile
! 30: copy kernl32l.fi kernel.fi
! 31: copy 386.h machine.h
! 32: copy os2conf.h config.h
! 33: copy startup.fs startup.unx
! 34: copy startup.dos startup.fs
! 35: copy history.dos history.fs
! 36: if THREAD == 'i' then do
! 37: ECHO #ifndef INDIRECT_THREADED >>config.h
! 38: ECHO #define INDIRECT_THREADED 1 >>config.h
! 39: ECHO #endif >>config.h
! 40: end
! 41: if THREAD == 'd' then do
! 42: ECHO #ifndef DIRECT_THREADED >>config.h
! 43: ECHO #define DIRECT_THREADED 1 >>config.h
! 44: ECHO #endif >>config.h
! 45: end
! 46: if FREGS == 'y' then do
! 47: ECHO #ifndef FORCE_REG >>config.h
! 48: ECHO #define FORCE_REG 1 >>config.h
! 49: ECHO #endif >>config.h
! 50: end
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>