X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.in;h=01bf39fd4b6112a7cee00df39a93fcb16434c46b;hb=16d34c16e19ad0cd5e9b5f0ca8004689c277d52d;hp=04a79c82d581473135d9e4008c780bb0e3fc99a1;hpb=31442604c1d4ee4102a459a64e4afc39c49fc8a2;p=ghc-hetmet.git diff --git a/configure.in b/configure.in index 04a79c8..01bf39f 100644 --- a/configure.in +++ b/configure.in @@ -242,6 +242,15 @@ m68k-*-openbsd*) HostVendor_CPP='unknown' HostOS_CPP='openbsd' ;; +m68k-apple-netbsd*) + HostPlatform=m68k-apple-netbsd + TargetPlatform=m68k-apple-netbsd + BuildPlatform=m68k-apple-netbsd + HostPlatform_CPP='m68k_apple_netbsd' + HostArch_CPP='m68k' + HostVendor_CPP='apple' + HostOS_CPP='netbsd' + ;; m68k-sun-sunos4*) HostPlatform=m68k-sun-sunos4 TargetPlatform=m68k-sun-sunos4 #hack @@ -1043,7 +1052,7 @@ dnl ################################################################ dnl ** check for libdl & RTLD_NEXT dnl (Mac OS X only) ... but don't check if we already have the -dl HaskellSupport.framework +dnl HaskellSupport.framework if test $HaveFrameworkHaskellSupport = YES; then HaveLibDL = NO @@ -1162,6 +1171,14 @@ case "$cv_func_usleep_return_type" in esac dnl -------------------------------------------------- +dnl * test for in_addr_t +dnl -------------------------------------------------- +AC_MSG_CHECKING(for in_addr_t in netinet/in.h) +AC_EGREP_HEADER(in_addr_t, netinet/in.h, + [ AC_DEFINE(HAVE_IN_ADDR_T) AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no)) + +dnl -------------------------------------------------- dnl * test for GTK+ dnl -------------------------------------------------- @@ -1209,15 +1226,6 @@ errprint(if you are using 2.13 or earlier, you may get a (harmless) warning mess dnl ** check for leading underscores in symbol names FPTOOLS_UNDERSCORE -dnl ** how is the end of text section signalled? -FPTOOLS_END_TEXT_SECTION - -dnl ** how is the end of data section signalled? -FPTOOLS_END_DATA_SECTION - -dnl ** code before data? -FPTOOLS_CODE_BEFORE_DATA - dnl ** check for ld, and whether ld has -x option AC_PATH_PROG(LdCmdRaw, ld) case $HostOS_CPP in