From a82f6e047bac43c2368f39098333cc3c5b2ae5c8 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Mon, 3 Jun 2002 11:58:53 +0000 Subject: DHA kernel module is not build by default now. CVS patchset: 1993 CVS date: 2002/06/03 11:58:53 --- configure.in | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 881db77d9..ba8735c7b 100644 --- a/configure.in +++ b/configure.in @@ -451,6 +451,8 @@ dnl Vidix/libdha dnl AC_ARG_ENABLE(vidix, [ --disable-vidix Do not build vidix support], check_vidix=no, check_vidix=yes) +AC_ARG_ENABLE(dha-kmod, [ --enable-dha-kmod Build DHA kernel module], + ,,enable_dha_kmod="yes") enable_vidix="no" @@ -463,13 +465,25 @@ if test x"$check_vidix" = "xyes"; then ;; *-freebsd*) enable_vidix="yes" + enable_dha_kmod="no" + ;; + *) + enable_dha_kmod="no" ;; esac fi AC_MSG_RESULT($enable_vidix) +AC_MSG_CHECKING(for DHA linux kernel module build) +if test x"$enable_dha_kmod" = "xyes"; then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + AM_CONDITIONAL(HAVE_VIDIX, test x"$enable_vidix" = "xyes") AM_CONDITIONAL(HAVE_LINUX, test x"$enable_linux" = "xyes") +AM_CONDITIONAL(BUILD_DHA_KMOD, test x"$enable_dha_kmod" = "xyes") AC_CHECK_PROG(MKNOD, mknod, mknod, no) AC_CHECK_PROG(DEPMOD, depmod, depmod, no) @@ -1089,7 +1103,11 @@ if test x"$have_dxr3" = "xyes"; then fi fi if test x"$enable_vidix" = "xyes"; then - echo " - vidix" + if test x"$enable_dha_kmod" = "xyes"; then + echo " - vidix (dhahelper)" + else + echo " - vidix" + fi fi echo "" -- cgit v1.2.3