|
@@ -1,13 +1,11 @@
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
@@ -15,10 +13,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
@@ -53,10 +47,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
export CROSS_COMPILE=yes
|
|
|
|
|
|
-if [ ! -f configure.in ]
|
|
|
+if [ ! -f configure ]
|
|
|
then
|
|
|
echo "Please run this script from the root of the Tor distribution."
|
|
|
exit -1
|
|
@@ -109,19 +103,7 @@ then
|
|
|
make clean
|
|
|
fi
|
|
|
|
|
|
-
|
|
|
-patch -f -p1 -R --dry-run < contrib/cross.patch > /dev/null 2>&1
|
|
|
-
|
|
|
-if [ $? -ne 0 ]
|
|
|
-then
|
|
|
- patch -p1 < contrib/cross.patch
|
|
|
- aclocal
|
|
|
- autoconf
|
|
|
- autoheader
|
|
|
- automake --add-missing
|
|
|
-fi
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
export PATH=$PATH:$CROSSPATH
|
|
|
export RANLIB=${ARCH_PREFIX}ranlib
|
|
|
export CC=${ARCH_PREFIX}gcc
|
|
@@ -165,3 +147,4 @@ echo ""
|
|
|
echo "Tor should be compiled at this point. Now run 'make install' to"
|
|
|
echo "install to $PREFIX"
|
|
|
echo ""
|
|
|
+
|