forked from I2P_Developers/i2p.i2p
merge of '6d6ce6e9e717c56881e728cc3b5fad45897d58b2'
and '8fa65646f9dfb055d71d24fc4d3c26510da48a54'
This commit is contained in:
@@ -254,6 +254,7 @@ configure_file () {
|
||||
sleep 1
|
||||
|
||||
# Nonfatal bail out on unsupported platform.
|
||||
(cd ../../gmp-${1}; make distclean)
|
||||
if [ $(echo $TARGET| grep -q osx) ]; then
|
||||
../../gmp-${1}/configure --build=${2}-apple-darwin --with-pic && return 0
|
||||
else
|
||||
@@ -273,12 +274,14 @@ build_file () {
|
||||
return 1
|
||||
}
|
||||
|
||||
echo "Extracting GMP Version $VER ..."
|
||||
if [ -e gmp-$VER.tar.bz2 ]; then
|
||||
if [ ! -d gmp-$VER ]; then
|
||||
echo "Extracting GMP Version $VER ..."
|
||||
if [ -e gmp-$VER.tar.bz2 ]; then
|
||||
tar -xjf gmp-$VER.tar.bz2 || ( echo "Error in tarball file!" >&2 ; exit 1 )
|
||||
else
|
||||
else
|
||||
echo "ERROR: gmp tarball not found in current directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -d bin ]; then
|
||||
|
||||
Reference in New Issue
Block a user