Annotation of gforth/BUILD-FROM-SCRATCH, revision 1.2

1.1       jwilke      1: # Procedures to build gforth from the CVS sources
                      2: # created: 2may00jaw
                      3: 
                      4: # To build gforth from scratch you need autoconf and automake.
                      5: # This file can be used as shell script. If you make the environment
1.2     ! pazsan      6: # variable GFORTH point to an existing gforth installation, this
1.1       jwilke      7: # script takes over kernel and primitve files.
                      8: 
1.2     ! pazsan      9: # try to guess a previous version of Gforth
        !            10: 
        !            11: if [ "$GFORTH" == "" ]
        !            12: then
        !            13:        GFORTH=`which gforth`
        !            14: fi
        !            15: 
1.1       jwilke     16: # makes a aclocal.m4 which includes the automake macros for autconf
                     17: 
                     18: aclocal
                     19: 
                     20: # generate configure script
                     21: 
                     22: autoconf
                     23: 
                     24: # generate header files like engine/config.h.in
                     25: 
                     26: autoheader
                     27: 
1.2     ! pazsan     28: # run configure script
1.1       jwilke     29: 
1.2     ! pazsan     30: ./configure $*
1.1       jwilke     31: 
1.2     ! pazsan     32: # if you have specified a previous Gforth, you can savely run make now
        !            33: # with FORTHK and FORTHP changed appropriate.
1.1       jwilke     34: 
1.2     ! pazsan     35: if [ "$GFORTH" != "" ]
        !            36: then
        !            37:        make FORTHK="$GFORTH"
1.1       jwilke     38: fi

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