source: rtems/scripts-ada/configure.in @ 64ab2e9

4.104.114.84.9
Last change on this file since 64ab2e9 was 64ab2e9, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 26, 2000 at 7:56:54 PM

First cut at adding RPM scripts for building GNAT/RTEMS RPMs.

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