Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-11-07 01:54:52 +0300
committerJeff Johnston <jjohnstn@redhat.com>2002-11-07 01:54:52 +0300
commitc27382bdbeb9ac583b77c148239ccd011b663c50 (patch)
tree3a877c068d97cf0ef9688c95dc1b4b762cdb20bb /libgloss/m32r/configure.in
parent2035f402e4e4f54056b2e8a759fc221c6b1d8d3b (diff)
2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
Catherine Moore <clm@redhat.com> * m32r/configure.in: Do not require gcc to be able to link an executable. * m32r/configure: Regenerate. * m32r/Makefile.in: Directly reference gdbstub.
Diffstat (limited to 'libgloss/m32r/configure.in')
-rw-r--r--libgloss/m32r/configure.in35
1 files changed, 7 insertions, 28 deletions
diff --git a/libgloss/m32r/configure.in b/libgloss/m32r/configure.in
index 6bffc7003..c78c77953 100644
--- a/libgloss/m32r/configure.in
+++ b/libgloss/m32r/configure.in
@@ -2,30 +2,16 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.5)dnl
AC_INIT(crt0.S)
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
+AC_CANONICAL_SYSTEM
+AC_ARG_PROGRAM
if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
+ mdir=`echo "${with_multisubdir}/" \
+ | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'`
+ AC_CONFIG_AUX_DIR(${mdir}../../..)
else
- libgloss_topdir="${srcdir}/../.."
+ AC_CONFIG_AUX_DIR(${srcdir}/../..)
fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-if test -f "${srcdir}/${with_multisrctop}../../gdb/m32r-stub.c"; then
- GDBSTUB=${srcdir}/${with_multisrctop}../../gdb/m32r-stub.c
-else
- GDBSTUB=
-fi
-AC_SUBST(GDBSTUB)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
AC_PROG_INSTALL
@@ -86,11 +72,4 @@ host_makefile_frag_path=$host_makefile_frag
AC_SUBST(host_makefile_frag_path)
AC_SUBST_FILE(host_makefile_frag)
-AC_OUTPUT(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
+AC_OUTPUT(Makefile)