3 AM_CONFIG_HEADER(config.h)
4 AM_INIT_AUTOMAKE(mono,0.28.99)
15 if test -d $srcdir/libgc ; then
22 # These are the flags that need to be stored in the mono.pc file for
23 # compiling code that will embed Mono
27 AC_SUBST(libmono_cflags)
28 AC_SUBST(libmono_ldflags)
30 # Thread configuration inspired by sleepycat's db
31 AC_MSG_CHECKING([host platform characteristics])
34 *-*-mingw*|*-*-cygwin*)
36 AC_DEFINE(PLATFORM_WIN32)
39 # latest libgc already defines GC_WIN32_THREADS
40 # CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS"
41 CPPFLAGS="$CPPFLAGS -DWIN32_THREADS"
48 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
49 libmono_cflags="-D_REENTRANT"
50 LDFLAGS="$LDFLAGS -pthread"
51 libmono_ldflags="-pthread"
52 AC_DEFINE(NEED_LINK_UNLINK)
54 libgc_threads=pthreads
56 *-*-*freebsd*|*-*-*openbsd*)
58 CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
59 libmono_cflags="-D_THREAD_SAFE"
60 LDFLAGS="$LDFLAGS -pthread"
61 libmono_ldflags="-pthread"
62 AC_DEFINE(NEED_LINK_UNLINK)
63 AC_DEFINE(PTHREAD_POINTER_ID)
65 libgc_threads=pthreads
69 CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions"
70 libmono_cflags="-DMONO_USE_EXC_TABLES -fexceptions -D_REENTRANT"
71 libmono_ldflags="-lpthread"
73 libgc_threads=pthreads
77 CPPFLAGS="$CPPFLAGS -DGC_HPUX_THREADS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT"
78 CFLAGS="$CFLAGS +ESdbgasm"
80 libmono_cflags="-D_REENTRANT"
81 libmono_ldflags="-lpthread"
82 libgc_threads=pthreads
83 AC_DEFINE(NEED_LINK_UNLINK)
87 CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
88 AC_DEFINE(NEED_LINK_UNLINK)
89 libmono_cflags="-D_REENTRANT"
90 libgc_threads=pthreads
94 CPPFLAGS="$CPPFLAGS -no-cpp-precomp -D_THREAD_SAFE"
95 libmono_cflags="-D_THREAD_SAFE"
96 LDFLAGS="$LDFLAGS -pthread"
97 libmono_ldflags="-pthread"
98 AC_DEFINE(NEED_LINK_UNLINK)
99 AC_DEFINE(PTHREAD_POINTER_ID)
105 AC_MSG_WARN([*** Please add $host to configure.in checks!])
111 AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
113 AC_CHECK_TOOL(CC, gcc, gcc)
117 dnl We should use AM_PROG_AS, but it's not available on automake/aclocal 1.4
119 # Set ASFLAGS if not already set.
120 : ${CCASFLAGS='$(CFLAGS)'}
124 AC_CHECK_PROG(BISON, bison,yes,no)
125 if test "x$BISON" = "xno";
127 AC_MSG_ERROR([You need to install bison])
130 dnl may require a specific autoconf version
131 dnl AC_PROG_CC_FOR_BUILD
132 dnl CC_FOR_BUILD not automatically detected
135 if test "x$cross_compiling" = "xyes"; then
139 AC_SUBST(CC_FOR_BUILD)
141 AC_SUBST(BUILD_EXEEXT)
148 AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h sys/un.h)
150 # for mono/mini/tramp-x86.c
151 AC_CHECK_HEADERS(valgrind/memcheck.h)
153 # for mono/metadata/debug-symfile.c
154 AC_CHECK_HEADERS(elf.h)
157 AC_CHECK_HEADERS(wchar.h)
159 # not 64 bit clean in cross-compile
160 AC_CHECK_SIZEOF(void *, 4)
163 if test x"$GCC" = xyes; then
164 WARN='-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings'
166 # The Sun Forte compiler complains about inline functions that access static variables
167 # so disable all inlining.
170 CFLAGS="$CFLAGS -Dinline="
174 CFLAGS="$CFLAGS -g $WARN"
176 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
177 if test "x$PKG_CONFIG" = "xno"; then
178 AC_MSG_ERROR([You need to install pkg-config])
181 dnl for use on the build system
182 dnl pkg-config is stupid
183 BUILD_GLIB_CFLAGS=`$PKG_CONFIG --cflags glib-2.0 gthread-2.0`
184 BUILD_GLIB_LIBS=`$PKG_CONFIG --libs glib-2.0 gthread-2.0`
185 AC_SUBST(BUILD_GLIB_CFLAGS)
186 AC_SUBST(BUILD_GLIB_LIBS)
189 AC_ARG_WITH(crosspkgdir, [ --with-crosspkgdir=/path/to/pkg-config/dir],
190 if test x$with_crosspkgdir = "x"; then
191 if test -s $PKG_CONFIG_PATH; then
192 PKG_PATH=$PKG_CONFIG_PATH
195 PKG_PATH=$with_crosspkgdir
196 PKG_CONFIG_PATH=$PKG_PATH
197 export PKG_CONFIG_PATH
201 ## Versions of dependencies
202 GLIB_REQUIRED_VERSION=1.3.11
204 PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= $GLIB_REQUIRED_VERSION)
206 GLIB_CFLAGS=`$PKG_CONFIG --cflags glib-2.0 gthread-2.0`
207 GLIB_LIBS=`$PKG_CONFIG --libs glib-2.0 gthread-2.0`
208 GMODULE_CFLAGS=`$PKG_CONFIG --cflags gmodule-2.0`
209 GMODULE_LIBS=`$PKG_CONFIG --libs gmodule-2.0`
211 AC_SUBST(GLIB_CFLAGS)
213 AC_SUBST(GMODULE_CFLAGS)
214 AC_SUBST(GMODULE_LIBS)
216 AC_ARG_WITH(gc, [ --with-gc=boehm,included,none],[gc=$with_gc],[gc=$gc_default])
218 # Enable support for NPTL only features like fast thread-local storage
219 # We can't reliably detect nptl at compile & run time
220 # so this option will stay until nptl becomes more widespread
221 AC_ARG_WITH(nptl, [ --with-nptl Enable support for NPTL])
223 # assembly bundle support, see metadata/make-bundle.pl for more info
224 AC_ARG_WITH(bundle, [ --with-bundle=bundle_template],[
225 BUNDLE_FILE=$with_bundle
226 AC_SUBST(BUNDLE_FILE)
227 AC_DEFINE(WITH_BUNDLE)
229 AM_CONDITIONAL(WITH_BUNDLE, test x$with_bundle != xno)
236 AC_CHECK_HEADERS(gc.h gc/gc.h, gc_headers=yes)
237 AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes",,$libdl)
239 if test "x$found_boehm" != "xyes"; then
240 AC_MSG_ERROR("GC requested but libgc not found! Install libgc or run configure with --with-gc=none.")
242 if test "x$gc_headers" != "xyes"; then
243 AC_MSG_ERROR("GC requested but header files not found! You may need to install them by hand.")
246 AC_DEFINE(HAVE_BOEHM_GC)
247 AC_SUBST(HAVE_BOEHM_GC)
248 LIBGC_LIBS="-lgc $libdl"
250 # AC_CHECK_FUNCS does not work for some reason...
251 AC_CHECK_LIB(gc, GC_gcj_malloc, found_gcj_malloc="yes",,$libdl)
252 if test "x$found_gcj_malloc" = "xyes"; then
253 AC_DEFINE(HAVE_GC_GCJ_MALLOC)
258 AC_CONFIG_SUBDIRS(libgc)
265 LIBGC_CFLAGS='-I$(top_srcdir)/libgc/include'
266 LIBGC_LIBS='$(top_builddir)/libgc/libmonogc.la'
268 AC_DEFINE(HAVE_BOEHM_GC)
269 AC_SUBST(HAVE_BOEHM_GC)
272 AC_DEFINE(USE_INCLUDED_LIBGC)
274 # The included libgc contains GCJ support
275 AC_DEFINE(HAVE_GC_GCJ_MALLOC)
279 AC_MSG_WARN("Compiling mono without GC.")
282 AC_MSG_ERROR([Invalid argument to --with-gc.])
286 we_are_embedded_in_mono=yes
287 export we_are_embedded_in_mono
290 AM_CONDITIONAL(INCLUDED_LIBGC, test x$use_included_gc = xyes)
291 AC_SUBST(LIBGC_CFLAGS)
296 dnl End of libgc checks
299 if test x$platform_win32 = xno; then
300 dnl ******************************************************************
301 dnl *** Check for large file support ***
302 dnl *** (If we were using autoconf 2.50 we'd use AC_SYS_LARGEFILE) ***
303 dnl ******************************************************************
305 # Check that off_t can represent 2**63 - 1 correctly, working around
306 # potential compiler bugs. Defines LARGE_FILE_SUPPORT, adds $1 to
307 # CPPFLAGS and sets $large_offt to yes if the test succeeds
309 AC_DEFUN(LARGE_FILES, [
310 large_CPPFLAGS=$CPPFLAGS
311 CPPFLAGS="$CPPFLAGS $1"
313 #include <sys/types.h>
315 #define BIG_OFF_T (((off_t)1<<62)-1+((off_t)1<<62))
318 int big_off_t=((BIG_OFF_T%2147483629==721) &&
319 (BIG_OFF_T%2147483647==1));
328 AC_DEFINE(HAVE_LARGE_FILE_SUPPORT)
329 large_CPPFLAGS="$large_CPPFLAGS $1"
334 CPPFLAGS=$large_CPPFLAGS
337 AC_MSG_CHECKING(if off_t is 64 bits wide)
339 if test $large_offt = no; then
340 AC_MSG_CHECKING(if _FILE_OFFSET_BITS=64 gives 64 bit off_t)
341 LARGE_FILES("-D_FILE_OFFSET_BITS=64")
343 if test $large_offt = no; then
344 AC_MSG_WARN([No 64 bit file size support available])
347 dnl *****************************
348 dnl *** Checks for libsocket ***
349 dnl *****************************
350 AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket")
352 dnl *******************************
353 dnl *** Checks for MSG_NOSIGNAL ***
354 dnl *******************************
355 AC_MSG_CHECKING(for MSG_NOSIGNAL)
356 AC_TRY_COMPILE([#include <sys/socket.h>], [
357 int f = MSG_NOSIGNAL;
361 AC_DEFINE(HAVE_MSG_NOSIGNAL)
363 # We'll have to use signals
367 dnl *****************************
368 dnl *** Checks for SOL_IP ***
369 dnl *****************************
370 AC_MSG_CHECKING(for SOL_IP)
371 AC_TRY_COMPILE([#include <netdb.h>], [
376 AC_DEFINE(HAVE_SOL_IP)
378 # We'll have to use getprotobyname
382 dnl *****************************
383 dnl *** Checks for SOL_IPV6 ***
384 dnl *****************************
385 AC_MSG_CHECKING(for SOL_IPV6)
386 AC_TRY_COMPILE([#include <netdb.h>], [
387 int level = SOL_IPV6;
391 AC_DEFINE(HAVE_SOL_IPV6)
393 # We'll have to use getprotobyname
397 dnl *****************************
398 dnl *** Checks for SOL_TCP ***
399 dnl *****************************
400 AC_MSG_CHECKING(for SOL_TCP)
401 AC_TRY_COMPILE([#include <netdb.h>], [
406 AC_DEFINE(HAVE_SOL_TCP)
408 # We'll have to use getprotobyname
412 dnl *****************************
413 dnl *** Checks for IP_PKTINFO ***
414 dnl *****************************
415 AC_MSG_CHECKING(for IP_PKTINFO)
416 AC_TRY_COMPILE([#include <netdb.h>], [
417 int level = IP_PKTINFO;
421 AC_DEFINE(HAVE_IP_PKTINFO)
426 dnl *********************************
427 dnl *** Check for struct ip_mreqn ***
428 dnl *********************************
429 AC_MSG_CHECKING(for struct ip_mreqn)
430 AC_TRY_COMPILE([#include <netinet/in.h>], [
431 struct ip_mreqn mreq;
432 mreq.imr_address.s_addr = 0;
436 AC_DEFINE(HAVE_STRUCT_IP_MREQN)
438 # We'll just have to try and use struct ip_mreq
440 AC_MSG_CHECKING(for struct ip_mreq)
441 AC_TRY_COMPILE([#include <netinet/in.h>], [
443 mreq.imr_interface.s_addr = 0;
447 AC_DEFINE(HAVE_STRUCT_IP_MREQ)
449 # No multicast support
454 dnl **********************************
455 dnl *** Check for gethostbyname2_r ***
456 dnl **********************************
457 AC_MSG_CHECKING(for gethostbyname2_r)
458 AC_TRY_LINK([#include <netdb.h>], [
459 gethostbyname2_r(NULL,0,NULL,NULL,0,NULL,NULL);
463 AC_DEFINE(HAVE_GETHOSTBYNAME2_R)
466 dnl *****************************
467 dnl *** Checks for libnsl ***
468 dnl *****************************
469 AC_CHECK_LIB(nsl, gethostbyaddr, LIBS="$LIBS -lnsl")
471 AC_CHECK_FUNCS(inet_pton inet_aton)
473 dnl ***********************************************
474 dnl *** Checks for size of sockaddr_un.sun_path ***
475 dnl ***********************************************
476 # AC_CHECK_SIZEOF can't cope with struct members :-(
477 AC_MSG_CHECKING(size of sockaddr_un.sun_path)
478 AC_CACHE_VAL(cv_mono_sizeof_sunpath,
480 #include <sys/types.h>
485 struct sockaddr_un sock_un;
486 FILE *f=fopen("conftestval", "w");
488 fprintf(f, "%d\n", sizeof(sock_un.sun_path));
491 ], cv_mono_sizeof_sunpath=`cat conftestval`,
492 cv_mono_sizeof_sunpath=0,
493 cv_mono_sizeof_sunpath=0)])dnl
494 AC_MSG_RESULT($cv_mono_sizeof_sunpath)
495 AC_DEFINE_UNQUOTED(MONO_SIZEOF_SUNPATH, $cv_mono_sizeof_sunpath)
497 dnl *************************************
498 dnl *** Checks for zero length arrays ***
499 dnl *************************************
500 AC_MSG_CHECKING(whether $CC supports zero length arrays)
508 AC_DEFINE_UNQUOTED(MONO_ZERO_ARRAY_LENGTH, 0)
511 AC_DEFINE_UNQUOTED(MONO_ZERO_ARRAY_LENGTH, 1)
514 dnl *****************************
515 dnl *** Checks for libxnet ***
516 dnl *****************************
519 AC_MSG_CHECKING(for Solaris XPG4 support)
520 if test -f /usr/lib/libxnet.so; then
521 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500"
522 CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
523 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED=1"
530 if test "$GCC" = "yes"; then
531 CFLAGS="$CFLAGS -Wno-char-subscripts"
536 dnl *****************************
537 dnl *** Checks for libpthread ***
538 dnl *****************************
539 AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
540 AC_CHECK_HEADERS(pthread.h)
541 AC_CHECK_FUNCS(pthread_mutex_timedlock)
542 AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
543 AC_TRY_COMPILE([ #include <pthread.h>], [
544 pthread_mutexattr_t attr;
545 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
550 AC_MSG_WARN(Using mono_mutex_t for recursive mutexes)
551 AC_DEFINE(USE_MONO_MUTEX)
553 AC_CHECK_FUNCS(pthread_attr_setstacksize)
555 dnl ***********************************
556 dnl *** Checks for working __thread ***
557 dnl ***********************************
558 AC_MSG_CHECKING(for working __thread)
563 static int res1, res2;
565 void thread_main (void *arg)
580 pthread_create (&t1, NULL, thread_main, 1);
581 pthread_create (&t2, NULL, thread_main, 2);
583 pthread_join (t1, NULL);
584 pthread_join (t2, NULL);
586 return !(res1 + res2 == 2);
589 if test "x$with_nptl" = "x"; then
590 AC_MSG_RESULT(disabled)
593 AC_DEFINE(HAVE_KW_THREAD)
599 dnl ********************************
600 dnl *** Checks for semaphore lib ***
601 dnl ********************************
602 AC_CHECK_LIB(rt, sem_init, LIBS="$LIBS -lrt")
604 dnl ********************************
605 dnl *** Checks for timezone stuff **
606 dnl ********************************
607 AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,
613 ], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no))
614 if test $ac_cv_struct_tm_gmtoff = yes; then
615 AC_DEFINE(HAVE_TM_GMTOFF)
617 AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone,
622 ], ac_cv_var_timezone=yes, ac_cv_var_timezone=no))
623 if test $ac_cv_var_timezone = yes; then
624 AC_DEFINE(HAVE_TIMEZONE)
626 AC_ERROR(unable to find a way to determine timezone)
630 dnl *********************************
631 dnl *** Checks for math functions ***
632 dnl *********************************
634 AC_CHECK_FUNCS(finite, , AC_MSG_CHECKING(for finite in math.h)
635 AC_TRY_LINK([#include <math.h>],
637 AC_DEFINE(HAVE_FINITE) AC_MSG_RESULT(yes),
639 AC_CHECK_FUNCS(isfinite, , AC_MSG_CHECKING(for isfinite in math.h)
640 AC_TRY_LINK([#include <math.h>],
642 AC_DEFINE(HAVE_ISFINITE) AC_MSG_RESULT(yes),
645 dnl ****************************************************************
646 dnl *** Checks for working poll() (macosx defines it but doesn't ***
647 dnl *** have it in the library (duh)) ***
648 dnl ****************************************************************
651 dnl *************************
652 dnl *** Check for signbit ***
653 dnl *************************
654 AC_MSG_CHECKING(for signbit)
655 AC_TRY_COMPILE([#include <math.h>], [
656 int s = signbit(1.0);
659 AC_DEFINE(HAVE_SIGNBIT)
664 AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw install?))
665 AC_CHECK_LIB(psapi, main, LIBS="$LIBS -lpsapi", AC_ERROR(bad mingw install?))
668 dnl ****************************
669 dnl *** Look for /dev/random ***
670 dnl ****************************
672 AC_MSG_CHECKING([if usage of random device is requested])
673 AC_ARG_ENABLE(dev-random,
674 [ --disable-dev-random disable the use of the random device],
675 try_dev_random=$enableval, try_dev_random=yes)
676 AC_MSG_RESULT($try_dev_random)
680 NAME_DEV_RANDOM="/dev/srandom"
683 dnl Win32 does not have /dev/random, they have their own method...
685 *-*-mingw*|*-*-cygwin*)
686 ac_cv_have_dev_random = no
689 dnl Everywhere else, it's /dev/random
692 NAME_DEV_RANDOM="/dev/random"
696 AC_DEFINE_UNQUOTED(NAME_DEV_RANDOM, "$NAME_DEV_RANDOM")
698 dnl Now check if the device actually exists
700 if test "x$try_dev_random" = "xyes"; then
701 AC_CACHE_CHECK(for random device, ac_cv_have_dev_random,
702 [if test -r "$NAME_DEV_RANDOM" ; then
703 ac_cv_have_dev_random=yes; else ac_cv_have_dev_random=no; fi])
704 if test "x$ac_cv_have_dev_random" = "xyes"; then
705 AC_DEFINE(HAVE_CRYPT_RNG)
708 AC_MSG_CHECKING(for random device)
709 ac_cv_have_dev_random=no
710 AC_MSG_RESULT(has been disabled)
713 if test "x$platform_win32" = "xyes"; then
714 AC_DEFINE(HAVE_CRYPT_RNG)
717 if test "x$ac_cv_have_dev_random" = "xno" \
718 && test "x$platform_win32" = "xno"; then
721 *** A system-provided entropy source was not found on this system.
722 *** Because of this, the System.Security.Cryptography random number generator
723 *** will throw a NotImplemented exception.
725 *** If you are seeing this message, and you know your system DOES have an
726 *** entropy collection in place, please contact <crichton@gimp.org> and
727 *** provide information about the system and how to access the random device.
729 *** For those systems who lack a random device, EGD support is forthcoming.
733 AC_MSG_CHECKING([if inter-process shared handles are requested])
734 AC_ARG_ENABLE(shared-handles, [ --disable-shared-handles disable inter-process shared handles], try_shared_handles=$enableval, try_shared_handles=yes)
735 AC_MSG_RESULT($try_shared_handles)
736 if test "x$try_shared_handles" != "xyes"; then
737 AC_DEFINE(DISABLE_SHARED_HANDLES)
738 AC_SUBST(DISABLE_SHARED_HANDLES)
744 AC_PATH_PROG(ICU_CONFIG, icu-config, no)
745 if test "x$ICU_CONFIG" = "xno" -o ! -x "$ICU_CONFIG"; then
746 AC_MSG_WARN([Only invariant locale available; install ICU for I18N support])
748 enable_icu="yes. Version: `$ICU_CONFIG --version`"
750 ICU_CFLAGS=`$ICU_CONFIG --cppflags`
751 ICU_LIBS=`$ICU_CONFIG --ldflags`
757 ACCESS_UNALIGNED="yes"
763 # mips-sgi-irix5.* | mips-sgi-irix6.*)
765 # ACCESS_UNALIGNED="no"
775 ACCESS_UNALIGNED="no"
777 # alpha*-*-linux* | alpha*-*-osf*)
779 # ACCESS_UNALIGNED="no"
781 # ia64-*-linux* | ia64-*-hpux*)
785 # ACCESS_UNALIGNED="no";
787 # linux*) LIBC="libc.so.6.1";;
788 # hpux*) LIBC="libc.so.1";;
794 hppa2.0w-hp-hpux11.00 | hppa64-hp-hpux11.00)
797 ACCESS_UNALIGNED="no"
799 macppc-*-openbsd* | powerpc-*-linux* | powerpc-*-openbsd* | \
800 powerpc-*-sysv* | powerpc-*-darwin*)
805 arm-*-linux-* | armv4l-*-linux-*)
808 ACCESS_UNALIGNED="no"
813 ACCESS_UNALIGNED="no"
817 if test ${TARGET} = ARM; then
818 dnl ******************************************
819 dnl *** Check to see what FPU is available ***
820 dnl ******************************************
821 AC_MSG_CHECKING(which FPU to use)
824 __asm__ ("ldfd f0, [r0]");
827 __asm__ ("fldd d0, [r0]");
828 ], fpu=VFP, fpu=NONE)
832 CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu"
836 if test ${TARGET} = unknown; then
837 CPPFLAGS="$CPPFLAGS -DNO_PORT"
838 AC_MSG_WARN("mono has not been ported to $host: some things may not work.")
841 if test ${ACCESS_UNALIGNED} = no; then
842 CPPFLAGS="$CPPFLAGS -DNO_UNALIGNED_ACCESS"
845 AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes)
846 AM_CONDITIONAL(MIPS_SGI, test ${TARGET}${ac_cv_prog_gcc} = MIPSno)
847 AM_CONDITIONAL(SPARC, test x$TARGET = xSPARC)
848 AM_CONDITIONAL(X86, test x$TARGET = xX86)
849 AM_CONDITIONAL(ALPHA, test x$TARGET = xALPHA)
850 AM_CONDITIONAL(IA64, test x$TARGET = xIA64)
851 AM_CONDITIONAL(M68K, test x$TARGET = xM68K)
852 AM_CONDITIONAL(POWERPC, test x$TARGET = xPOWERPC)
853 AM_CONDITIONAL(ARM, test x$TARGET = xARM)
854 AM_CONDITIONAL(S390, test x$TARGET = xS390)
855 AM_CONDITIONAL(HPPA, test x$TARGET = xHPPA)
857 AM_CONDITIONAL(JIT_SUPPORTED, test x$JIT_SUPPORTED = xyes)
861 AC_SUBST(arch_target)
871 mono/metadata/Makefile
876 mono/os/win32/Makefile
877 mono/os/unix/Makefile
878 mono/arch/x86/Makefile
879 mono/arch/hppa/Makefile
880 mono/arch/ppc/Makefile
881 mono/arch/sparc/Makefile
882 mono/arch/s390/Makefile
883 mono/arch/arm/Makefile
884 mono/arch/alpha/Makefile
885 mono/interpreter/Makefile
887 mono/tests/tests-config
888 mono/benchmark/Makefile
889 mono/monoburg/Makefile
890 mono/monograph/Makefile
891 mono/io-layer/Makefile
892 mono/handles/Makefile
894 mono/profiler/Makefile