--- gforth/configure.in 2008/01/16 21:50:55 1.209 +++ gforth/configure.in 2008/01/16 22:35:38 1.210 @@ -600,7 +600,7 @@ 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 --die-on-signal" ; fi +if test ! -z "$GFORTH"; then GFORTH="$GFORTH -m4M --die-on-signal -i `gforth --debug -e bye 2>&1 |grep "Opened image file: "|sed 's/Opened image file: //'`" ; fi AC_SUBST(GFORTH) AC_DEFINE_UNQUOTED(GFORTH,"$GFORTH",[How to invoke gforth]) AC_MSG_RESULT($GFORTH)