4.104.114.84.95
Last change
on this file since dd2906e was
d7aecdc,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/12/01 at 18:47:00
|
2001-10-11 Ralf Corsepius <corsepiu@…>
- .cvsignore: Add autom4te.cache for autoconf > 2.52.
- configure.in: Remove.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | ## $Id$ |
---|
2 | |
---|
3 | AC_PREREQ(2.52) |
---|
4 | AC_INIT |
---|
5 | AC_CONFIG_SRCDIR([binutils]) |
---|
6 | AM_INIT_AUTOMAKE(rtems-scripts_ada,20000125-0,no) |
---|
7 | |
---|
8 | # Check for .exe suffix. |
---|
9 | # With autoconf > 2.13 AC_EXEEXT is not what we want to use. |
---|
10 | AC_MSG_CHECKING([for executable suffix]) |
---|
11 | case "$host" in |
---|
12 | i?86-*cygwin*) |
---|
13 | EXEEXT=.exe ;; |
---|
14 | esac |
---|
15 | AC_SUBST(EXEEXT) |
---|
16 | AC_MSG_RESULT([$EXEEXT]) |
---|
17 | |
---|
18 | test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache |
---|
19 | . ./setup.cache |
---|
20 | |
---|
21 | # Some linux distributions use /usr/src/packages |
---|
22 | # redhat uses /usr/src/redhat |
---|
23 | # others might use /usr/src |
---|
24 | AC_MSG_CHECKING(for rpm SPECS directory) |
---|
25 | if test -d /usr/src/packages/SPECS; |
---|
26 | then |
---|
27 | RPM_SPECSdir=/usr/src/packages/SPECS; |
---|
28 | elif test -d /usr/src/redhat/SPECS; |
---|
29 | then |
---|
30 | RPM_SPECSdir=/usr/src/redhat/SPECS; |
---|
31 | elif test -d /usr/src/SPECS; |
---|
32 | then |
---|
33 | RPM_SPECSdir=/usr/src/SPECS; |
---|
34 | fi |
---|
35 | if test x"$RPM_SPECSdir" = x"" ; then |
---|
36 | AC_MSG_ERROR(not found) |
---|
37 | fi |
---|
38 | AC_MSG_RESULT($RPM_SPECSdir) |
---|
39 | AC_SUBST(RPM_SPECSdir) |
---|
40 | |
---|
41 | GNATNEWLIBVERS="gnat-${gnat_version}-newlib-${newlib_version}" |
---|
42 | AC_SUBST(GNATNEWLIBVERS) |
---|
43 | BINUTILSVERS="gnat-${gnat_version}-binutils-${binutils_version}" |
---|
44 | AC_SUBST(BINUTILSVERS) |
---|
45 | GDBVERS="gnat-${gnat_version}-gdb-${gdb_version}" |
---|
46 | AC_SUBST(GDBVERS) |
---|
47 | BSPVERS="${rtems_version}" |
---|
48 | AC_SUBST(RTEMS_VERSION) |
---|
49 | AC_SUBST(BSPVERS) |
---|
50 | |
---|
51 | AC_CONFIG_FILES([Makefile |
---|
52 | buildall |
---|
53 | mkbinutilspec |
---|
54 | mkgnatnewlibspec |
---|
55 | mkgdbspec |
---|
56 | mkbspspec |
---|
57 | binutils/Makefile |
---|
58 | gnatnewlib/Makefile |
---|
59 | gdb/Makefile]) |
---|
60 | AC_CONFIG_COMMANDS([default],[[]],[[chmod 755 buildall |
---|
61 | ]]) |
---|
62 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.