4e71dc1e3a
* configure.in: Modified to support autoconf 2.59. * */configure.in: Ditto. * configure: Regenerated. * */configure: Ditto. * wince/aclocal.m4: Ditto. * acinclude.m4: New file. * aclocal.m4: Ditto. * arm/aclocal.m4: Ditto. * cris/aclocal.m4: Ditto. * crx/aclocal.m4: Ditto. * d30v/aclocal.m4: Ditto. * fr30/aclocal.m4: Ditto. * frv/aclocal.m4: Ditto. * hp74x/aclocal.m4: Ditto. * i386/aclocal.m4: Ditto. * i960/aclocal.m4: Ditto. * iq2000/aclocal.m4: Ditto. * libnosys/aclocal.m4: Ditto. * m32c/aclocal.m4: Ditto. * m32r/aclocal.m4: Ditto. * m68hc11/aclocal.m4: Ditto. * m68k/aclocal.m4: Ditto. * mcore/aclocal.m4: Ditto. * mips/aclocal.m4: Ditto. * mn10200/aclocal.m4: Ditto. * mn10300/aclocal.m4: Ditto. * mt/aclocal.m4: Ditto. * pa/aclocal.m4: Ditto. * rs6000/aclocal.m4: Ditto. * sparc/aclocal.m4: Ditto. * sparc/libsys/aclocal.m4: Ditto. * xstormy16/aclocal.m4: Ditto.
35 lines
789 B
Plaintext
35 lines
789 B
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.59)
|
|
|
|
AC_INIT(Makefile.in)
|
|
AC_CANONICAL_SYSTEM
|
|
AC_ARG_PROGRAM
|
|
AM_INIT_AUTOMAKE(wince-stub, 1.0)
|
|
AM_MAINTAINER_MODE
|
|
|
|
cross_compiling=yes
|
|
program_transform_name=s,^,@target_alias@-,;
|
|
|
|
: ${CFLAGS='-O2'}
|
|
LIB_AC_PROG_CC
|
|
# CFLAGS="$CFLAGS -Xlinker --defsym -Xlinker _main=_WinMain"
|
|
AC_CHECK_TOOL(LD, ld, ld)
|
|
AC_SUBST(LD)
|
|
AC_PROG_INSTALL
|
|
case "${target}" in
|
|
*arm*-*-*) LDADD='-lwinsock -lsslsock' ;;
|
|
*) LDADD='-lwinsock'
|
|
esac
|
|
AC_SUBST(LDADD)
|
|
LIB_AM_PROG_AS
|
|
#
|
|
# The following is sort of a kludge but we *know* that we need
|
|
# an executable extension and, currently, the sh-pe-gcc compiler
|
|
# doesn't play well with configure, so, set a "cache" entry.
|
|
#
|
|
: ${ac_cv_exeext='.exe'}
|
|
AC_EXEEXT
|
|
|
|
AC_OUTPUT([Makefile])
|