Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2011
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. Linux)
  2. OPSYS=linux
  3. case `uname -m` in
  4. *86)
  5. ARCH=x86
  6. # we no longer support Linux before the 2.2 kernel.
  7. case `uname -r` in
  8. 2.2.*) ;;
  9. 2.3.*) ;;
  10. 2.4.*) ;;
  11. 2.5.*) ;;
  12. 2.6.*) ;;
  13. *) exit 1 ;;
  14. esac
  15. ;;
  16. # As long as we do not natively support the amd64 architecture,
  17. # we should fallback to the x86 compatibility mode. --Stef
  18. x86_64) ARCH=x86;;
  19. ppc)
  20. ARCH=ppc
  21. case `uname -r` in
  22. *osfmach*) OPSYS=mklinux ;;
  23. *) ;;
  24. esac
  25. ;;
  26. *) exit 1;;
  27. esac
  28. ;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement