--- gforth/gforthmi.in 2012/03/22 01:45:42 1.18 +++ gforth/gforthmi.in 2012/12/31 15:25:18 1.21 @@ -1,6 +1,6 @@ -#! @SH@ +#! @mi_prefix@/bin/bash # @configure_input@ -#Copyright (C) 1997,1998,2000,2002,2003,2004,2007 Free Software Foundation, Inc. +#Copyright (C) 1997,1998,2000,2002,2003,2004,2007,2012 Free Software Foundation, Inc. #This file is part of Gforth. @@ -19,15 +19,15 @@ startup="-i @kernel_fi@ exboot.fs startup.fs @asm_fs@ @disasm_fs@" prefix=@prefix@ -exec_prefix=@exec_prefix@ +exec_prefix=@exec_prefix@@mi_prefix@ if [ -f "@libdir@/gforth/@PACKAGE_VERSION@/gforth.fi" ] then helper="" else helper="$startup" fi -test "x$GFORTHD" != x || GFORTHD="@bindir@/gforth-ditc-@PACKAGE_VERSION@ --die-on-signal" -test "x$GFORTH" != x || GFORTH="@bindir@/gforth-@PACKAGE_VERSION@ --die-on-signal $helper" +test "x$GFORTHD" != x || GFORTHD="@bindir@/gforth-ditc-@PACKAGE_VERSION@@ARCH@ --die-on-signal" +test "x$GFORTH" != x || GFORTH="@bindir@/gforth-@PACKAGE_VERSION@@ARCH@ --die-on-signal $helper" if test $# = 0 || test $1 = --help || test $1 = -h; then echo "usage: `basename $0` [--application] target-name [gforth-options]" echo "creates a relocatable image 'target-name'" @@ -39,7 +39,7 @@ if test $# = 0 || test $1 = --help || te elif test $1 = --version || test $1 = -v; then echo "gforthmi (@PACKAGE_NAME@) @PACKAGE_VERSION@" $GFORTH --version - echo 'Copyright (C) 1998,2002,2003,2004,2007 Free Software Foundation, Inc.' + echo 'Copyright (C) 1998,2002,2003,2004,2007,2012 Free Software Foundation, Inc.' echo 'This program is part of Gforth' $GFORTH -e "license bye" exit 0