summaryrefslogtreecommitdiff
path: root/packages/dropbear/dropbear-0.46/configure.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-07-10 01:16:21 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-10 01:16:21 +0000
commitd4d5768bccd9846488ee8df714c362a0d473427e (patch)
treeb778970fe86f3787b62f7b013a0cb5269cf1c860 /packages/dropbear/dropbear-0.46/configure.patch
parentcb3a0cd64987084fa719eebca83b38c879ecd224 (diff)
Add dropbear 0.46. Patch courtesy Erik Hovland.
Diffstat (limited to 'packages/dropbear/dropbear-0.46/configure.patch')
-rw-r--r--packages/dropbear/dropbear-0.46/configure.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/dropbear/dropbear-0.46/configure.patch b/packages/dropbear/dropbear-0.46/configure.patch
new file mode 100644
index 0000000000..9ae84b2604
--- /dev/null
+++ b/packages/dropbear/dropbear-0.46/configure.patch
@@ -0,0 +1,27 @@
+diff -Nurd dropbear-0.45/configure.in dropbear-0.45.patched/configure.in
+--- dropbear-0.45/configure.in 2005-03-06 20:27:02.000000000 -0800
++++ dropbear-0.45.patched/configure.in 2005-03-08 15:22:44.040586721 -0800
+@@ -161,15 +161,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],