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