From: Pat Thoyts Date: Sat, 24 Nov 2007 14:45:07 +0000 (+0000) Subject: automatic support for upx if available X-Git-Url: https://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;h=7e66739363e1281f328bcc0bb629a0fc2689a237;p=kitgen automatic support for upx if available git-svn-id: svn://svn.equi4.com/kitgen/trunk@1849 9e558909-932a-0410-a563-af77432da1eb --- 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 ;;