summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-02-29 18:48:37 -0300
committerHisham <hisham@gobolinux.org>2016-02-29 18:48:37 -0300
commit84b1b88895f091c3a6c90dc921038c9294e43e36 (patch)
treee00ee9bd7ec370e898dc96c2d39ad1de59a978bf /configure
parent864d1ae0a3dfbfa22fc14927a893885be870c1e2 (diff)
downloadluarocks-84b1b88895f091c3a6c90dc921038c9294e43e36.tar.gz
luarocks-84b1b88895f091c3a6c90dc921038c9294e43e36.tar.bz2
luarocks-84b1b88895f091c3a6c90dc921038c9294e43e36.zip
Test that 'unzip' is present in the $PATH.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index 75ba4039..665d52bc 100755
--- a/configure
+++ b/configure
@@ -101,7 +101,7 @@ find_helper() {
101 fi 101 fi
102 shift 102 shift
103 done 103 done
104 echo "Could not find a $explanation. Tried: $tried." 104 echo "Could not find $explanation. Tried: $tried."
105 die "Make sure one of them is installed and available in your PATH." 105 die "Make sure one of them is installed and available in your PATH."
106} 106}
107 107
@@ -362,16 +362,18 @@ fi
362 362
363if [ "$LUAROCKS_DOWNLOADER_SET" != "yes" ] 363if [ "$LUAROCKS_DOWNLOADER_SET" != "yes" ]
364then 364then
365 find_helper "downloader helper program" curl wget fetch 365 find_helper "a downloader helper program" curl wget fetch
366 LUAROCKS_DOWNLOADER=$HELPER 366 LUAROCKS_DOWNLOADER=$HELPER
367fi 367fi
368 368
369if [ "$LUAROCKS_MD5CHECKER_SET" != "yes" ] 369if [ "$LUAROCKS_MD5CHECKER_SET" != "yes" ]
370then 370then
371 find_helper "MD5 checksum calculator" md5sum openssl md5 371 find_helper "a MD5 checksum calculator" md5sum openssl md5
372 LUAROCKS_MD5CHECKER=$HELPER 372 LUAROCKS_MD5CHECKER=$HELPER
373fi 373fi
374 374
375find_helper "an 'unzip' program" unzip
376
375echo_n "Configuring for system... " 377echo_n "Configuring for system... "
376if uname -s 378if uname -s
377then 379then