X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=e0824e05ead888e9bfef0b00eeabd0ec822a14bd;hb=ab4b2dd361f2086da8ec0ae99ef4bf79dd7265d9;hp=41c848c6e8e88320d481d02d439f09cc8c3a877e;hpb=f11ea684a35bdba59ce395fefc3f5bfdb39817fe;p=util-vserver.git diff --git a/configure.ac b/configure.ac index 41c848c..e0824e0 100644 --- a/configure.ac +++ b/configure.ac @@ -66,6 +66,7 @@ ENSC_PATHPROG(RESTORE, restore, [restore]) 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, [:]) @@ -246,10 +247,8 @@ test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,fscompat,v13 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} @@ -277,7 +276,6 @@ for i in $enable_apis; do (*) 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"