patch-autogen_sh 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. $OpenBSD: patch-autogen_sh,v 1.2 2011/12/12 18:18:15 jasper Exp $
  2. - don't force gmake being around, it's not used anyway.
  3. - don't let this script run configure for us.
  4. --- autogen.sh.orig Mon Dec 6 01:29:02 2010
  5. +++ autogen.sh Mon Dec 12 10:03:03 2011
  6. @@ -1,18 +1,6 @@
  7. #!/bin/sh
  8. -MAKE=`which gnumake 2>/dev/null`
  9. -if test ! -x "$MAKE" ; then MAKE=`which gmake` ; fi
  10. -if test ! -x "$MAKE" ; then MAKE=`which make` ; fi
  11. -HAVE_GNU_MAKE=`$MAKE --version|grep -c "Free Software Foundation"`
  12. -
  13. -if test "$HAVE_GNU_MAKE" != "1"; then
  14. - echo Could not find GNU make on this system, can not proceed with build.
  15. - exit 1
  16. -else
  17. - echo Found GNU Make at $MAKE ... good.
  18. -fi
  19. -
  20. if test ! -x "`which aclocal`"
  21. then
  22. echo "You need aclocal and autoconf to generate configure and Makefile."
  23. @@ -40,12 +28,8 @@ $LIBTOOLIZE --dry-run --install > /dev/null 2>&1 && {
  24. LIBTOOLIZE_ARGS="--force --copy"
  25. }
  26. -echo This script runs configure ...
  27. -
  28. $LIBTOOLIZE $LIBTOOLIZE_ARGS
  29. which acinclude >/dev/null 2>&1 && acinclude
  30. which aclocal >/dev/null 2>&1 && aclocal
  31. autoconf
  32. -
  33. -./configure ${CFGARGS} $*