From ecb3bca9f5cbd4ab67acf5da69f379ddadeaeb28 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 26 Mar 1999 07:08:57 +0000 Subject: * Manual updates: added xrefs, some typos sent by users. * Change the build env. to not link libglob.a unless we need it. --- build.template | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build.template') diff --git a/build.template b/build.template index aee512f..a91a3c1 100644 --- a/build.template +++ b/build.template @@ -32,6 +32,7 @@ ALLOCA='@ALLOCA@' LOADLIBES='@LIBS@' extras='@LIBOBJS@' REMOTE='@REMOTE@' +GLOBLIB='@GLOBLIB@' # Common prefix for machine-independent installed files. prefix='@prefix@' @@ -48,6 +49,10 @@ set -e # These are all the objects we need to link together. objs="%objs% remote-${REMOTE}.o ${extras} ${ALLOCA}" +if [ x"$GLOBLIB" != x ]; then + objs="$objs %globobjs%" +fi + # Compile the source files into those objects. for file in `echo ${objs} | sed 's/\.o/.c/g'`; do echo compiling ${file}... -- cgit v1.2.3