mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 04:24:45 +00:00
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
21 lines
566 B
Plaintext
21 lines
566 B
Plaintext
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=])
|
|
])
|