diff options
Diffstat (limited to 'meta/recipes-core/dropbear/dropbear/0003-configure.patch')
-rw-r--r-- | meta/recipes-core/dropbear/dropbear/0003-configure.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/meta/recipes-core/dropbear/dropbear/0003-configure.patch b/meta/recipes-core/dropbear/dropbear/0003-configure.patch deleted file mode 100644 index 8469a50eff..0000000000 --- a/meta/recipes-core/dropbear/dropbear/0003-configure.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | From 58dd24a80ca0f400d0761afd9ce2b7f684fc9125 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com> | ||
3 | Date: Thu, 25 Apr 2013 00:27:25 +0200 | ||
4 | Subject: [PATCH] configure: add a variable to allow openpty check to be cached | ||
5 | |||
6 | Upstream-Status: Submitted [ https://github.com/mkj/dropbear/pull/48 ] | ||
7 | |||
8 | Signed-off-by: Dengke Du <dengke.du@windriver.com> | ||
9 | --- | ||
10 | configure.ac | 11 ++++++++--- | ||
11 | 1 file changed, 8 insertions(+), 3 deletions(-) | ||
12 | |||
13 | diff --git a/configure.ac b/configure.ac | ||
14 | index 893b904..245408d 100644 | ||
15 | --- a/configure.ac | ||
16 | +++ b/configure.ac | ||
17 | @@ -177,15 +177,20 @@ AC_ARG_ENABLE(openpty, | ||
18 | AC_MSG_NOTICE(Not using openpty) | ||
19 | else | ||
20 | AC_MSG_NOTICE(Using openpty if available) | ||
21 | - AC_SEARCH_LIBS(openpty, util, [AC_DEFINE(HAVE_OPENPTY,,Have openpty() function)]) | ||
22 | + AC_SEARCH_LIBS(openpty, util, [dropbear_cv_func_have_openpty=yes]) | ||
23 | fi | ||
24 | ], | ||
25 | [ | ||
26 | AC_MSG_NOTICE(Using openpty if available) | ||
27 | - AC_SEARCH_LIBS(openpty, util, [AC_DEFINE(HAVE_OPENPTY)]) | ||
28 | + AC_SEARCH_LIBS(openpty, util, [dropbear_cv_func_have_openpty=yes]) | ||
29 | ] | ||
30 | ) | ||
31 | - | ||
32 | + | ||
33 | +if test "x$dropbear_cv_func_have_openpty" = "xyes"; then | ||
34 | + AC_DEFINE(HAVE_OPENPTY,,Have openpty() function) | ||
35 | + no_ptc_check=yes | ||
36 | + no_ptmx_check=yes | ||
37 | +fi | ||
38 | |||
39 | AC_ARG_ENABLE(syslog, | ||
40 | [ --disable-syslog Don't include syslog support], | ||
41 | -- | ||
42 | 2.8.1 | ||
43 | |||