fix the whole cothread thing
authorAndy Wingo <wingo@pobox.com>
Thu, 7 Feb 2002 19:32:10 +0000 (19:32 +0000)
committerAndy Wingo <wingo@pobox.com>
Thu, 7 Feb 2002 19:32:10 +0000 (19:32 +0000)
Original commit message from CVS:
fix the whole cothread thing

autogen.sh

index 2effce70c404771f9ac1adc5e272daeac7dbd0b0..a8edfb17dce5f676539b9c588c412cfebba9b36a 100755 (executable)
@@ -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."