diff options
Diffstat (limited to 'meta/recipes-devtools/strace/strace/strace-add-configure-options.patch')
-rw-r--r-- | meta/recipes-devtools/strace/strace/strace-add-configure-options.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-devtools/strace/strace/strace-add-configure-options.patch b/meta/recipes-devtools/strace/strace/strace-add-configure-options.patch deleted file mode 100644 index 84b9f9cab5..0000000000 --- a/meta/recipes-devtools/strace/strace/strace-add-configure-options.patch +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | Add option "aio" to enable/disable libaio support. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
6 | Signed-off-by: Chong Lu <Chong.Lu@windriver.com> | ||
7 | --- | ||
8 | configure.ac | 26 ++++++++++++++++++++++++++ | ||
9 | 1 file changed, 26 insertions(+) | ||
10 | |||
11 | diff --git a/configure.ac b/configure.ac | ||
12 | index e73958c..9099370 100644 | ||
13 | --- a/configure.ac | ||
14 | +++ b/configure.ac | ||
15 | @@ -303,11 +303,6 @@ AC_CHECK_MEMBERS([struct sysinfo.totalhi | ||
16 | |||
17 | AC_CHECK_TYPES([struct flock64],,, [#include <fcntl.h>]) | ||
18 | |||
19 | -AC_CHECK_HEADERS([libaio.h], [ | ||
20 | - AC_CHECK_MEMBERS([struct iocb.u.c.flags],,, [#include <libaio.h>]) | ||
21 | - AC_CHECK_DECLS([IO_CMD_PWRITE, IO_CMD_PWRITEV],,, [#include <libaio.h>]) | ||
22 | -]) | ||
23 | - | ||
24 | AC_CHECK_HEADERS([linux/input.h], [ | ||
25 | AC_CHECK_MEMBERS([struct input_absinfo.resolution],,, [#include <linux/input.h>]) | ||
26 | ]) | ||
27 | @@ -745,6 +740,20 @@ if test "x$ac_cv_lib_dl_dladdr" = xyes; | ||
28 | fi | ||
29 | AC_SUBST(dl_LIBS) | ||
30 | |||
31 | +AC_ARG_ENABLE([aio], | ||
32 | + [AS_HELP_STRING([--enable-aio], [turn on libaio support])], | ||
33 | + [case $enableval in | ||
34 | + yes) | ||
35 | + AC_CHECK_HEADERS([libaio.h], [ | ||
36 | + AC_CHECK_MEMBERS([struct iocb.u.c.flags],,, [#include <libaio.h>]) | ||
37 | + AC_CHECK_DECLS([IO_CMD_PWRITE, IO_CMD_PWRITEV],,, [#include <libaio.h>]) | ||
38 | + ]) | ||
39 | + ;; | ||
40 | + no) ;; | ||
41 | + *) AC_MSG_ERROR([bad value $enableval for aio option]) ;; | ||
42 | + esac] | ||
43 | +) | ||
44 | + | ||
45 | AC_PATH_PROG([PERL], [perl]) | ||
46 | |||
47 | dnl stack trace with libunwind | ||
48 | -- | ||
49 | 1.9.1 | ||