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

  1. . bz.doksh
  2.  
  3. if test -z "$B_auto" -a -z "$B_justmake"
  4. then
  5.   if test -z "$B_query"
  6.   then
  7.     cat <<foo | $PAGER
  8.  
  9.     buildzsh will probe your system for all kinds of features that
  10.     are useful to know when building zsh.  buildzsh will also
  11.     suggest some site-dependent things like where to install
  12.     the final zsh binary.
  13.  
  14.     You can either:
  15.  
  16.     * Let buildzsh do all the work for you.
  17.  
  18.       This method is suggested either for the first time
  19.       zsh-builders who _hope_ that zsh will build ok -- or
  20.       for the experienced builders who _know_ that zsh will build ok.
  21.       This method can be selected by "buildzsh auto", this text
  22.       will then not be shown.
  23.         
  24.     * Try to answer the questions about the features and
  25.       to define yourself the site-dependent things.
  26.  
  27.       This method requires both intimate knowledge about
  28.       your operating system and C compilation environment
  29.       (compiler, preprocessor, headers, libraries, linker)
  30.       and about your site-specific software installation
  31.       guidelines.  That is, most of the time you must be
  32.       a system administrator of sorts to use this option.
  33.       This method can be selected by "buildzsh query", this text
  34.       will then not be shown.
  35.  
  36.       Note that some questions of the installation kind
  37.       (optimize or not, where the install the final executable binary)
  38.       can be more conveniently answered beforehand at the buildzsh
  39.       command line.  Try "buildzsh help" to find out how.
  40.       
  41.         At any point you can interrupt buildzsh by hitting the interrupt
  42.     key (normally ^C [ctrl+c]) and if your shell supports job control,
  43.     suspend buildzsh for a while (normally done with ^Z [ctrl+z]).
  44.  
  45.     To summarize:                    Answer:
  46.  
  47.     * this is your first time buildzing zsh        n
  48.     * you _know_ that building zsh will work    n
  49.     * you want to tweak various definitions        y
  50.  
  51. [proceed with $PAGER_quit]
  52. foo
  53.     F_define=
  54.     F_using=yep
  55.     G_verb1_=Will
  56.     G_verb2_='want to answer'
  57.     G_verb3a_='will ask'
  58.     G_verb3b_=letting
  59.     _savedB_query_=$B_query
  60.     B_query=yep
  61.     set false _ 1 'the questions' 'buildzsh have all the fun'
  62.     . bz.ifdef
  63.     test -n "$_yea" && B_query=yep || B_query=$_savedB_query_
  64.   fi
  65. else
  66.   B_query=
  67. fi
  68.  
  69. . bz.sanity
  70.