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 >
Wrap
Text File
|
1996-10-02
|
2KB
|
49 lines
#!/bin/sh
#
# Simple configure script to create makefile.generic from Makefile.in
# for the ftnchek distribution, so users without a real Unix system
# can have a generic makefile to edit for their needs. It is run
# during the creation of the distribution, not by installer.
#
# It just substitutes pathless version of all the system programs,
# and the most commonly used values of options, into Makefile.in.
# This script only needs to be changed when configure.in has new
# substitutions.
#
# R. Moniot, 2 May 1996
sed -e 's%@prefix@%/usr/local%' \
-e 's%@exec_prefix@%${prefix}%' \
-e 's%@bindir@%${exec_prefix}/bin%' \
-e 's%@mandir@%${prefix}/man%' \
-e 's%@libdir@%${exec_prefix}/lib%' \
-e 's%@EXE@%%' \
-e 's%@CMD@%%' \
-e 's%@YACC@%bison -y%' \
-e 's%@AWK@%gawk%' \
-e 's%@NROFF@%nroff%' \
-e 's%@MANtoPS@%./man2ps%' \
-e 's%@STRIP@%strip%' \
-e 's%@COL@%col -bx%' \
-e 's%@SED@%sed%' \
-e 's%@CC@%cc%' \
-e 's%@CFLAGS@%-DUNIX -DLARGE_MACHINE -O%' \
-e 's%@LDFLAGS@%%' \
-e 's%@INSTALL_MAN@%install-man%' \
-e 's%@HAS_NROFF@%true%' \
-e 's%@CHMOD@%chmod%' \
-e 's%@CMP@%cmp%' \
-e 's%@CP@%cp%' \
-e 's%@DIFF@%diff%' \
-e 's%@EQN@%eqn%' \
-e 's%@MKDIR@%mkdir%' \
-e 's%@MV@%mv%' \
-e 's%@PWD_PROG@%pwd%' \
-e 's%@RM@%rm -f%' \
-e 's%@RMDIR@%rmdir%' \
-e 's%@SH@%sh%' \
-e 's%@SOELIM@%soelim%' \
-e 's%@TBL@%tbl%' \
-e 's%@TAR@%tar%' \
Makefile.in > makefile.generic