ENSC_PATHPROG(RMMOD, rmmod)
ENSC_PATHPROG(VCONFIG, vconfig,, [See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution])
ENSC_PATHPROG(WGET, wget)
-ENSC_PATHPROG(IONICE, ionice,, [This is usually shipped in the 'util-linux(-ng)' or 'schedutils' package])
+ENSC_PATHPROG(IONICE, ionice, [], [This is usually shipped in the 'util-linux(-ng)' or 'schedutils' package])
ENSC_PATHPROG(FILE, file, [file])
ENSC_PATHPROG(GZIP, gzip, [gzip])
ENSC_PATHPROG(BZIP2, bzip2, [bzip2])
ENSC_PATHPROG(RSYNC, rsync, [rsync])
ENSC_PATHPROG(STRACE, strace, [strace])
ENSC_PATHPROG(FSCK, fsck)
+ENSC_PATHPROG(FIND, find)
ENSC_PATHPROG(DOXYGEN, doxygen, [:])
ENSC_PATHPROG(XSLTP, xsltp, [:])
test x"$enable_apis" != xNOLEGACY || enable_apis='compat,v11,fscompat,v13,net,v21,v22,v23,netv2'
enable_api_oldproc=
enable_api_olduts=
-old_IFS=$IFS
-IFS=,;
-for i in $enable_apis; do
+echo $enable_apis | sed 's/,/\n/g' | while read i; do
case "$i" in
(compat) AC_DEFINE(VC_ENABLE_API_COMPAT, 1)
enable_api_oldproc=${enable_api_oldproc:-1}
(*) AC_MSG_ERROR(['$i' is not a supported API]);;
esac
done
-IFS=$old_IFS
if test x"$enable_api_oldproc" != x; then
AC_DEFINE(VC_ENABLE_API_OLDPROC, 1)
test x"$enable_api_oldproc" != x2 && enable_apis="$enable_apis,oldproc"
dnl Check for Python
ensc_have_python=yes
-AM_PATH_PYTHON(,, [:])
+AM_PATH_PYTHON([2.4],, [:])
if test "x$PYTHON" = x:; then
ensc_have_python=no
fi