4.104.114.84.95
Line | |
---|
1 | ## $Id$ |
---|
2 | |
---|
3 | AC_INIT(binutils) |
---|
4 | AM_INIT_AUTOMAKE(rtems-scripts_ada,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 | fi |
---|
25 | if test x"$RPM_SPECSdir" = x"" ; then |
---|
26 | AC_MSG_ERROR(not found) |
---|
27 | fi |
---|
28 | AC_MSG_RESULT($RPM_SPECSdir) |
---|
29 | AC_SUBST(RPM_SPECSdir) |
---|
30 | |
---|
31 | GNATNEWLIBVERS="gnat-${gnat_version}-newlib-${newlib_version}" |
---|
32 | AC_SUBST(GNATNEWLIBVERS) |
---|
33 | BINUTILSVERS="gnat-${gnat_version}-binutils-${binutils_version}" |
---|
34 | AC_SUBST(BINUTILSVERS) |
---|
35 | GDBVERS="gnat-${gnat_version}-gdb-${gdb_version}" |
---|
36 | AC_SUBST(GDBVERS) |
---|
37 | BSPVERS="${rtems_version}" |
---|
38 | AC_SUBST(RTEMS_VERSION) |
---|
39 | AC_SUBST(BSPVERS) |
---|
40 | |
---|
41 | AC_OUTPUT( |
---|
42 | Makefile |
---|
43 | buildall |
---|
44 | mkbinutilspec |
---|
45 | mkgnatnewlibspec |
---|
46 | mkgdbspec |
---|
47 | mkbspspec |
---|
48 | binutils/Makefile |
---|
49 | gnatnewlib/Makefile |
---|
50 | gdb/Makefile,, |
---|
51 | chmod 755 buildall |
---|
52 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.