systemtap: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

(From OE-Core rev: 3a335af7da5a94249d2f0d49d89cf0c8f180776e)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Marko Lindqvist 2013-02-11 06:01:36 +02:00 committed by Richard Purdie
parent 41042073b0
commit 311924f506
3 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,27 @@
Upstream-Status: Pending
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
diff --git a/configure.ac b/configure.ac
index 2a30ea1..713800d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,6 @@ AC_PROG_LN_S
AC_PROG_CC
AC_PROG_CXX
AC_PROG_CPP
-AM_PROG_CC_STDC
AM_PROG_CC_C_O
AC_PROG_RANLIB
AC_OBJEXT
diff --git a/runtime/staprun/configure.ac b/runtime/staprun/configure.ac
index 48f48db..68152db 100644
--- a/runtime/staprun/configure.ac
+++ b/runtime/staprun/configure.ac
@@ -13,7 +13,6 @@ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AC_PROG_CC
AC_PROG_CXX
-AM_PROG_CC_STDC
AM_PROG_CC_C_O
AC_PROG_INSTALL
AC_SYS_LARGEFILE

View File

@ -6,7 +6,7 @@ DEPENDS = "elfutils sqlite3 systemtap-native"
DEPENDS_class-native = "elfutils-native sqlite3-native gettext-native"
DEPENDS_class-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext"
PR = "r0"
PR = "r1"
EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \
--without-nss --without-avahi \

View File

@ -6,6 +6,7 @@ PV = "1.8+git${SRCPV}"
SRC_URI = "git://sourceware.org/git/systemtap.git;protocol=git \
file://docproc-build-fix.patch \
file://obsolete_automake_macros.patch \
"
FILESPATH = "${FILE_DIRNAME}/systemtap"