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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [igen/] [configure.ac] - Blame information for rev 481

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

Line No. Rev Author Line
1 330 jeremybenn
dnl Process this file with autoconf to produce a configure script.
2
sinclude(../common/aclocal.m4)
3
AC_PREREQ(2.59)dnl
4
AC_INIT(table.h)
5
 
6
AC_PROG_INSTALL
7
AC_PROG_CC
8
 
9
SIM_AC_OPTION_WARNINGS
10
 
11
# Put a plausible default for CC_FOR_BUILD in Makefile.
12
if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
13
  AR_FOR_BUILD='$(AR)'
14
  AR_FLAGS_FOR_BUILD='$(AR_FLAGS)'
15
  CC_FOR_BUILD='$(CC)'
16
  CFLAGS_FOR_BUILD='$(CFLAGS)'
17
  RANLIB_FOR_BUILD='$(RANLIB)'
18
  LIBIBERTY_LIB=../../libiberty/libiberty.a
19
else
20
  AR_FOR_BUILD=${AR_FOR_BUILD-ar}
21
  AR_FLAGS_FOR_BUILD=${AR_FLAGS_FOR_BUILD-rc}
22
  CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
23
  CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"-g"}
24
  RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
25
  LIBIBERTY_LIB=
26
fi
27
 
28
 
29
AC_CANONICAL_SYSTEM
30
AC_ARG_PROGRAM
31
 
32
. ${srcdir}/../../bfd/configure.host
33
 
34
AC_CONFIG_HEADER(config.h:config.in)
35
 
36
AC_CHECK_HEADERS(stdlib.h string.h strings.h sys/stat.h sys/types.h unistd.h)
37
AC_HEADER_DIRENT
38
 
39
AC_SUBST(AR_FOR_BUILD)
40
AC_SUBST(AR_FLAGS_FOR_BUILD)
41
AC_SUBST(CC_FOR_BUILD)
42
AC_SUBST(CFLAGS_FOR_BUILD)
43
AC_SUBST(RANLIB_FOR_BUILD)
44
AC_SUBST(LIBIBERTY_LIB)
45
 
46
AC_SUBST(AR)
47
AC_SUBST(CFLAGS)
48
AC_PROG_RANLIB
49
 
50
AC_OUTPUT(Makefile,
51
[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])

powered by: WebSVN 2.1.0

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