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

  1. # The configurable parameters
  2. CONFIG_PARMS="CC CFLAGS CFLAGS_D CFLAGS_W CFLAGS_X CFLAGS_M CFLAGS_O CFLAGS_g CFLAGS_z LDFLAGS LIBS SRCDIR BLDDIR ARCH ARCHPATT INSTDIR BINDIR MANDIR MAKE"
  3. # The boolean parameters
  4. BOOL_PARMS="config.h signals.h hs Makefile makefile mf gcc mediumgcc strictgcc ksh help query auto noopt nodebug nozshdebug nomake justmake"
  5. # The parameters that can contain $ARCHPATT
  6. # $ARCHPATT will be substituted with $HOSTTYPE unless ARCH is specified
  7. ARCH_PARMS="BINDIR BLDDIR"
  8.  
  9. GCC_BASE0_W='-Wall -Wno-implicit -Waggregate-return -Winline'
  10. GCC_BASE1_W="$GCC_BASE0_W -ansi -Wmissing-prototypes"
  11. GCC_MEDIUM_W='-Wimplicit -pedantic'
  12. GCC_STRICT_W='-Wshadow -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion'
  13.  
  14. DEFAULT_C_CC=cc
  15. # The following is changed to -O2 in bz.Makefile for GCC
  16. DEFAULT_C_CFLAGS_O=-O
  17. DEFAULT_C_CFLAGS_g=-g
  18. DEFAULT_C_LD='$(CC)'
  19. DEFAULT_C_LIBS=
  20. DEFAULT_C_SRCDIR=.
  21. DEFAULT_C_BLDDIR=.
  22. DEFAULT_C_ARCHPATT="%(ARCH)"
  23. DEFAULT_C_INSTDIR=
  24. DEFAULT_C_BINDIR=/usr/local/bin
  25. DEFAULT_C_MANDIR=/usr/local/man/man1
  26. DEFAULT_C_MAKE=make
  27.  
  28. DEFAULT_B_config_h=yep
  29. DEFAULT_B_signals_h=yep
  30. DEFAULT_B_hs=yep
  31. DEFAULT_B_mf=yep
  32. DEFAULT_B_gcc=
  33. DEFAULT_B_mediumgcc=
  34. DEFAULT_B_strictgcc=
  35. DEFAULT_B_ksh=
  36. DEFAULT_B_help=
  37. DEFAULT_B_query=
  38. DEFAULT_B_probe=yep
  39. DEFAULT_B_auto=
  40. DEFAULT_B_noopt=
  41. DEFAULT_B_debug=
  42. DEFAULT_B_zshdebug=
  43. DEFAULT_B_install=yep
  44. DEFAULT_B_nomake=
  45. DEFAULT_B_justmake=
  46. DEFAULT_B_makeatbld=
  47.  
  48. PAGER_PROGS="less more pg cat"
  49. PAGER_PATH="/usr/local/bin /usr/ucb /usr/bsd /usr/bin /bin"
  50.  
  51. # Which variables mean when non-empty that $CC groks simultaneous -c and -o ?
  52. CC_GROK_c_o="AIX CONVEX GCC HPUX CC_MIPS_STYLE SUNOS"
  53. # Which variables mean when non-empty that $CC fouls simultaneous -c and -o ?
  54. CC_LOSE_c_o="UNICOS DGUX"
  55. # Which variables mean when non-empty that $CC groks simultaneous -g and -O ?
  56. # variables like test:foo:bar mean testing for variable "test",
  57. # if that succeeds, setting CC_gFLAGS to "foo" and CC_OFLAGS to "bar"
  58. # use 'quotes' to protect whitespace
  59. CC_GROK_g_O="GCC:-g:-O6 AIX CC_MIPS_STYLE:-g3:'-O -Olimit 1000'"
  60. # Which variables mean when non-empty that $CC fouls simultaneous -g and -O ?
  61. CC_LOSE_g_O="HPUX"
  62. # How many users is lots of? (enough to justify username caching)
  63. LOTSA_USERS=150
  64.  
  65. # VPATHTMP: VPATH temporary top test directory
  66. VPATHTMP=/tmp/vpath.$$
  67. VPATHTMPa=$VPATHTMP/a
  68. VPATHTMPb=$VPATHTMP/b
  69.  
  70. # TRASHF: known temporary files
  71. #    ARGV set in bz.saveargv
  72. #    ARGH in bz.argh
  73. #    /tmp/sh/sh[0-9][0-9]* are sh temporary files
  74. #        (used for example by <<here documents)
  75. TRASHF="$ARGV $ARGH $VPATHTMPa/foo.c $VPATHTMPb/Makefile $VPATHTMPa/foo.o /tmp/sh[0-9][0-9]*"
  76.  
  77. # TRASHF: known temporary directories
  78. #    VPATHTMP...    used for VPATH testing
  79. TRASHD="$VPATHTMP $VPATHTMPa $VPATHTMPb"
  80.  
  81. # TRAPN: the last thing to do when trapped
  82. TRAPN="echo '[Cleaning up]';test -n '$TRASHF' && rm -f $TRASHF 2>/dev/null;test -n '$TRASHD' && rm -rf '$TRASHD' 2>/dev/null;exit 9"
  83.  
  84. # the signals to trap
  85. TRAPSIGS="1 2 3 15"
  86.  
  87. # the text pager to use
  88. if [ -z "$PAGER" ]
  89. then
  90.     set PAGER "$PAGER_PROGS" "$PAGER_PATH" cat
  91.     . bz.walk
  92. fi
  93. export PAGER
  94. case "$PAGER" in
  95. *pg) PAGER_quit='q and Enter/Newline/Return' ;;
  96.   *) PAGER_quit=q ;;    # more, less, hopefully everything else
  97. esac
  98.