4.104.114.84.95
Last change
on this file since a976681e was
b33ab2b,
checked in by Joel Sherrill <joel.sherrill@…>, on 02/08/00 at 15:24:16
|
Patch from David Fiddes <D.J.Fiddes@…> to match his Cygwin
for RTEMS toolkit.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | ## $Id$ |
---|
2 | |
---|
3 | AC_INIT(binutils) |
---|
4 | AM_INIT_AUTOMAKE(scripts,20000125-0,no) |
---|
5 | |
---|
6 | AC_EXEEXT |
---|
7 | |
---|
8 | test -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 |
---|
14 | AC_MSG_CHECKING(for rpm SPECS directory) |
---|
15 | if test -d /usr/src/packages/SPECS; |
---|
16 | then |
---|
17 | RPM_SPECSdir=/usr/src/packages/SPECS; |
---|
18 | elif test -d /usr/src/redhat/SPECS; |
---|
19 | then |
---|
20 | RPM_SPECSdir=/usr/src/redhat/SPECS; |
---|
21 | elif test -d /usr/src/SPECS/; |
---|
22 | then |
---|
23 | RPM_SPECSdir=/usr/src/SPECS; |
---|
24 | elif test -d /usr/local/src/redhat/SPECS/; |
---|
25 | then |
---|
26 | RPM_SPECSdir=/usr/local/src/redhat/SPECS; |
---|
27 | fi |
---|
28 | if test x"$RPM_SPECSdir" = x"" ; then |
---|
29 | AC_MSG_ERROR(not found) |
---|
30 | fi |
---|
31 | AC_MSG_RESULT($RPM_SPECSdir) |
---|
32 | AC_SUBST(RPM_SPECSdir) |
---|
33 | |
---|
34 | GCCNEWLIBVERS="gcc-${gcc_version}-newlib-${newlib_version}" |
---|
35 | AC_SUBST(GCCNEWLIBVERS) |
---|
36 | BINUTILSVERS="binutils-${binutils_version}" |
---|
37 | AC_SUBST(BINUTILSVERS) |
---|
38 | GDBVERS="gdb-${gdb_version}" |
---|
39 | AC_SUBST(GDBVERS) |
---|
40 | BSPVERS="${rtems_version}" |
---|
41 | AC_SUBST(RTEMS_VERSION) |
---|
42 | AC_SUBST(BSPVERS) |
---|
43 | |
---|
44 | AC_OUTPUT( |
---|
45 | Makefile |
---|
46 | buildall |
---|
47 | mkbinutilspec |
---|
48 | mkgccnewlibspec |
---|
49 | mkgdbspec |
---|
50 | mkbspspec |
---|
51 | binutils/Makefile |
---|
52 | gccnewlib/Makefile |
---|
53 | gdb/Makefile |
---|
54 | rtems/Makefile,, |
---|
55 | chmod 755 buildall |
---|
56 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.