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

4.104.114.84.95
Last change on this file since dd2906e was d7aecdc, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 12, 2001 at 6:47:00 PM

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
3AC_PREREQ(2.52)
4AC_INIT
5AC_CONFIG_SRCDIR([binutils])
6AM_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.
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.