source: rtems/scripts/configure.in @ b41a0d1

4.104.114.84.95
Last change on this file since b41a0d1 was b41a0d1, checked in by Joel Sherrill <joel.sherrill@…>, on 11/22/99 at 14:30:41

RTEMS RPM basically working.

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