oprofileui-server: 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: 254799258ead1b7a59c301ad2d3e3c7e5b9fb8db)

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-17 10:52:21 +02:00
committed by Richard Purdie
parent 5eb6a4a35e
commit 05ad246866
2 changed files with 24 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
Upstream-Status: Pending
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
diff --git a/configure.ac b/configure.ac
index 2a7010b..62a177e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,11 +3,10 @@ dnl Process this file with autoconf to produce a configure script.
AC_INIT(oprofileui, 0.2.0)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
AC_ISC_POSIX
AC_PROG_CC
-AM_PROG_CC_STDC
AC_HEADER_STDC
AC_PROG_RANLIB
AC_PROG_INTLTOOL

View File

@@ -2,12 +2,14 @@ require oprofileui.inc
SRCREV = "82ecf8c6b53b84f80682a8312f9defa83a95f2a3"
PV = "0.0+git${SRCPV}"
PR = "r0"
PR = "r1"
S = "${WORKDIR}/git"
SRC_URI = "git://git.yoctoproject.org/oprofileui;protocol=git \
file://init"
file://init \
file://obsolete_automake_macros.patch \
"
EXTRA_OECONF += "--disable-client --enable-server"