]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Support building open-vm-tools only for FreeBSD 10 and later.
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:43 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:43 +0000 (11:23 -0700)
Implemented a check for FreeBSD version and abort if the
detected version is less than 10.

open-vm-tools/configure.ac

index 8e0c1341fc8941b477d7b98d74b0678d7527bfef..89d114be2d0f8e1da2d789645dec11e0be23363b 100644 (file)
@@ -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])],