diff options
Diffstat (limited to 'libgloss/m32r')
-rwxr-xr-x | libgloss/m32r/configure | 11 | ||||
-rw-r--r-- | libgloss/m32r/configure.in | 9 |
2 files changed, 17 insertions, 3 deletions
diff --git a/libgloss/m32r/configure b/libgloss/m32r/configure index 216e58aa2..08285ab20 100755 --- a/libgloss/m32r/configure +++ b/libgloss/m32r/configure @@ -1067,7 +1067,8 @@ done ac_given_srcdir=$srcdir ac_given_INSTALL="$INSTALL" -trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +trap 'rm -fr `echo "Makefile +. ${srcdir}/../../config-ml.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <<EOF @@ -1166,7 +1167,8 @@ EOF cat >> $CONFIG_STATUS <<EOF -CONFIG_FILES=\${CONFIG_FILES-"Makefile"} +CONFIG_FILES=\${CONFIG_FILES-"Makefile +. ${srcdir}/../../config-ml.in"} EOF cat >> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then @@ -1230,6 +1232,11 @@ cat >> $CONFIG_STATUS <<EOF EOF cat >> $CONFIG_STATUS <<\EOF +srcdir=${srcdir} +target=${target} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${srcdir}/../.. exit 0 EOF diff --git a/libgloss/m32r/configure.in b/libgloss/m32r/configure.in index c78c77953..cdc118bf4 100644 --- a/libgloss/m32r/configure.in +++ b/libgloss/m32r/configure.in @@ -72,4 +72,11 @@ host_makefile_frag_path=$host_makefile_frag AC_SUBST(host_makefile_frag_path) AC_SUBST_FILE(host_makefile_frag) -AC_OUTPUT(Makefile) +AC_OUTPUT(Makefile +. ${srcdir}/../../config-ml.in, +srcdir=${srcdir} +target=${target} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${srcdir}/../.. +) |