4.104.114.84.95
Line | |
---|
1 | ## $Id$ |
---|
2 | |
---|
3 | AC_INIT(binutils) |
---|
4 | AM_INIT_AUTOMAKE(scripts,19991025-0,no) |
---|
5 | |
---|
6 | test -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 |
---|
12 | AC_MSG_CHECKING(for rpm SPECS directory) |
---|
13 | if test -d /usr/src/packages/SPECS; |
---|
14 | then |
---|
15 | RPM_SPECSdir=/usr/src/packages/SPECS; |
---|
16 | elif test -d /usr/src/redhat/SPECS; |
---|
17 | then |
---|
18 | RPM_SPECSdir=/usr/src/redhat/SPECS; |
---|
19 | elif test -d /usr/src/SPECS/; |
---|
20 | then |
---|
21 | RPM_SPECSdir=/usr/src/SPECS; |
---|
22 | fi |
---|
23 | if test x"$RPM_SPECSdir" = x"" ; then |
---|
24 | AC_MSG_ERROR(not found) |
---|
25 | fi |
---|
26 | AC_MSG_RESULT($RPM_SPECSdir) |
---|
27 | AC_SUBST(RPM_SPECSdir) |
---|
28 | |
---|
29 | GCCNEWLIBVERS="gcc-${gcc_version}-newlib-${newlib_version}" |
---|
30 | AC_SUBST(GCCNEWLIBVERS) |
---|
31 | BINUTILSVERS="binutils-${binutils_version}" |
---|
32 | AC_SUBST(BINUTILSVERS) |
---|
33 | GDBVERS="gdb-${gdb_version}" |
---|
34 | AC_SUBST(GDBVERS) |
---|
35 | BSPVERS="${rtems_version}" |
---|
36 | AC_SUBST(RTEMS_VERSION) |
---|
37 | AC_SUBST(BSPVERS) |
---|
38 | |
---|
39 | AC_OUTPUT( |
---|
40 | Makefile |
---|
41 | buildall |
---|
42 | mkbinutilspec |
---|
43 | mkgccnewlibspec |
---|
44 | mkgnatnewlibspec |
---|
45 | mkgdbspec |
---|
46 | mkbspspec |
---|
47 | binutils/Makefile |
---|
48 | gccnewlib/Makefile |
---|
49 | gnatnewlib/Makefile |
---|
50 | gdb/Makefile |
---|
51 | rtems/Makefile |
---|
52 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.