Initial push
[termux-packages] / packages / apt / configure.patch
1 diff -u -r ../upstream.git/configure ./configure
2 --- ../upstream.git/configure 2014-06-18 14:12:34.000000000 +0200
3 +++ ./configure 2014-06-18 23:09:25.315914542 +0200
4 @@ -4807,11 +4807,6 @@
5
6
7 ac_fn_cxx_check_header_mongrel "$LINENO" "gtest/gtest.h" "ac_cv_header_gtest_gtest_h" "$ac_includes_default"
8 -if test "x$ac_cv_header_gtest_gtest_h" = xyes; then :
9 -
10 -else
11 - as_fn_error $? "failed: I need gtest to build tests" "$LINENO" 5
12 -fi
13
14
15 ac_ext=c
16 @@ -4986,7 +4981,7 @@
17
18 { $as_echo "$as_me:${as_lineno-$LINENO}: checking debian architecture" >&5
19 $as_echo_n "checking debian architecture... " >&6; }
20 -archset="`dpkg-architecture -qDEB_HOST_ARCH`"
21 +archset=TERMUX_ARCH
22 if test "x$archset" = "x"; then
23 as_fn_error $? "failed: use --host= or output from dpkg-architecture" "$LINENO" 5
24 fi