Diff for /gforth/Attic/configure between versions 1.4 and 1.5

version 1.4, 1994/11/17 16:48:26 version 1.5, 1994/11/29 16:22:34
Line 2 Line 2
 # Configuration script for GNU FORTH  # Configuration script for GNU FORTH
 #   Copyright (C) 1994 Free Software Foundation, Inc.  #   Copyright (C) 1994 Free Software Foundation, Inc.
   
 #This file is part of GNU CC.  #This file is part of GNU FORTH.
   
   VERSION=0.1alpha
   
 #GNU FORTH is free software; you can redistribute it and/or modify  #GNU FORTH is free software; you can redistribute it and/or modify
 #it under the terms of the GNU General Public License as published by  #it under the terms of the GNU General Public License as published by
Line 31 Line 33
 #                               using to compile GCC.  #                               using to compile GCC.
 #          --prefix=DIR         specifies directory to install in.  #          --prefix=DIR         specifies directory to install in.
 #          --exec-prefix=DIR    specifies directory to install executables in.  #          --exec-prefix=DIR    specifies directory to install executables in.
 #          --direct-threade  specifies direct threading  #          --direct-threaded    specifies direct threading
 #  #
 # If configure succeeds, it leaves its status in config.status.  # If configure succeeds, it leaves its status in config.status.
 # If configure fails after disturbing the status quo,   # If configure fails after disturbing the status quo, 
Line 330  cpu= Line 332  cpu=
 bigendian=  bigendian=
 extra_lib=  extra_lib=
 extra_obs=  extra_obs=
   Makefile=Makefile.in
   
 case $target in  case $target in
         # Support site-specific machine types.          # Support site-specific machine types.
Line 352  case $target in Line 355  case $target in
                 flags="-fforce-mem -fforce-addr -fomit-frame-pointer -fno-defer-pop -fcaller-saves"                  flags="-fforce-mem -fforce-addr -fomit-frame-pointer -fno-defer-pop -fcaller-saves"
                 defines="-DUSE_TOS -DUSE_FTOS -D_POSIX_VERSION -DUSE_GETOPT $threading"                  defines="-DUSE_TOS -DUSE_FTOS -D_POSIX_VERSION -DUSE_GETOPT $threading"
                 ;;                  ;;
           i[345]86-*-*dos*)
                   cpu=386.h
                   bigendian=0
                   extra_obs="getopt1.o getopt.o ecvt.o"
                   flags="-fforce-mem -fforce-addr -fomit-frame-pointer -fno-defer-pop -fcaller-saves"
                   defines="-DUSE_GETOPT $threading"
                   extra_lib="-lpc"
                   sed -e "s/if \[ ! -x gforth \]; then $(MAKE) first; fi/IF NOT EXIST gforth.exe $(MAKE) first/"\
                       -e "s/CP[   ]*=[     ]*cp/CP        = copy/"\
                       -e "s/RM[   ]*=[     ]*rm/RM        = xdel/"\
                       -e "s/MAKE[         ]*=[     ]*gmake/MAKE   = make/"\
                       -e "s/@MAKE-EXECUTE@/coff2exe gforth/"\
                       -e "s/\(OBJECTS[     ]*=.*\)io.o \(.*\)/\1\2/"\
                       -e "s/@LINK-KERNL32L@/$(CP) kernl32l.fi gforth.fi/"\
                       -e "s|'\`pwd\`'|/forth/gforth-$VERSION|"\
                   <$Makefile >Makefile.xx
                   Makefile=Makefile.xx
                   ;;
         i[345]86*)          i[345]86*)
                 cpu=386.h                  cpu=386.h
                 bigendian=0                  bigendian=0
Line 397  if [ x$bigendian = x1 ] Line 418  if [ x$bigendian = x1 ]
 then  then
   sed -e "s|^XCFLAGS[    ]*=*\(.*\)$|XCFLAGS    = \1 $flags|" \    sed -e "s|^XCFLAGS[    ]*=*\(.*\)$|XCFLAGS    = \1 $flags|" \
       -e "s|^XDEFINES[   ]*=*\(.*\)$|XDEFINES   = \1 $defines|" \        -e "s|^XDEFINES[   ]*=*\(.*\)$|XDEFINES   = \1 $defines|" \
         -e "s|^VERSION[    ]*=*\(.*\)$|VERSION    = $VERSION\1|" \
       -e "s|^OBJECTS[    ]*=*\(.*\)$|OBJECTS    = \1 $extra_obs|" \        -e "s|^OBJECTS[    ]*=*\(.*\)$|OBJECTS    = \1 $extra_obs|" \
       -e "s|^CFLAGS[     ]*=*\(.*\)$|CFLAGS     = $debugging\1|" \        -e "s|^CFLAGS[     ]*=*\(.*\)$|CFLAGS     = $debugging\1|" \
       -e "s|^LDFLAGS[    ]*=*\(.*\)$|LDFLAGS    = $debugging\1|" \        -e "s|^LDFLAGS[    ]*=*\(.*\)$|LDFLAGS    = $debugging\1|" \
         -e "s|^LDLIBS[     ]*=*\(.*\)$|LDLIBS     = \1 $extra_lib|" \
         -e "s/^.*@.*@//"\
       -e "s|kernl32l.fi kernl32b.fi|kernl32b.fi kernl32l.fi|" \        -e "s|kernl32l.fi kernl32b.fi|kernl32b.fi kernl32l.fi|" \
       Makefile.in > Makefile        $Makefile > Makefile
 else  else
   sed -e "s|^XCFLAGS[    ]*=*\(.*\)$|XCFLAGS    = \1 $flags|" \    sed -e "s|^XCFLAGS[    ]*=*\(.*\)$|XCFLAGS    = \1 $flags|" \
       -e "s|^XDEFINES[   ]*=*\(.*\)$|XDEFINES   = \1 $defines|" \        -e "s|^XDEFINES[   ]*=*\(.*\)$|XDEFINES   = \1 $defines|" \
         -e "s|^VERSION[    ]*=*\(.*\)$|VERSION    = $VERSION\1|" \
       -e "s|^OBJECTS[    ]*=*\(.*\)$|OBJECTS    = \1 $extra_obs|" \        -e "s|^OBJECTS[    ]*=*\(.*\)$|OBJECTS    = \1 $extra_obs|" \
       -e "s|^CFLAGS[     ]*=*\(.*\)$|CFLAGS     = $debugging\1|" \        -e "s|^CFLAGS[     ]*=*\(.*\)$|CFLAGS     = $debugging\1|" \
       -e "s|^LDFLAGS[    ]*=*\(.*\)$|LDFLAGS    = $debugging\1|" \        -e "s|^LDFLAGS[    ]*=*\(.*\)$|LDFLAGS    = $debugging\1|" \
       Makefile.in > Makefile        -e "s|^LDLIBS[     ]*=*\(.*\)$|LDLIBS     = \1 $extra_lib|" \
         -e "s/^.*@.*@//"\
         $Makefile > Makefile
 fi  fi
   
   if [ $Makefile != Makefile.in ]
   then
     rm $Makefile
   fi
   
 exit 0  exit 0
   

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


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