home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / server / ddx / macII / R4setup.sh < prev    next >
Encoding:
Text File  |  1989-12-05  |  997 b   |  39 lines

  1. : "@(#) R4setup.sh        Shell Script for X11R4 build on A/UX"
  2. #
  3. # Run this script as the super-user from the server/ddx/macII directory.
  4. #
  5. (cd ../../../util/cpp; make ; 
  6.     if [ ! -f /usr/lib/big/cpp.save ]; then
  7.     echo installing public domain cpp
  8.     mv /usr/lib/big/cpp /usr/lib/big/cpp.save
  9.     cp /usr/lib/big/cpp.save /usr/lib/big/cpp
  10.     fi
  11.  cp cpp /usr/lib/big/cpp)
  12.  
  13.  
  14. # bsdinstall is taken from the Andrew Toolkit, which grants privileges of
  15. # free use.
  16. #
  17. cp ./bsdinstall /etc/bsdinstall
  18.  
  19. #
  20. # A/UX Release 1.0 flubbed the placement and protection on the following.
  21. #
  22. if [ -f /usr/include/net/un.h ]
  23. then
  24.     echo fixing misplaced un.h 
  25.     chmod 0644 /usr/include/net/un.h
  26.     ln -s /usr/include/net/un.h /usr/include/sys/un.h
  27. fi
  28. #
  29. if [ -f /usr/include/net/unpcb.h ]
  30. then
  31.     echo fixing misplaced unpcb.h
  32.     chmod 0644 /usr/include/net/unpcb.h
  33.     ln -s /usr/include/net/unpcb.h /usr/include/sys/unpcb.h
  34. fi
  35. #
  36. echo "Now do 'make SHELL=/bin/sh BOOTSTRAPCFLAGS=-DmacII World' from"
  37. echo "the top of the source tree."
  38.  
  39.