Made the RTEMS version get substituted properly even though it is

not right yet.

Now can specify rpm_build_root via setup.
This commit is contained in:
Joel Sherrill
1999-10-21 17:22:02 +00:00
parent f4a5803e44
commit 7063e223dc
14 changed files with 27 additions and 9 deletions

5
scripts/configure vendored
View File

@@ -769,6 +769,7 @@ fi
# RTEMS_CHECK_VERSION(..)
RTEMS_VERSION=GET_RTEMS_VERSION_XXX
test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache
. ./setup.cache
@@ -777,7 +778,7 @@ test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache
# redhat uses /usr/src/redhat
# others might use /usr/src
echo $ac_n "checking for rpm SPECS directory""... $ac_c" 1>&6
echo "configure:781: checking for rpm SPECS directory" >&5
echo "configure:782: checking for rpm SPECS directory" >&5
if test -d /usr/src/packages/SPECS;
then
RPM_SPECSdir=/usr/src/packages/SPECS;
@@ -803,6 +804,7 @@ GDBVERS="gdb-${gdb_version}"
BSPVERS="${RTEMS_VERSION}"
trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
@@ -973,6 +975,7 @@ s%@RPM_SPECSdir@%$RPM_SPECSdir%g
s%@GCCNEWLIBVERS@%$GCCNEWLIBVERS%g
s%@BINUTILSVERS@%$BINUTILSVERS%g
s%@GDBVERS@%$GDBVERS%g
s%@RTEMS_VERSION@%$RTEMS_VERSION%g
s%@BSPVERS@%$BSPVERS%g
CEOF