home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2912 / config.h.SH next >
Encoding:
Text File  |  1991-03-03  |  1.6 KB  |  56 lines

  1. case $CONFIG in
  2. '')
  3.     if test ! -f config.sh; then
  4.     ln ../config.sh . || \
  5.     ln ../../config.sh . || \
  6.     ln ../../../config.sh . || \
  7.     (echo "Can't find config.sh."; exit 1)
  8.     echo "Using config.sh from above..."
  9.     fi
  10.     . ./config.sh
  11.     ;;
  12. esac
  13. echo "Extracting config.h (with variable substitutions)"
  14. sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  15. /* config.h
  16.  * This file was produced by running the config.h.SH script, which
  17.  * gets its values from config.sh, which is generally produced by
  18.  * running Configure.
  19.  *
  20.  * Feel free to modify any of this as the need arises.  Note, however,
  21.  * that running config.h.SH again will wipe out any changes you've made.
  22.  * For a more permanent change edit config.sh and rerun config.h.SH.
  23.  */
  24.  
  25.  
  26. /* EUNICE:
  27.  *    This symbol, if defined, indicates that the program is being compiled
  28.  *    under the EUNICE package under VMS.  The program will need to handle
  29.  *    things like files that don't go away the first time you unlink them,
  30.  *    due to version numbering.  It will also need to compensate for lack
  31.  *    of a respectable link() command.
  32.  */
  33. /* VMS:
  34.  *    This symbol, if defined, indicates that the program is running under
  35.  *    VMS.  It is currently only set in conjunction with the EUNICE symbol.
  36.  */
  37. /* XENIX:
  38.  *    This symbol, if defined, indicates thet the program is running under
  39.  *    Xenix (at least 3.0 ?).
  40.  */
  41. /* BSD:
  42.  *    This symbol, if defined, indicates that the program is running under
  43.  *    a BSD system.
  44.  */
  45. #$d_eunice EUNICE        /**/
  46. #$d_eunice VMS        /**/
  47. #$d_xenix XENIX        /**/
  48. #$d_bsd BSD        /**/
  49.  
  50. /* DEFEDITOR:
  51.  *    This symbol contains the name of the default editor.
  52.  */
  53. #define DEFEDITOR "$defeditor"        /**/
  54.  
  55. !GROK!THIS!
  56.