From a8a2afd14dbd16e597f045d4501a5966da790aab Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Thu, 7 Feb 2002 19:32:10 +0000 Subject: [PATCH] fix the whole cothread thing Original commit message from CVS: fix the whole cothread thing --- autogen.sh | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/autogen.sh b/autogen.sh index 2effce7..a8edfb1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -10,7 +10,7 @@ if test ! -d common; then echo "+ getting common from cvs"; cvs co common fi if test ! -d libs/ext/cothreads; then - echo "+ getting cothreads from cvs"; cd libs/ext; cvs co cothreads + echo "+ getting cothreads from cvs"; cvs co -d libs/ext cothreads fi CONFIGURE_OPT='--enable-maintainer-mode --enable-plugin-builddir' @@ -186,13 +186,16 @@ automake -a -c || { exit 1 } -dnl echo -dnl echo "+ running autogen.sh in libs/ext/cothreads..." -dnl pushd libs/ext/cothreads > /dev/null -dnl echo -dnl ./autogen.sh --autogen-noconfigure --autogen-nocheck -dnl popd > /dev/null -dnl echo +echo +echo "+ running autogen.sh in libs/ext/cothreads..." +pushd libs/ext/cothreads > /dev/null +echo +./autogen.sh --autogen-noconfigure --autogen-nocheck || { + echo "autogen in cothreads failed." + exit 1 +} +popd > /dev/null +echo test -n "$NOCONFIGURE" && { echo "skipping configure stage for package $package, as requested." -- 2.7.4