[project @ 2002-12-12 14:35:57 by simonmar]
[ghc-hetmet.git] / configure.in
index 04a79c8..01bf39f 100644 (file)
@@ -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