  
    FOREACH(sourcefile ${single_source_programs})
      STRING(REGEX REPLACE ".*/([^\\]+)\\.c" "\\1" proggie ${sourcefile})
-@@ -362,6 +474,9 @@ IF(APR_BUILD_TESTAPR)
+@@ -362,6 +480,9 @@ IF(APR_BUILD_TESTAPR)
      testmutexscope
      testucs
    )

 
 IF(INSTALL_PDB)
   INSTALL(FILES ${install_bin_pdb}
@@ -393,7 +509,7 @@ IF(INSTALL_PDB)
           CONFIGURATIONS RelWithDebInfo Debug)
 ENDIF()
 

+unset(inline)
+########################################
+set(APR_ALLOCATOR_USES_MMAP FALSE) #TODO: determine
+if(${CMAKE_SYSTEM_NAME} STREQUAL SunOS)
+  set(APR_INT64_STRFN strtoll) #TODO: determine
+  set(APR_OFF_T_STRFN strtoll) #TODO: determine
+else()
+  set(APR_INT64_STRFN strtol) #TODO: determine
+  set(APR_OFF_T_STRFN strtol) #TODO: determine
+endif()
+set(CRAY_STACKSEG_END FALSE) #TODO: determine
+set(C_ALLOCA FALSE) #TODO: determine
+list(APPEND cmakedefine
