forked from Imagelibrary/rtems
2004-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use RTEMS_ENABLE_RPMPREFIX.
This commit is contained in:
@@ -12,24 +12,7 @@ AC_CANONICAL_HOST
|
||||
test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache
|
||||
. ./setup.cache
|
||||
|
||||
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=RTEMS_API])
|
||||
RTEMS_ENABLE_RPMPREFIX
|
||||
|
||||
AC_MSG_CHECKING(for rpm SPECS directory)
|
||||
# Allow users to override RPM_SPECSdir from the environment.
|
||||
@@ -82,7 +65,7 @@ AC_SUBST(BINUTILSVERS)
|
||||
GDBVERS="gdb-${gdb_version}"
|
||||
AC_SUBST(GDBVERS)
|
||||
BSPVERS="${rtems_version}"
|
||||
AC_SUBST(RTEMS_VERSION)
|
||||
AC_SUBST(RTEMS_VERSION,${rtems_version})
|
||||
AC_SUBST(BSPVERS)
|
||||
AC_SUBST(RPM_CPU)
|
||||
AC_SUBST(rpmprefix,$rpmprefix)
|
||||
|
||||
Reference in New Issue
Block a user