Fix Solaris/intel build (bb #1878).

0.96
Török Edvin 15 years ago
parent 66d21c0b76
commit ef1cebd211
  1. 2
      libclamav/c++/configure
  2. 2
      libclamav/c++/configure.ac
  3. 2
      libclamav/c++/llvm/lib/System/Unix/Process.inc

@ -3783,7 +3783,7 @@ if test "$cxxset" != set; then
fi
case "$target_os" in
solaris*)
CXXFLAGS="$CXXFLAGS -include llvm/System/Solaris.h"
CXXFLAGS="$CXXFLAGS -include llvm/include/llvm/System/Solaris.h"
{ $as_echo "$as_me:${as_lineno-$LINENO}: Building on Solaris" >&5
$as_echo "$as_me: Building on Solaris" >&6;}
;;

@ -32,7 +32,7 @@ if test "$cxxset" != set; then
fi
case "$target_os" in
solaris*)
CXXFLAGS="$CXXFLAGS -include llvm/System/Solaris.h"
CXXFLAGS="$CXXFLAGS -include llvm/include/llvm/System/Solaris.h"
AC_MSG_NOTICE([Building on Solaris])
;;
esac

@ -59,6 +59,8 @@ Process::GetPageSize()
return static_cast<unsigned>(page_size);
}
/* ClamAV: we don't link with -lmalloc */
#undef HAVE_MALLINFO
size_t Process::GetMallocUsage() {
#if defined(HAVE_MALLINFO)
struct mallinfo mi;

Loading…
Cancel
Save