OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [wince/] [configure.in] - Blame information for rev 158

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
dnl Process this file with autoconf to produce a configure script.
2
 
3
AC_PREREQ(2.59)
4
 
5
AC_INIT(Makefile.in)
6
AC_CANONICAL_SYSTEM
7
AC_ARG_PROGRAM
8
AM_INIT_AUTOMAKE(wince-stub, 1.0)
9
AM_MAINTAINER_MODE
10
 
11
cross_compiling=yes
12
program_transform_name=s,^,@target_alias@-,;
13
 
14
: ${CFLAGS='-O2'}
15
LIB_AC_PROG_CC
16
# CFLAGS="$CFLAGS -Xlinker --defsym -Xlinker _main=_WinMain"
17
AC_CHECK_TOOL(LD, ld, ld)
18
AC_SUBST(LD)
19
AC_PROG_INSTALL
20
case "${target}" in
21
    *arm*-*-*)  LDADD='-lwinsock -lsslsock' ;;
22
    *)          LDADD='-lwinsock'
23
esac
24
AC_SUBST(LDADD)
25
LIB_AM_PROG_AS
26
#
27
# The following is sort of a kludge but we *know* that we need
28
# an executable extension and, currently, the sh-pe-gcc compiler
29
# doesn't play well with configure, so, set a "cache" entry.
30
#
31
: ${ac_cv_exeext='.exe'}
32
AC_EXEEXT
33
 
34
AC_OUTPUT([Makefile])

powered by: WebSVN 2.1.0

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