From f73822312bae0c1698988b63951c4a8e92e7f3e4 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Thu, 20 Aug 2009 07:11:12 -0700 Subject: [PATCH] Added host_os check for component vrt (Linux only for now.) --- config/grc_vrt.m4 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config/grc_vrt.m4 b/config/grc_vrt.m4 index d473c558..982c8863 100644 --- a/config/grc_vrt.m4 +++ b/config/grc_vrt.m4 @@ -34,6 +34,19 @@ AC_DEFUN([GRC_VRT],[ VRT_LA="\${abs_top_builddir}/vrt/lib/libvrt.la" fi + # Test host OS compatibility + AC_MSG_CHECKING([whether host_os is linux*]) + case "$host_os" in + linux*) + AC_MSG_RESULT([yes]) + ;; + *) + AC_MSG_RESULT([no]) + AC_MSG_NOTICE([libvrt currently requires Linux host OS, not found]) + passed="no" + ;; + esac + dnl Include the vrt INCLUDES and LA AC_SUBST(VRT_INCLUDES) AC_SUBST(VRT_LA) -- 2.47.2