termux-packages/disabled-packages/openvpn/configure.ac.patch.old

14 lines
533 B
Diff

--- ./configure.ac 2016-12-26 11:51:00.000000000 +0000
+++ ../configure.ac 2016-12-28 04:59:50.936948102 +0000
@@ -311,6 +311,10 @@
AC_DEFINE_UNQUOTED([TARGET_ALIAS], ["${host}"], [A string representing our host])
case "$host" in
+ *-*-android*)
+ AC_DEFINE([TARGET_ANDROID], [1], [Are we running on Android?])
+ AC_DEFINE_UNQUOTED([TARGET_PREFIX], ["G"], [Target prefix])
+ ;;
*-*-linux*)
AC_DEFINE([TARGET_LINUX], [1], [Are we running on Linux?])
AC_DEFINE_UNQUOTED([TARGET_PREFIX], ["L"], [Target prefix])