Don't ever run if we know automake isn't patched: people keep complaining that their...
authorRichard Boulton <richard@tartarus.org>
Mon, 4 Jun 2001 00:38:25 +0000 (00:38 +0000)
committerRichard Boulton <richard@tartarus.org>
Mon, 4 Jun 2001 00:38:25 +0000 (00:38 +0000)
Original commit message from CVS:
Don't ever run if we know automake isn't patched: people keep complaining
that their machine crashed while trying to build...

autogen.sh

index 858fc8c..096f8f4 100755 (executable)
@@ -78,18 +78,15 @@ EOF
        if test "x$PATCHED" == "x1"; then
          echo "A patched version of automake is available at:"
          echo "$patchedfile"
-         echo "You should put this in an appropriate place, or modify $PATH, so that it is"
+         echo "You should put this in an appropriate place, or modify \$PATH, so that it is"
          echo "used in preference to this installed version of automake."
        fi
       fi
-      echo "You should abort the build now.  Read the README file for an explanation."
+      echo "It is not safe to perform the build without a patched automake."
+      echo "Read the README file for an explanation."
       echo "***************************************************************************"
       echo
-      # Give user time to respond
-      sleep 5;
-      echo "Continuing anyway: I recommend keeping a check on the amount of memory used"
-      echo "while running automake - it is likely to grow extremely large."
-      echo
+      DIE=1
     else
       # Reversed patch failed: incompatibly patched.
       echo