Changeset 76d527ec in rtems
- 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
- Files:
-
- 3 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 -
bootstrap
r9fff6bf r76d527ec 34 34 } 35 35 36 if test ! -f $top_srcdir/ VERSION; then36 if test ! -f $top_srcdir/aclocal/version.m4; then 37 37 echo "${progname}:" 38 echo " Installation problem: Can't find file VERSION"38 echo " Installation problem: Can't find file aclocal/version.m4" 39 39 exit 1; 40 40 fi -
configure.ac
r9fff6bf r76d527ec 9 9 10 10 # Abort if trying to build inside of the source tree. 11 if test -f VERSION; then11 if test -f aclocal/version.m4; then 12 12 rm -f config.cache config.log confdefs.h 13 13 AC_MSG_ERROR([***]
Note: See TracChangeset
for help on using the changeset viewer.