aboutsummaryrefslogtreecommitdiff
path: root/libgloss/mn10300/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/mn10300/configure.ac')
-rw-r--r--libgloss/mn10300/configure.ac14
1 files changed, 2 insertions, 12 deletions
diff --git a/libgloss/mn10300/configure.ac b/libgloss/mn10300/configure.ac
index aea3383..c170cd0 100644
--- a/libgloss/mn10300/configure.ac
+++ b/libgloss/mn10300/configure.ac
@@ -19,16 +19,7 @@ if test "${enable_shared}" = "yes" ; then
echo "Shared libraries not supported for cross compiling, ignored"
fi
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
+AC_CONFIG_AUX_DIR(../..)
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
@@ -78,14 +69,13 @@ AC_SUBST(bsp_list)
AC_CONFIG_FILES([Makefile],
[if test -n "$CONFIG_FILES"; then
unset ac_file
- . ${libgloss_topdir}/config-ml.in
+ . ${srcdir}/../../config-ml.in
fi],
srcdir=${srcdir}
target=${target}
with_multisubdir=${with_multisubdir}
ac_configure_args="${ac_configure_args} --enable-multilib"
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
)
AC_OUTPUT