Changeset 76d527ec in rtems for aclocal/rtems-top.m4
- Timestamp:
- 03/28/02 13:53:19 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 321f5ff
- Parents:
- 9fff6bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
aclocal/rtems-top.m4
r9fff6bf r76d527ec 8 8 AC_DEFUN(RTEMS_TOP, 9 9 [dnl 10 AC_REQUIRE([RTEMS_VERSIONING]) 10 11 AC_CHECK_PROGS(MAKE, gmake make) 11 12 AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl … … 44 45 AC_SUBST(PROJECT_ROOT) 45 46 46 dnl Determine RTEMS Version string from the VERSION file47 dnl Hopefully, Joel never changes its format ;-48 47 AC_MSG_CHECKING([for RTEMS Version]) 49 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 50 RTEMS_VERSION=`grep 'RTEMS Version' ${srcdir}/${RTEMS_TOPdir}/VERSION | \ 51 sed -e 's%RTEMS[[ ]]*Version[[ ]]*\(.*\)[[ ]]*%\1%g'` 52 else 53 AC_MSG_ERROR(Unable to find ${RTEMS_TOPdir}/VERSION) 54 fi 55 if test -z "$RTEMS_VERSION"; then 56 AC_MSG_ERROR(Unable to determine version) 57 fi 58 AC_MSG_RESULT($RTEMS_VERSION) 48 AS_IF([test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"], 49 [], 50 [AC_MSG_ERROR([Unable to find ${RTEMS_TOPdir}/aclocal/version.m4])]) 51 AC_MSG_RESULT([_RTEMS_VERSION]) 59 52 ])dnl
Note: See TracChangeset
for help on using the changeset viewer.