source: trunk/libs/newlib/src/libgloss/wince/configure.in @ 546

Last change on this file since 546 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 789 bytes
RevLine 
[444]1dnl Process this file with autoconf to produce a configure script.
2
3AC_PREREQ(2.59)
4
5AC_INIT(Makefile.in)
6AC_CANONICAL_SYSTEM
7AC_ARG_PROGRAM
8AM_INIT_AUTOMAKE(wince-stub, 1.0)
9AM_MAINTAINER_MODE
10
11cross_compiling=yes
12program_transform_name=s,^,@target_alias@-,;
13
14: ${CFLAGS='-O2'}
15LIB_AC_PROG_CC
16# CFLAGS="$CFLAGS -Xlinker --defsym -Xlinker _main=_WinMain"
17AC_CHECK_TOOL(LD, ld, ld)
18AC_SUBST(LD)
19AC_PROG_INSTALL
20case "${target}" in
21    *arm*-*-*)  LDADD='-lwinsock -lsslsock' ;;
22    *)          LDADD='-lwinsock'
23esac
24AC_SUBST(LDADD)
25LIB_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'}
32AC_EXEEXT
33
34AC_OUTPUT([Makefile])
Note: See TracBrowser for help on using the repository browser.