mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 04:03:03 +01:00
diffstat: fix autoheader warning due to missing AC_DEFINE template
(From OE-Core rev: 9c9da40b6de2cd29378e56fef643305872a52f62) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ae642d3fad
commit
f9ac8c5a4c
20
meta/recipes-devtools/diffstat/diffstat/aclocal-popen.patch
Normal file
20
meta/recipes-devtools/diffstat/diffstat/aclocal-popen.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
Add a description to the HAVE_POPEN_PROTOTYPE AC_DEFINE so that this define is
|
||||
included in config.h.
|
||||
|
||||
Upstream-Status: Submitted (via email)
|
||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
||||
|
||||
|
||||
diff --git a/aclocal.m4 b/aclocal.m4
|
||||
index 3f20573..ec5ca51 100644
|
||||
--- a/aclocal.m4
|
||||
+++ b/aclocal.m4
|
||||
@@ -931,7 +931,7 @@ ac_cv_td_popen=no,
|
||||
ac_cv_td_popen=yes))
|
||||
AC_MSG_RESULT($ac_cv_td_popen)
|
||||
if test $ac_cv_td_popen = yes; then
|
||||
- AC_DEFINE(HAVE_POPEN_PROTOTYPE)
|
||||
+ AC_DEFINE(HAVE_POPEN_PROTOTYPE,[1],[Conflicting popen prototype])
|
||||
fi
|
||||
])dnl
|
||||
dnl ---------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user