limit_enquire 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. while :
  2. do
  3. echo "The libraries will end up in the machine-independent part of the
  4. ACK binary tree. You may already have them from a previous ACK installation
  5. on a different machine, in particular if you have an NFS file system.
  6. Therefore, it may not be neccessary to install them again. As this part
  7. of the ACK installation takes the most time, you are given the opportunity
  8. to disable installation of the machine-independent part"
  9. ./echo -n "Do you want to install the machine-independent part? (y/n) [$DO_MACHINE_INDEP] "
  10. . $FDIR/get_answer
  11. case $ANS in
  12. '') ANS="$DO_MACHINE_INDEP" ;;
  13. esac
  14. case $ANS in
  15. j*|y*) DO_MACHINE_INDEP=y
  16. break
  17. ;;
  18. n*) DO_MACHINE_INDEP=n
  19. break
  20. ;;
  21. *) ./echo "I do not understand your answer ($ANS). Try again."
  22. ;;
  23. esac
  24. done
  25. for i in Modula-2 Pascal Occam Basic ANSI-C C Fortran
  26. do
  27. while :
  28. do
  29. ./echo -n "Do you want to install $i? (y/n) "
  30. . $FDIR/get_answer
  31. case X$ANS in
  32. Xj*|Xy*|X)
  33. break
  34. ;;
  35. Xn*) DISABLE_LANG=$DISABLE_LANG" $i"
  36. break
  37. ;;
  38. *) ./echo "I do not understand your answer ($ANS). Try again."
  39. ;;
  40. esac
  41. done
  42. done
  43. DISABLE_SUP=
  44. set $MACH_LIST
  45. while test $# != 0
  46. do
  47. while :
  48. do
  49. case $1 in
  50. i86) ./echo "not installing i86 will disable installation of xenix3 and minix."
  51. ;;
  52. m68k2) ./echo "not installing m68k2 will disable installation of pmds, minixST,
  53. m68k4, pmds4, sun2, and mantra."
  54. ;;
  55. m68k4) ./echo "not installing m68k4 will disable installation of pmds4, sun2, and mantra."
  56. ;;
  57. m68020) ./echo "not installing m68020 will disable installation of sun3."
  58. ;;
  59. esac
  60. ./echo -n "Do you want to install the $1 support? (y/n) "
  61. . $FDIR/get_answer
  62. case X$ANS in
  63. Xj*|Xy*|X)
  64. case $1 in
  65. vax4) case $SYSNAME in
  66. vax_bsd4_1a) SYSVAX=libbsd4_1a
  67. ;;
  68. vax_bsd4_2) SYSVAX=libbsd4_2
  69. ;;
  70. vax_sysV_2) SYSVAX=libsysV_2
  71. ;;
  72. *) if [ $DO_MACHINE_INDEP = y ]
  73. then
  74. . get_sysvax
  75. fi
  76. ;;
  77. esac
  78. esac
  79. break
  80. ;;
  81. Xn*) DISABLE_SUP=$DISABLE_SUP" $1"
  82. case $1 in
  83. i86)
  84. shift
  85. DISABLE_SUP=$DISABLE_SUP" $1"
  86. shift
  87. DISABLE_SUP=$DISABLE_SUP" $1"
  88. ;;
  89. m68k2)
  90. shift
  91. DISABLE_SUP=$DISABLE_SUP" $1"
  92. shift
  93. DISABLE_SUP=$DISABLE_SUP" $1"
  94. shift
  95. DISABLE_SUP=$DISABLE_SUP" $1"
  96. shift
  97. DISABLE_SUP=$DISABLE_SUP" $1"
  98. shift
  99. DISABLE_SUP=$DISABLE_SUP" $1"
  100. shift
  101. DISABLE_SUP=$DISABLE_SUP" $1"
  102. ;;
  103. m68k4)
  104. shift
  105. DISABLE_SUP=$DISABLE_SUP" $1"
  106. shift
  107. DISABLE_SUP=$DISABLE_SUP" $1"
  108. shift
  109. DISABLE_SUP=$DISABLE_SUP" $1"
  110. ;;
  111. m68020)
  112. shift
  113. DISABLE_SUP=$DISABLE_SUP" $1"
  114. ;;
  115. esac
  116. break
  117. ;;
  118. *) ./echo "I do not understand your answer ($ANS). Try again."
  119. ;;
  120. esac
  121. done
  122. shift
  123. done