From: Johnathan Corgan Date: Thu, 20 Aug 2009 14:11:12 +0000 (-0700) Subject: Added host_os check for component vrt (Linux only for now.) X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f73822312bae0c1698988b63951c4a8e92e7f3e4;p=debian%2Fgnuradio Added host_os check for component vrt (Linux only for now.) --- 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)