summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/acinclude.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-02-15 15:17:26 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-02-15 15:17:26 +0000
commitee8a1ec3571c7967aa89b88a694699abefd15e2c (patch)
tree90571986f8fa7029102868ef8b7ec059acc8a385 /contrib/crossrpms/acinclude.m4
parentNew. (diff)
downloadrtems-ee8a1ec3571c7967aa89b88a694699abefd15e2c.tar.bz2
New.
Diffstat (limited to 'contrib/crossrpms/acinclude.m4')
-rw-r--r--contrib/crossrpms/acinclude.m420
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/crossrpms/acinclude.m4 b/contrib/crossrpms/acinclude.m4
new file mode 100644
index 0000000000..bf055e9901
--- /dev/null
+++ b/contrib/crossrpms/acinclude.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="";;
+* ) AS_IF([test -z "$enable_rpmprefix"],
+ [rpmprefix=""],
+ [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=RTEMS_API])
+])