aboutsummaryrefslogtreecommitdiff
path: root/libgloss/spu/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/configure.ac')
-rw-r--r--libgloss/spu/configure.ac14
1 files changed, 2 insertions, 12 deletions
diff --git a/libgloss/spu/configure.ac b/libgloss/spu/configure.ac
index ad16f7c..e4fe4a0 100644
--- a/libgloss/spu/configure.ac
+++ b/libgloss/spu/configure.ac
@@ -2,16 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.69)dnl
AC_INIT(crt0.S)
-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
@@ -40,12 +31,11 @@ AC_SUBST(host_makefile_frag_path)
AC_SUBST_FILE(host_makefile_frag)
AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
+. ${srcdir}/../../config-ml.in,
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