From: Oliver Kurth Date: Fri, 15 Sep 2017 18:23:43 +0000 (-0700) Subject: Support building open-vm-tools only for FreeBSD 10 and later. X-Git-Tag: stable-10.2.0~178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99ee155b5923cc036c7412b494c36e7d7dd38f50;p=thirdparty%2Fopen-vm-tools.git Support building open-vm-tools only for FreeBSD 10 and later. Implemented a check for FreeBSD version and abort if the detected version is less than 10. --- diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac index 8e0c1341f..89d114be2 100644 --- a/open-vm-tools/configure.ac +++ b/open-vm-tools/configure.ac @@ -160,6 +160,11 @@ Please use an older version of open-vm-tools for this system."]) fi fi +if test "x$os" = "xfreebsd" -a "$osVersion" -lt 1000000; then + AC_MSG_ERROR(["This version of open-vm-tools requires FreeBSD version 10 or later. +Please use an older version of open-vm-tools for this system."]) +fi + AC_ARG_WITH([kernel-modules], [AS_HELP_STRING([--with-kernel-modules], [compile and install the kernel modules])],