*** ./Modules/Platform/AIX.cmake.ORIG Thu Nov 15 23:49:55 2012 --- ./Modules/Platform/AIX.cmake Thu Nov 15 23:50:18 2012 *************** *** 8,14 **** # -Wl,-blibpath:/usr/lib:/lib whether RPATH support is on or not. # When our own RPATH is to be added it may be inserted before the # "always" paths. ! set(CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH /usr/lib /lib) # Files named "libfoo.a" may actually be shared libraries. set_property(GLOBAL PROPERTY TARGET_ARCHIVES_MAY_BE_SHARED_LIBS 1) --- 8,14 ---- # -Wl,-blibpath:/usr/lib:/lib whether RPATH support is on or not. # When our own RPATH is to be added it may be inserted before the # "always" paths. ! set(CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH /opt/freeware/lib /usr/lib /lib) # Files named "libfoo.a" may actually be shared libraries. set_property(GLOBAL PROPERTY TARGET_ARCHIVES_MAY_BE_SHARED_LIBS 1) *** ./Source/kwsys/SystemInformation.cxx.ORIG Wed Jun 26 22:20:10 2013 --- ./Source/kwsys/SystemInformation.cxx Wed Jun 26 22:31:51 2013 *************** *** 1349,1355 **** this->QueryHPUXMemory(); #elif defined(__linux) this->QueryLinuxMemory(); ! #elif defined(_AIX) this->QueryAIXMemory(); #else this->QueryMemory(); --- 1349,1355 ---- this->QueryHPUXMemory(); #elif defined(__linux) this->QueryLinuxMemory(); ! #elif defined(_AIX) && defined(_AIX52) this->QueryAIXMemory(); #else this->QueryMemory(); *************** *** 3573,3579 **** bool SystemInformationImplementation::QueryAIXMemory() { ! #if defined(_AIX) long c = sysconf(_SC_AIX_REALMEM); if (c <= 0) { --- 3573,3579 ---- bool SystemInformationImplementation::QueryAIXMemory() { ! #if defined(_AIX) && defined(_AIX52) long c = sysconf(_SC_AIX_REALMEM); if (c <= 0) {