From 21d7de3a3f110306f8c47bb475ff62afbe730d69 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 2 Feb 2001 18:30:42 +0000 Subject: 2001-02-02 Ralf Corsepius * configre.in: Fix AM_INIT_AUTOMAKE. * aclocal/bsp-arg-enable.m4: Extend comments. * aclocal/check-bsps.m4: Remove extraneous comments, add test -d in the default clause. --- aclocal/bsp-arg-enable.m4 | 10 +++++----- aclocal/check-bsps.m4 | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'aclocal') diff --git a/aclocal/bsp-arg-enable.m4 b/aclocal/bsp-arg-enable.m4 index 53ea4845de..91972a5303 100644 --- a/aclocal/bsp-arg-enable.m4 +++ b/aclocal/bsp-arg-enable.m4 @@ -2,12 +2,12 @@ dnl $Id$ dnl dnl RTEMS_BSP_ARG_ENABLE(FEATURE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE]) dnl -dnl Accept --enable-FEATURE=: and --enable-FEATURE= -dnl in BSP-configure scripts. +dnl Accept --enable-FEATURE=: and +dnl --enable-FEATURE= in BSP-configure scripts. dnl -dnl Configure scripts will receive if matches the actual -dnl value of the shell variable RTEMS_BSP (cf. RTEMS_ENV_RTEMSBSP), and -dnl :. +dnl Configure scripts will receive if matches the +dnl actual value of the shell variable RTEMS_BSP (cf. RTEMS_ENV_RTEMSBSP), +dnl and the raw value passed to --enable-FEATURE otherwise. dnl AC_DEFUN(RTEMS_BSP_ARG_ENABLE, [AC_REQUIRE([RTEMS_ENV_RTEMSBSP]) diff --git a/aclocal/check-bsps.m4 b/aclocal/check-bsps.m4 index d52f14bc6f..43b11ef942 100644 --- a/aclocal/check-bsps.m4 +++ b/aclocal/check-bsps.m4 @@ -32,11 +32,11 @@ AC_MSG_CHECKING([for bsps]) leon) rtems_bsp="$rtems_bsp leon1 leon2";; sim68000) rtems_bsp="$rtems_bsp sim68000 simcpu32";; shsim) rtems_bsp="$rtems_bsp simsh7032 simsh7045";; - *) $1="[$]$1 $file";; + *) if test -d $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$file; then + $1="[$]$1 $file" + fi;; esac; done -dnl ;; -dnl esac AC_MSG_RESULT([[$]$1 .. done]) ])dnl -- cgit v1.2.3