home *** CD-ROM | disk | FTP | other *** search
- case $CONFIG in
- '')
- if test ! -f config.sh; then
- ln ../config.sh . || \
- ln ../../config.sh . || \
- ln ../../../config.sh . || \
- (echo "Can't find config.sh."; exit 1)
- echo "Using config.sh from above..."
- fi
- . ./config.sh
- ;;
- esac
- echo "Extracting config.h (with variable substitutions)"
- sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
- /* config.h
- * This file was produced by running the config.h.SH script, which
- * gets its values from config.sh, which is generally produced by
- * running Configure.
- *
- * Feel free to modify any of this as the need arises. Note, however,
- * that running config.h.SH again will wipe out any changes you've made.
- * For a more permanent change edit config.sh and rerun config.h.SH.
- */
-
-
- /* EUNICE:
- * This symbol, if defined, indicates that the program is being compiled
- * under the EUNICE package under VMS. The program will need to handle
- * things like files that don't go away the first time you unlink them,
- * due to version numbering. It will also need to compensate for lack
- * of a respectable link() command.
- */
- /* VMS:
- * This symbol, if defined, indicates that the program is running under
- * VMS. It is currently only set in conjunction with the EUNICE symbol.
- */
- /* XENIX:
- * This symbol, if defined, indicates thet the program is running under
- * Xenix (at least 3.0 ?).
- */
- /* BSD:
- * This symbol, if defined, indicates that the program is running under
- * a BSD system.
- */
- #$d_eunice EUNICE /**/
- #$d_eunice VMS /**/
- #$d_xenix XENIX /**/
- #$d_bsd BSD /**/
-
- /* DEFEDITOR:
- * This symbol contains the name of the default editor.
- */
- #define DEFEDITOR "$defeditor" /**/
-
- !GROK!THIS!
-