source: rtems/aclocal/rpm.m4

Last change on this file was b42cae7, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 4, 2011 at 4:22:17 PM

2011-03-04 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.maint, aclocal/rpm.m4, aclocal/rtems-top.m4, aclocal/version.m4: Rename RTEMS_API into _RTEMS_API.
  • Property mode set to 100644
File size: 579 bytes
Line 
1AC_DEFUN([RTEMS_ENABLE_RPMPREFIX],[
2AC_ARG_ENABLE([rpmprefix],
3[  --enable-rpmprefix=<rpmprefix>      prefix rpms],
4[case $enable_rpmprefix in
5yes ) rpmprefix="rtems-"]_RTEMS_API["-";;
6no ) rpmprefix="%{nil}";;
7* ) AS_IF([test -z "$enable_rpmprefix"],
8      [rpmprefix="%{nil}"],
9      [rpmprefix="$enable_rpmprefix"]);;
10esac],
11[rpmprefix="rtems-"]_RTEMS_API["-"])
12
13AC_ARG_ENABLE([osversions],
14[  --enable-osversions       whether to use version numbers in os-tripples],
15[case $enable_osversions in
16yes ) osversion=_RTEMS_API;;
17* ) osversion=;;
18esac],
19[osversion=_RTEMS_API])
20])
Note: See TracBrowser for help on using the repository browser.