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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [libgloss/] [wince/] [configure.in] - Blame information for rev 1775

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

Line No. Rev Author Line
1 1005 ivang
dnl Process this file with autoconf to produce a configure script.
2
 
3
AC_PREREQ(2.13)
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
AC_CHECK_PROG(CC, "${host_alias}-gcc", "${host_alias}-gcc")
16
# CFLAGS="$CFLAGS -Xlinker --defsym -Xlinker _main=_WinMain"
17
AC_PROG_CC_GNU
18
AC_CHECK_TOOL(LD, ld, ld)
19
AC_SUBST(LD)
20
AC_PROG_INSTALL
21
case "${target}" in
22
    *arm*-*-*)  LDADD='-lwinsock -lsslsock' ;;
23
    *)          LDADD='-lwinsock'
24
esac
25
AC_SUBST(LDADD)
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.