--- gforth/configure.in 2007/12/31 17:34:58 1.200 +++ gforth/configure.in 2008/01/01 13:39:14 1.202 @@ -6,7 +6,7 @@ dnl Process this file with autoconf to p #Gforth is free software; you can redistribute it and/or #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 3 #of the License, or (at your option) any later version. #This program is distributed in the hope that it will be useful, @@ -15,8 +15,7 @@ dnl Process this file with autoconf to p #GNU General Public License for more details. #You should have received a copy of the GNU General Public License -#along with this program; if not, write to the Free Software -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. +#along with this program. If not, see http://www.gnu.org/licenses/. dnl We use some automake macros here, @@ -628,6 +627,14 @@ AC_SUBST(M4) AC_DEFINE_UNQUOTED(M4,"$M4",[How to invoke m4]) AC_MSG_RESULT($M4) +# Find installed Gforth +AC_MSG_CHECKING([for gforth]) +GFORTH="`which gforth 2>/dev/null`" +if test ! -z "$GFORTH"; then GFORTH="$GFORTH -m4M" ; fi +AC_SUBST(GFORTH) +AC_DEFINE_UNQUOTED(GFORTH,"$GFORTH",[How to invoke gforth]) +AC_MSG_RESULT($GFORTH) + echo "machine='$machine'" dnl AC_CHECK_PROG(asm_fs,asm.fs,arch/$machine/asm.fs,,$srcdir/arch/$machine)