From 0c7b7fc915faee4600d7004bd450140372262a5e Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Sat, 21 Nov 2009 10:00:53 +0000 Subject: [PATCH] work with newer autoconf. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2860 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 41c848c..32d1e83 100644 --- a/configure.ac +++ b/configure.ac @@ -246,10 +246,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 +275,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" -- 1.8.1.5