X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=configure.in;h=12626cccf579888022e084726f165f2f4b94f4a9;hb=9558365e84738fdd7b8364e6f18975e79b3db4f7;hp=a7b726652ff8515c54008a13437349ca6cbc6945;hpb=1fc3cac4292027675f5c5d005ffe8715bf03a0b7;p=mono.git diff --git a/configure.in b/configure.in index a7b726652ff..12626cccf57 100644 --- a/configure.in +++ b/configure.in @@ -115,8 +115,6 @@ esac AC_MSG_RESULT(ok) AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes) -AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes) - AC_CHECK_TOOL(CC, gcc, gcc) AC_PROG_CC AM_PROG_CC_STDC @@ -159,6 +157,8 @@ if test "x$lt_cv_prog_gnu_ld" = "xno"; then no_version_script=yes fi +AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes) + AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h sys/un.h) # for mono/mini/tramp-x86.c @@ -327,7 +327,7 @@ if test x$platform_win32 = xno; then dnl *** Checks for the IKVM JNI interface library *** dnl ****************************************************************** AC_ARG_WITH(ikvm-jni, [ --with-ikvm-jni=yes,no build the IKVM JNI interface library],[with_ikvm_jni=$withval],[with_ikvm_jni=yes]) - AC_ARG_WITH(jdk, [ --with-jdk=DIRECTORY use JDK from DIRECTORY],[with_jdk_dir=$withval],[with_jdk_dir=]) + AC_ARG_WITH(jdk, [ --with-jdk=DIRECTORY Use JDK from DIRECTORY],[with_jdk_dir=$withval],[with_jdk_dir=]) ikvm_jni_dir= if test x$with_ikvm_jni = xyes; then @@ -372,7 +372,13 @@ if test x$platform_win32 = xno; then AC_SUBST(ikvm_jni_dir) AC_SUBST(IKVM_JNI_CFLAGS) + AC_CHECK_FUNCS(getgrgid_r) + AC_CHECK_FUNCS(getgrnam_r) + AC_CHECK_FUNCS(getpwnam_r) AC_CHECK_FUNCS(getpwuid_r) + AC_CHECK_FUNCS(getresuid) + AC_CHECK_FUNCS(setresuid) + dnl ****************************************************************** dnl *** Check for large file support *** dnl *** (If we were using autoconf 2.50 we'd use AC_SYS_LARGEFILE) *** @@ -846,8 +852,21 @@ if test x$platform_win32 = xno; then dnl ********************* dnl *** Check for AIO *** dnl ********************* - AC_CHECK_HEADERS(aio.h) + AC_CHECK_HEADERS(aio.h sys/aio.h) AC_CHECK_LIB(rt, aio_read, [ LIBS="$LIBS -lrt" ],) + SIGVAL_PTR="undefined" + if test "$ac_cv_header_aio_h" = "yes" -o "$ac_cv_header_sys_aio_h" = "yes" ; then + AC_CHECK_MEMBER(union sigval.sigval_ptr,SIGVAL_PTR="sigval_ptr",, [ + #include + ]) + AC_CHECK_MEMBER(union sigval.sival_ptr,SIGVAL_PTR="sival_ptr",, [ + #include + ]) + if test "$SIGVAL_PTR" = "undefined" ; then + AC_MSG_ERROR([Unable to detect field name in 'union sigval']) + fi + fi + AC_DEFINE_UNQUOTED(SIGVAL_PTR,$SIGVAL_PTR,[Pointer field name in 'union sigval']) else AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw install?)) AC_CHECK_LIB(psapi, main, LIBS="$LIBS -lpsapi", AC_ERROR(bad mingw install?)) @@ -943,7 +962,8 @@ if test "x$ac_cv_have_dev_random" = "xno" \ *** entropy collection in place, please contact and *** provide information about the system and how to access the random device. *** -*** For those systems who lack a random device, EGD support is forthcoming. +*** Otherwise you can install either egd or prngd and set the environment +*** variable MONO_EGD_SOCKET to point to the daemon's socket to use that. ***]]) fi @@ -1038,10 +1058,11 @@ case "$host" in TARGET=S390; arch_target=s390; ACCESS_UNALIGNED="no" + JIT_SUPPORTED=yes ;; esac -AC_ARG_WITH(jit, [ --with-jit=yes,no If you want to build scripts that default to the JIT],[ +AC_ARG_WITH(jit, [ --with-jit=yes,no If you want to build scripts that default to the JIT],[ jit_wanted=true ]) @@ -1151,6 +1172,8 @@ mono/mini/Makefile mono/profiler/Makefile ikvm-jni/Makefile runtime/Makefile +runtime/net_1_1/Makefile +runtime/net_2_0/Makefile scripts/Makefile man/Makefile web/Makefile