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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [scripts/] [configure.in] - Blame information for rev 239

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

Line No. Rev Author Line
1 30 unneback
## $Id: configure.in,v 1.2 2001-09-27 12:02:52 chris Exp $
2
 
3
AC_INIT(binutils)
4
AM_INIT_AUTOMAKE(rtems-scripts,20000610-0,no)
5
 
6
AC_EXEEXT
7
 
8
test -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
14
AC_MSG_CHECKING(for rpm SPECS directory)
15
if test -d /usr/src/packages/SPECS;
16
then
17
  RPM_SPECSdir=/usr/src/packages/SPECS;
18
elif test -d /usr/src/redhat/SPECS;
19
then
20
  RPM_SPECSdir=/usr/src/redhat/SPECS;
21
elif test -d /usr/src/SPECS/;
22
then
23
  RPM_SPECSdir=/usr/src/SPECS;
24
elif test -d /usr/local/src/redhat/SPECS/;
25
then
26
  RPM_SPECSdir=/usr/local/src/redhat/SPECS;
27
fi
28
if test x"$RPM_SPECSdir" = x"" ; then
29
AC_MSG_ERROR(not found)
30
fi
31
AC_MSG_RESULT($RPM_SPECSdir)
32
AC_SUBST(RPM_SPECSdir)
33
 
34
AC_CANONICAL_HOST
35
 
36
AC_MSG_CHECKING(for RPM CPU type)
37
changequote(,)dnl
38
case "${host}" in
39
  i[34567]86-*linux*)    RPM_CPU=i386 ;;
40
  i[34567]86-pc-cygwin*) RPM_CPU=i386 ;;
41
  sparc-sun-solaris*)    RPM_CPU=sparc ;;
42
  *)
43
    AC_MSG_ERROR(RPM CPU for ${target} is unknown)
44
    ;;
45
esac
46
changequote([,])dnl
47
AC_MSG_RESULT($RPM_CPU)
48
 
49
GCCNEWLIBVERS="gcc-${gcc_version}-newlib-${newlib_version}"
50
AC_SUBST(GCCNEWLIBVERS)
51
BINUTILSVERS="binutils-${binutils_version}"
52
AC_SUBST(BINUTILSVERS)
53
GDBVERS="gdb-${gdb_version}"
54
AC_SUBST(GDBVERS)
55
BSPVERS="${rtems_version}"
56
AC_SUBST(RTEMS_VERSION)
57
AC_SUBST(BSPVERS)
58
AC_SUBST(RPM_CPU)
59
 
60
AC_OUTPUT(
61
Makefile
62
buildall
63
mkbinutilspec
64
mkgccnewlibspec
65
mkgdbspec
66
mkbspspec
67
binutils/Makefile
68
gccnewlib/Makefile
69
gdb/Makefile
70
rtems/Makefile,,
71
chmod 755 buildall
72
)

powered by: WebSVN 2.1.0

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