home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / fchk294s.zip / ftnchek-2.9.4 / configure.generic < prev    next >
Text File  |  1996-10-02  |  2KB  |  49 lines

  1. #!/bin/sh
  2. #
  3. # Simple configure script to create makefile.generic from Makefile.in
  4. # for the ftnchek distribution, so users without a real Unix system
  5. # can have a generic makefile to edit for their needs.  It is run
  6. # during the creation of the distribution, not by installer.
  7. #
  8. # It just substitutes pathless version of all the system programs,
  9. # and the most commonly used values of options, into Makefile.in.
  10. # This script only needs to be changed when configure.in has new
  11. # substitutions.
  12. #
  13. #  R. Moniot, 2 May 1996
  14.  
  15.     sed -e 's%@prefix@%/usr/local%' \
  16.         -e 's%@exec_prefix@%${prefix}%' \
  17.         -e 's%@bindir@%${exec_prefix}/bin%' \
  18.         -e 's%@mandir@%${prefix}/man%' \
  19.         -e 's%@libdir@%${exec_prefix}/lib%' \
  20.         -e 's%@EXE@%%' \
  21.         -e 's%@CMD@%%' \
  22.         -e 's%@YACC@%bison -y%' \
  23.         -e 's%@AWK@%gawk%' \
  24.         -e 's%@NROFF@%nroff%' \
  25.         -e 's%@MANtoPS@%./man2ps%' \
  26.         -e 's%@STRIP@%strip%' \
  27.         -e 's%@COL@%col -bx%' \
  28.         -e 's%@SED@%sed%' \
  29.         -e 's%@CC@%cc%' \
  30.         -e 's%@CFLAGS@%-DUNIX -DLARGE_MACHINE -O%' \
  31.         -e 's%@LDFLAGS@%%' \
  32.         -e 's%@INSTALL_MAN@%install-man%' \
  33.         -e 's%@HAS_NROFF@%true%' \
  34.         -e 's%@CHMOD@%chmod%' \
  35.         -e 's%@CMP@%cmp%' \
  36.         -e 's%@CP@%cp%' \
  37.         -e 's%@DIFF@%diff%' \
  38.         -e 's%@EQN@%eqn%' \
  39.         -e 's%@MKDIR@%mkdir%' \
  40.         -e 's%@MV@%mv%' \
  41.         -e 's%@PWD_PROG@%pwd%' \
  42.         -e 's%@RM@%rm -f%' \
  43.         -e 's%@RMDIR@%rmdir%' \
  44.         -e 's%@SH@%sh%' \
  45.         -e 's%@SOELIM@%soelim%' \
  46.         -e 's%@TBL@%tbl%' \
  47.         -e 's%@TAR@%tar%' \
  48.         Makefile.in > makefile.generic
  49.