From 7e66739363e1281f328bcc0bb629a0fc2689a237 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Sat, 24 Nov 2007 14:45:07 +0000 Subject: [PATCH] automatic support for upx if available git-svn-id: svn://svn.equi4.com/kitgen/trunk@1849 9e558909-932a-0410-a563-af77432da1eb --- config.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.sh b/config.sh index 4a9f302..f875091 100755 --- a/config.sh +++ b/config.sh @@ -27,6 +27,7 @@ while test $# != 0 make=$path/Makefile mach=`uname` plat=unix +upx=`which upx` echo "Configuring $make for $mach." mkdir -p $path @@ -93,6 +94,7 @@ case $cli-$dyn-$gui in 0-0-0) cli=1 dyn=1 gui=1 ;; esac echo 'GUIOBJ = $(OBJ) $(OUTDIR)/winMain.o $(OUTDIR)/tclkit.res.o' echo 'PRIV = install-private-headers' echo 'EXE = .exe' + [ -x $upx ] && echo "UPX = $upx" plat=win ;; -- 2.23.0