source: rtems/scripts/configure.in @ fb196c3c

4.104.114.84.95
Last change on this file since fb196c3c was 70810dc, checked in by Joel Sherrill <joel.sherrill@…>, on 02/08/00 at 22:33:25

Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@…>
that contains:

  • Removes remaining (now illegal) references to $(SRC) from a couple of Makefile.ams
  • Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
  • Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR from most configure scripts, i.e. LIBCDIR becomes less visible)
  • Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to libbsp/*/configure.ins (A minor bug in previous implementations, which only has an impact when switching to GNU/Cygnus canonicalization)
  • Cleans up several bogus comments.
  • Removes MKLIB
  • Switches the version number to 4.5.0 (for testing version number handling)
  • Property mode set to 100644
File size: 1.2 KB
Line 
1## $Id$
2
3AC_INIT(binutils)
4AM_INIT_AUTOMAKE(rtems-scripts,20000125-0,no)
5
6AC_EXEEXT
7
8test -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
14AC_MSG_CHECKING(for rpm SPECS directory)
15if test -d /usr/src/packages/SPECS;
16then
17  RPM_SPECSdir=/usr/src/packages/SPECS;
18elif test -d /usr/src/redhat/SPECS;
19then
20  RPM_SPECSdir=/usr/src/redhat/SPECS;
21elif test -d /usr/src/SPECS/;
22then
23  RPM_SPECSdir=/usr/src/SPECS;
24elif test -d /usr/local/src/redhat/SPECS/;
25then
26  RPM_SPECSdir=/usr/local/src/redhat/SPECS;
27fi
28if test x"$RPM_SPECSdir" = x"" ; then
29AC_MSG_ERROR(not found)
30fi
31AC_MSG_RESULT($RPM_SPECSdir)
32AC_SUBST(RPM_SPECSdir)
33
34GCCNEWLIBVERS="gcc-${gcc_version}-newlib-${newlib_version}"
35AC_SUBST(GCCNEWLIBVERS)
36BINUTILSVERS="binutils-${binutils_version}"
37AC_SUBST(BINUTILSVERS)
38GDBVERS="gdb-${gdb_version}"
39AC_SUBST(GDBVERS)
40BSPVERS="${rtems_version}"
41AC_SUBST(RTEMS_VERSION)
42AC_SUBST(BSPVERS)
43
44AC_OUTPUT(
45Makefile
46buildall
47mkbinutilspec
48mkgccnewlibspec
49mkgdbspec
50mkbspspec
51binutils/Makefile
52gccnewlib/Makefile
53gdb/Makefile
54rtems/Makefile,,
55chmod 755 buildall
56)
Note: See TracBrowser for help on using the repository browser.