2 # Check configure option --with-kernel=[yes|no|DIR] taking into account that
3 # MED_WITH_KERNEL may be already set during build_configure,
4 # Set MED_WITH_KERNEL to yes|no
6 # Author : Edawrd AGAPOV (OCC, 2005)
9 AC_DEFUN([WITH_KERNEL],[
12 [ --with-kernel default=yes ],
13 withkernel="$withval",withkernel="${MED_WITH_KERNEL}")
17 # AC_MSG_RESULT(************************************************)
18 # AC_MSG_RESULT(******* WITHOUT KERNEL configuration *******)
19 # AC_MSG_RESULT(************************************************)
20 MED_WITH_KERNEL="no";;
25 AC_SUBST(MED_WITH_KERNEL)