source: rtems/scripts-ada/configure.ac @ b2145d92

4.104.114.84.95
Last change on this file since b2145d92 was b2145d92, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 28, 2002 at 12:54:36 AM

2002-03-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • binutils/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • gdb/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • gnatnewlib/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1## $Id$
2
3AC_PREREQ(2.52)
4AC_INIT([rtems-scripts-ada],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
5AC_CONFIG_SRCDIR([binutils])
6AM_INIT_AUTOMAKE([no-define foreign 1.6])
7
8# Check for .exe suffix.
9# With autoconf > 2.13 AC_EXEEXT is not what we want to use.
10AC_MSG_CHECKING([for executable suffix])
11case "$host" in
12i?86-*cygwin*)
13  EXEEXT=.exe ;;
14esac
15AC_SUBST(EXEEXT)
16AC_MSG_RESULT([$EXEEXT])
17
18test -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
24AC_MSG_CHECKING(for rpm SPECS directory)
25if test -d /usr/src/packages/SPECS;
26then
27  RPM_SPECSdir=/usr/src/packages/SPECS;
28elif test -d /usr/src/redhat/SPECS;
29then
30  RPM_SPECSdir=/usr/src/redhat/SPECS;
31elif test -d /usr/src/SPECS;
32then
33  RPM_SPECSdir=/usr/src/SPECS;
34fi
35if test x"$RPM_SPECSdir" = x"" ; then
36AC_MSG_ERROR(not found)
37fi
38AC_MSG_RESULT($RPM_SPECSdir)
39AC_SUBST(RPM_SPECSdir)
40
41GNATNEWLIBVERS="gnat-${gnat_version}-newlib-${newlib_version}"
42AC_SUBST(GNATNEWLIBVERS)
43BINUTILSVERS="gnat-${gnat_version}-binutils-${binutils_version}"
44AC_SUBST(BINUTILSVERS)
45GDBVERS="gnat-${gnat_version}-gdb-${gdb_version}"
46AC_SUBST(GDBVERS)
47BSPVERS="${rtems_version}"
48AC_SUBST(RTEMS_VERSION)
49AC_SUBST(BSPVERS)
50
51AC_CONFIG_FILES([Makefile
52buildall
53mkbinutilspec
54mkgnatnewlibspec
55mkgdbspec
56mkbspspec
57binutils/Makefile
58gnatnewlib/Makefile
59gdb/Makefile])
60AC_CONFIG_COMMANDS([default],[[]],[[chmod 755 buildall
61]])
62AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.