home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Unix / Shells / zsh / Source / src / config / bz.finale < prev    next >
Encoding:
Text File  |  1994-04-07  |  1013 b   |  66 lines

  1. # -- finale
  2.  
  3. if test -z "$B_nomake"
  4. then
  5.  
  6. # configure the needed variables
  7.  
  8. test -z "$make_probe_done" && . bz.makeprobe
  9.  
  10. # ---
  11.  
  12. makeit="$makeprecmd$C_MAKE"
  13.  
  14. if test -z "$F_bld_eq_src"
  15. then
  16.   if test -n "$make_groks_VPATH"
  17.   then
  18.     if test -z "$B_makeatbld"
  19.     then
  20.       makeit="$makeit VPATH=$C_BLDDIR"
  21.     else
  22.       makeit="$makeit VPATH=`pwd`"    
  23.     fi
  24.   fi
  25. fi
  26.  
  27.  
  28. if test -z "$B_justmake"
  29. then
  30.  
  31. cat <<foo
  32.  
  33. You may want to look at the file(s) I just created:
  34.  
  35. foo
  36. test -n "$B_config_h"  && echo "    ${C_BLDDIR}config.h"
  37. test -n "$B_signals_h" && echo "    ${C_BLDDIR}signals.h"
  38. test -n "$B_Makefile"  && echo "    $MAKEFILE"
  39.  
  40. cat <<foo
  41.  
  42. to make sure they are correct.    Or you may just want
  43. to go ahead and try running $C_MAKE to see what happens.
  44.  
  45. foo
  46. echo "Shall I execute \"$makeit\" now? " | tr -d '\012' 
  47. read reply
  48. echo
  49.  
  50. else
  51.   # justmake
  52.   reply=yep
  53. fi
  54.  
  55. case "$reply" in
  56. [yY]*) echo $makeit ; eval $makeit ; exit 0 ;;
  57. esac
  58. cat <<foo
  59. In that case you will have to call the following yourself:
  60.  
  61.     $makeit
  62.  
  63. foo
  64.  
  65. fi
  66.