diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-02-17 20:29:04 +0100 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-02-17 20:29:42 +0100 |
commit | 3bddcefdde968020c7b8b6cdf2bb7b7081b9e811 (patch) | |
tree | 365bab9f2050b83b600752f7f705974b677af3e6 /packages/dropbear/dropbear-0.52/configure.patch | |
parent | 38f41c851c361435693b8d667bfd67770fda6596 (diff) |
dropbear: add latest stable version 0.52; untested, hence DP = -1
Diffstat (limited to 'packages/dropbear/dropbear-0.52/configure.patch')
-rw-r--r-- | packages/dropbear/dropbear-0.52/configure.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/dropbear/dropbear-0.52/configure.patch b/packages/dropbear/dropbear-0.52/configure.patch new file mode 100644 index 0000000000..fa24efc066 --- /dev/null +++ b/packages/dropbear/dropbear-0.52/configure.patch @@ -0,0 +1,27 @@ +Index: dropbear-0.50/configure.in +=================================================================== +--- dropbear-0.50.orig/configure.in ++++ dropbear-0.50/configure.in +@@ -164,14 +164,20 @@ AC_ARG_ENABLE(openpty, + AC_MSG_NOTICE(Not using openpty) + else + AC_MSG_NOTICE(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_NOTICE(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, |