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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [configure.in] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
dnl This is the newlib/libc/sys/linux configure.in file.
2
dnl Process this file with autoconf to produce a configure script.
3
 
4
AC_PREREQ(2.59)
5
AC_INIT([newlib],[NEWLIB_VERSION])
6
AC_CONFIG_SRCDIR([linux.c])
7
 
8
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
9
AC_CONFIG_AUX_DIR(../../../..)
10
 
11
NEWLIB_CONFIGURE(../../..)
12
 
13
dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and
14
dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first
15
dnl line of the macro which fail because appropriate LDFLAGS are not set.
16
_LT_DECL_SED
17
AC_PROG_AWK
18
if test "${use_libtool}" = "yes"; then
19
AC_LIBTOOL_WIN32_DLL
20
AM_PROG_LIBTOOL
21
fi
22
 
23
AC_CONFIG_SUBDIRS(machine)
24
 
25
if test "${newlib_multithread}" = "yes"; then
26
AC_CONFIG_SUBDIRS(linuxthreads)
27
fi
28
 
29
LINUX_MACH_LIB=
30
if test -n "${machine_dir}"; then
31
  if test "${use_libtool}" = "yes"; then
32
    LINUX_MACH_LIB=machine/${machine_dir}/liblinux${machine_dir}.${aext}
33
  else
34
    LINUX_MACH_LIB=machine/lib.${aext}
35
  fi
36
fi
37
AC_SUBST(LINUX_MACH_LIB)
38
 
39
EXTRA_SUBDIRS=
40
EXTRA_SUBLIBS=
41
 
42
if test "x${newlib_elix_level}" = "x1"; then
43
EXTRA_SUBDIRS=linuxthreads net
44
else
45
EXTRA_SUBDIRS="linuxthreads net intl iconv dl"
46
EXTRA_SUBLIBS="net/libnet.la intl/libintl.la iconv/libiconv.la dl/libdl.la"
47
fi
48
 
49
AC_SUBST(EXTRA_SUBDIRS)
50
AC_SUBST(EXTRA_SUBLIBS)
51
 
52
AC_CONFIG_FILES([Makefile intl/Makefile net/Makefile iconv/Makefile dl/Makefile cmath/Makefile argp/Makefile])
53
AC_OUTPUT

powered by: WebSVN 2.1.0

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