source: rtems/scripts/configure.in @ 7063e223

4.104.114.84.95
Last change on this file since 7063e223 was 7063e223, checked in by Joel Sherrill <joel.sherrill@…>, on 10/21/99 at 17:22:02

Made the RTEMS version get substituted properly even though it is
not right yet.

Now can specify rpm_build_root via setup.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1## $Id$
2
3AC_INIT(binutils)
4AM_INIT_AUTOMAKE(scripts,19991021-0,no)
5
6# RTEMS_CHECK_VERSION(..)
7RTEMS_VERSION=GET_RTEMS_VERSION_XXX
8
9test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache
10. ./setup.cache
11
12# Some linux distributions use /usr/src/packages
13# redhat uses /usr/src/redhat
14# others might use /usr/src
15AC_MSG_CHECKING(for rpm SPECS directory)
16if test -d /usr/src/packages/SPECS;
17then
18  RPM_SPECSdir=/usr/src/packages/SPECS;
19elif test -d /usr/src/redhat/SPECS;
20then
21  RPM_SPECSdir=/usr/src/redhat/SPECS;
22elif test -d /usr/src/SPECS/;
23then
24  RPM_SPECSdir=/usr/src/SPECS;
25fi
26if test x"$RPM_SPECSdir" = x"" ; then
27AC_MSG_ERROR(not found)
28fi
29AC_MSG_RESULT($RPM_SPECSdir)
30AC_SUBST(RPM_SPECSdir)
31
32GCCNEWLIBVERS="gcc-${gcc_version}-newlib-${newlib_version}"
33AC_SUBST(GCCNEWLIBVERS)
34BINUTILSVERS="binutils-${binutils_version}"
35AC_SUBST(BINUTILSVERS)
36GDBVERS="gdb-${gdb_version}"
37AC_SUBST(GDBVERS)
38BSPVERS="${RTEMS_VERSION}"
39AC_SUBST(RTEMS_VERSION)
40AC_SUBST(BSPVERS)
41
42AC_OUTPUT(
43Makefile
44buildall
45mkbinutilspec
46mkgccnewlibspec
47mkgdbspec
48mkbspspec
49binutils/Makefile
50gccnewlib/Makefile
51gdb/Makefile
52rtems/Makefile
53)
Note: See TracBrowser for help on using the repository browser.