summaryrefslogtreecommitdiff
path: root/dropbear/dropbear-0.42/configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dropbear/dropbear-0.42/configure.patch')
-rw-r--r--dropbear/dropbear-0.42/configure.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dropbear/dropbear-0.42/configure.patch b/dropbear/dropbear-0.42/configure.patch
index e69de29bb2..cfc15f826b 100644
--- a/dropbear/dropbear-0.42/configure.patch
+++ b/dropbear/dropbear-0.42/configure.patch
@@ -0,0 +1,31 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- dropbear-0.40/configure.in~configure
++++ dropbear-0.40/configure.in
+@@ -125,15 +125,20 @@
+ AC_MSG_RESULT(Not using openpty)
+ else
+ AC_MSG_RESULT(Using openpty if available)
+- AC_SEARCH_LIBS(openpty, util, [AC_DEFINE(HAVE_OPENPTY,,Have openpty() function)])
++ AC_SEARCH_LIBS(openpty, util, [dropbear_cv_func_have_openpty=yes])
+ fi
+ ],
+ [
+ AC_MSG_RESULT(Using openpty if available)
+- AC_SEARCH_LIBS(openpty, util, [AC_DEFINE(HAVE_OPENPTY)])
++ AC_SEARCH_LIBS(openpty, util, [dropbear_cv_func_have_openpty=yes])
+ ]
+ )
+-
++
++if test "x$dropbear_cv_func_have_openpty" = "xyes"; then
++ AC_DEFINE(HAVE_OPENPTY,,Have openpty() function)
++ no_ptc_check=yes
++ no_ptmx_check=yes
++fi
+
+ AC_ARG_ENABLE(syslog,
+ [ --disable-syslog Don't include syslog support],