Last change
on this file since 680 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
789 bytes
|
Rev | Line | |
---|
[444] | 1 | 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]) |
---|
Note: See
TracBrowser
for help on using the repository browser.