source:
rtems/scripts/configure.in
@
d5704c6
Last change on this file since d5704c6 was d5704c6, checked in by Joel Sherrill <joel.sherrill@…>, on 11/04/99 at 13:18:23 | |
---|---|
|
|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[43e7d103] | 1 | ## $Id$ |
2 | ||
[10629f7] | 3 | AC_INIT(binutils) |
[213c518] | 4 | AM_INIT_AUTOMAKE(scripts,19991025-0,no) |
[43e7d103] | 5 | |
[39537657] | 6 | # RTEMS_CHECK_VERSION(..) |
[7063e223] | 7 | RTEMS_VERSION=GET_RTEMS_VERSION_XXX |
[10629f7] | 8 | |
[43e7d103] | 9 | test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache |
[10629f7] | 10 | . ./setup.cache |
11 | ||
12 | # Some linux distributions use /usr/src/packages | |
13 | # redhat uses /usr/src/redhat | |
14 | # others might use /usr/src | |
15 | AC_MSG_CHECKING(for rpm SPECS directory) | |
16 | if test -d /usr/src/packages/SPECS; | |
17 | then | |
[36b6704e] | 18 | RPM_SPECSdir=/usr/src/packages/SPECS; |
[10629f7] | 19 | elif test -d /usr/src/redhat/SPECS; |
20 | then | |
[36b6704e] | 21 | RPM_SPECSdir=/usr/src/redhat/SPECS; |
[10629f7] | 22 | elif test -d /usr/src/SPECS/; |
23 | then | |
[36b6704e] | 24 | RPM_SPECSdir=/usr/src/SPECS; |
[10629f7] | 25 | fi |
[43e7d103] | 26 | if test x"$RPM_SPECSdir" = x"" ; then |
[10629f7] | 27 | AC_MSG_ERROR(not found) |
28 | fi | |
29 | AC_MSG_RESULT($RPM_SPECSdir) | |
30 | AC_SUBST(RPM_SPECSdir) | |
31 | ||
32 | GCCNEWLIBVERS="gcc-${gcc_version}-newlib-${newlib_version}" | |
33 | AC_SUBST(GCCNEWLIBVERS) | |
34 | BINUTILSVERS="binutils-${binutils_version}" | |
35 | AC_SUBST(BINUTILSVERS) | |
36 | GDBVERS="gdb-${gdb_version}" | |
37 | AC_SUBST(GDBVERS) | |
[43e7d103] | 38 | BSPVERS="${RTEMS_VERSION}" |
[7063e223] | 39 | AC_SUBST(RTEMS_VERSION) |
[2f23359] | 40 | AC_SUBST(BSPVERS) |
[10629f7] | 41 | |
42 | AC_OUTPUT( | |
43 | Makefile | |
[431c35d] | 44 | buildall |
[10629f7] | 45 | mkbinutilspec |
46 | mkgccnewlibspec | |
[d5704c6] | 47 | mkgnatnewlibspec |
[1805015] | 48 | mkgdbspec |
[2f23359] | 49 | mkbspspec |
[10629f7] | 50 | binutils/Makefile |
51 | gccnewlib/Makefile | |
[d5704c6] | 52 | gnatnewlib/Makefile |
[1805015] | 53 | gdb/Makefile |
[431c35d] | 54 | rtems/Makefile |
[10629f7] | 55 | ) |
Note: See TracBrowser
for help on using the repository browser.