OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [scripts-ada/] [configure.ac] - Blame information for rev 1026

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
## configure.ac,v 1.2 2002/03/28 00:54:36 joel Exp
2
 
3
AC_PREREQ(2.52)
4
AC_INIT([rtems-scripts-ada],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
5
AC_CONFIG_SRCDIR([binutils])
6
AM_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.
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.