summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2006-08-22 11:41:31 +0000
committerChris Johns <chrisj@rtems.org>2006-08-22 11:41:31 +0000
commit5428a43e2fb5957c21d1ab43366e581cf0ccaaae (patch)
treed18b81811429d2aa0e81294d10ad5fb1cd6709dd /contrib
parent * shared/vme/vmeconfig.c: open outbound window (diff)
downloadrtems-5428a43e2fb5957c21d1ab43366e581cf0ccaaae.tar.bz2
Add a version for rtems.
Add checking messages.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/rtemsrpms/configure.ac28
1 files changed, 22 insertions, 6 deletions
diff --git a/contrib/rtemsrpms/configure.ac b/contrib/rtemsrpms/configure.ac
index 42ff6aaec3..63f8e96904 100644
--- a/contrib/rtemsrpms/configure.ac
+++ b/contrib/rtemsrpms/configure.ac
@@ -1,6 +1,7 @@
## $Id$
m4_define([M4_RTEMS_API],[4.7])
+m4_define([M4_RTEMS_VERSION],[4.6.99.3])
m4_define([M4_RTEMS_RELEASE],[0])
AC_PREREQ(2.59)
@@ -13,12 +14,6 @@ AC_PREFIX_DEFAULT([/opt/rtems-][M4_RTEMS_API])
AM_INIT_AUTOMAKE([1.9])
-AC_ARG_ENABLE([targets],
- AS_HELP_STRING([--enable-targets=<targets>],[build for targets <targets>]),
- [targets="$enable_targets"],
- [targets="i386 m68k powerpc sparc arm mips"]
-)
-
rpmprefix="[rtems-]M4_RTEMS_API[-]"
case "$prefix" in
@@ -47,6 +42,7 @@ AC_ARG_ENABLE([rpmprefix],
esac
])
+AC_MSG_CHECKING([for rpm database])
rpmdbpath=
AC_ARG_ENABLE([rpmdbpath],
[ --enable-rpmdbpath=<rpmdbpath> rpm database path],[
@@ -59,7 +55,11 @@ AC_ARG_ENABLE([rpmdbpath],
rpmdbpath="--dbpath $enable_rpmdbpath";;
esac
])
+AS_IF([test -z $rpmdbpath],
+ [AC_MSG_RESULT([system])],
+ [AC_MSG_RESULT([$rpmdbpath])])
+AC_MSG_CHECKING([for bootstrap])
bootstrap=no
AC_ARG_ENABLE([bootstrap],
[ --enable-bootstrap=<bootstap> bootstrap RTEMS],[
@@ -70,7 +70,19 @@ AC_ARG_ENABLE([bootstrap],
;;
esac
])
+AC_MSG_RESULT([$bootstrap])
+
+dnl The total list:
+dnl arm avr h8300 i386 m68k mips powerpc sh sparc tic4x
+AC_MSG_CHECKING([for targets])
+AC_ARG_ENABLE([targets],
+ AS_HELP_STRING([--enable-targets=<targets>],[build for targets <targets>]),
+ [targets="$enable_targets"],
+ [targets="arm i386 m68k mips powerpc sh sparc tic4x"]
+)
+AC_MSG_RESULT([$targets])
+AC_MSG_CHECKING([for bsps])
bsps="%{nil}"
AC_ARG_ENABLE([bsps],
[ --enable-bsps=<yes/bsps> BSP list],[
@@ -85,8 +97,12 @@ AC_ARG_ENABLE([bsps],
;;
esac
])
+AS_IF([test x"$bsps" = x"%{nil}"],
+ [AC_MSG_RESULT([all])],
+ [AC_MSG_RESULT([$bsps])])
AC_SUBST(RTEMS_API, [M4_RTEMS_API])
+AC_SUBST(RTEMS_VERSION, [M4_RTEMS_VERSION])
AC_SUBST(RTEMS_RELEASE, [M4_RTEMS_RELEASE])
AC_SUBST(PREFIX, [$prefix])
AC_SUBST(TARGETS, [$targets])