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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [newlib/] [libc/] [configure.in] - Blame information for rev 57

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

Line No. Rev Author Line
1 56 joel
dnl This is the newlib/libc configure.in file.
2
dnl Process this file with autoconf to produce a configure script.
3
 
4
AC_PREREQ(2.5)
5
AC_INIT(sys.tex)
6
 
7
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
8
AC_CONFIG_AUX_DIR(../..)
9
 
10
NEWLIB_CONFIGURE(..)
11
 
12
AC_CONFIG_SUBDIRS(machine sys)
13
 
14
CRT0=
15
if test -n "${sys_dir}"; then
16
  CRT0=crt0.o
17
fi
18
AC_SUBST(CRT0)
19
 
20
dnl For each directory which we may or may not want, we define a name
21
dnl for the library and an automake conditional for whether we should
22
dnl build the library.
23
 
24
LIBC_POSIX_LIB=
25
if test -n "${posix_dir}"; then
26
  LIBC_POSIX_LIB=${posix_dir}/lib.a
27
fi
28
AC_SUBST(LIBC_POSIX_LIB)
29
AM_CONDITIONAL(HAVE_POSIX_DIR, test x${posix_dir} != x)
30
 
31
LIBC_SIGNAL_LIB=
32
LIBC_SIGNAL_DEF=
33
if test -n "${signal_dir}"; then
34
  LIBC_SIGNAL_LIB=${signal_dir}/lib.a
35
  LIBC_SIGNAL_DEF=${signal_dir}/stmp-def
36
fi
37
AC_SUBST(LIBC_SIGNAL_LIB)
38
AC_SUBST(LIBC_SIGNAL_DEF)
39
AM_CONDITIONAL(HAVE_SIGNAL_DIR, test x${signal_dir} != x)
40
 
41
LIBC_SYSCALL_LIB=
42
if test -n "${syscall_dir}"; then
43
  LIBC_SYSCALL_LIB=${syscall_dir}/lib.a
44
fi
45
AC_SUBST(LIBC_SYSCALL_LIB)
46
AM_CONDITIONAL(HAVE_SYSCALL_DIR, test x${syscall_dir} != x)
47
 
48
LIBC_UNIX_LIB=
49
if test -n "${unix_dir}"; then
50
  LIBC_UNIX_LIB=${unix_dir}/lib.a
51
fi
52
AC_SUBST(LIBC_UNIX_LIB)
53
AM_CONDITIONAL(HAVE_UNIX_DIR, test x${unix_dir} != x)
54
 
55
dnl We always recur into sys and machine, and let them decide what to
56
dnl do.  However, we do need to know whether they will produce a library.
57
 
58
LIBC_SYS_LIB=
59
if test -n "${sys_dir}"; then
60
  LIBC_SYS_LIB=sys/lib.a
61
fi
62
AC_SUBST(LIBC_SYS_LIB)
63
 
64
LIBC_MACHINE_LIB=
65
if test -n "${machine_dir}"; then
66
  LIBC_MACHINE_LIB=machine/lib.a
67
fi
68
AC_SUBST(LIBC_MACHINE_LIB)
69
 
70
AC_OUTPUT(Makefile ctype/Makefile errno/Makefile locale/Makefile misc/Makefile reent/Makefile stdio/Makefile stdlib/Makefile string/Makefile time/Makefile posix/Makefile signal/Makefile syscalls/Makefile unix/Makefile)

powered by: WebSVN 2.1.0

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