summaryrefslogtreecommitdiffstats
path: root/aclocal
diff options
context:
space:
mode:
authorcvs2git <rtems-devel@rtems.org>2004-02-09 13:21:25 +0000
committercvs2git <rtems-devel@rtems.org>2004-02-09 13:21:25 +0000
commite4669c7a8579dab9795773ba985cae593764dc1c (patch)
tree59095746a91ef60d450c5943b81ef83c8c029439 /aclocal
parent2004-02-03 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-e4669c7a8579dab9795773ba985cae593764dc1c.tar.bz2
This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2004-02-01 08:27:24 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2004-02-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>': aclocal/rpm.m4 Cherrypick from master 2004-02-09 13:21:24 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2004-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>': scripts/rtems/rtems-source.add
Diffstat (limited to 'aclocal')
-rw-r--r--aclocal/rpm.m420
1 files changed, 20 insertions, 0 deletions
diff --git a/aclocal/rpm.m4 b/aclocal/rpm.m4
new file mode 100644
index 0000000000..2f19a5a3a8
--- /dev/null
+++ b/aclocal/rpm.m4
@@ -0,0 +1,20 @@
+AC_DEFUN([RTEMS_ENABLE_RPMPREFIX],[
+AC_ARG_ENABLE([rpmprefix],
+[ --enable-rpmprefix=<rpmprefix> prefix rpms],
+[case $enable_rpmprefix in
+yes ) rpmprefix="rtems-"]RTEMS_API["-";;
+no ) rpmprefix="%{nil}";;
+* ) AS_IF([test -z "$enable_rpmprefix"],
+ [rpmprefix="%{nil}"],
+ [rpmprefix="$enable_rpmprefix"]);;
+esac],
+[rpmprefix="rtems-"]RTEMS_API["-"])
+
+AC_ARG_ENABLE([osversions],
+[ --enable-osversions whether to use version numbers in os-tripples],
+[case $enable_osversions in
+yes ) osversion=RTEMS_API;;
+* ) osversion=;;
+esac],
+[osversion=])
+])