Jiri Slaby
16a8978084
- Add systemtap-automake112.patch: Fix build with automake 1.12: + Support for automatic de-ANSI-fication has been removed. + Patch taken from upstream, git commit id 5b2bc70. Using the upstream patch now. Note: the patch is >99% useless: Patching configure => it's autogenerated by autoreconf call anyway. Most projects for this reason don't even carry the generated configure script in their git tree. OBS-URL: https://build.opensuse.org/request/show/125044 OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=49
93 lines
2.3 KiB
Diff
93 lines
2.3 KiB
Diff
From 5b2bc70bd7db920c50b90cea554ca93a02cdf0b2 Mon Sep 17 00:00:00 2001
|
|
From: Nitin A Kamble <nitin.a.kamble@intel.com>
|
|
Date: Tue, 8 May 2012 14:13:49 -0400
|
|
Subject: [PATCH] configury: automake 1.12 as deprecated automatic de-ANSI-fication support
|
|
|
|
Fix this issue with automake 1.12:
|
|
|
|
| configure.ac:23: error: automatic de-ANSI-fication support has been removed
|
|
|
|
[fche:] Note that the systemtap git repository and source releases include
|
|
autoconf- and automake-generated files, so this is only an issue for those
|
|
who have an unusual reason to regenerate them.
|
|
|
|
Signed-Off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
|
|
---
|
|
configure | 39 ---------------------------------------
|
|
configure.ac | 1 -
|
|
2 files changed, 0 insertions(+), 40 deletions(-)
|
|
|
|
diff --git a/configure b/configure
|
|
index a6cd57c..89291f3 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -682,8 +682,6 @@ MSGFMT
|
|
GETTEXT_MACRO_VERSION
|
|
USE_NLS
|
|
RANLIB
|
|
-ANSI2KNR
|
|
-U
|
|
am__fastdepCXX_FALSE
|
|
am__fastdepCXX_TRUE
|
|
CXXDEPMODE
|
|
@@ -6449,43 +6447,6 @@ if test "$am_t" != yes; then
|
|
fi
|
|
|
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
|
|
-$as_echo_n "checking for function prototypes... " >&6; }
|
|
-if test "$ac_cv_prog_cc_c89" != no; then
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
-$as_echo "yes" >&6; }
|
|
-
|
|
-$as_echo "#define PROTOTYPES 1" >>confdefs.h
|
|
-
|
|
-
|
|
-$as_echo "#define __PROTOTYPES 1" >>confdefs.h
|
|
-
|
|
-else
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
-
|
|
-
|
|
-if test "$ac_cv_prog_cc_stdc" != no; then
|
|
- U= ANSI2KNR=
|
|
-else
|
|
- U=_ ANSI2KNR=./ansi2knr
|
|
-fi
|
|
-# Ensure some checks needed by ansi2knr itself.
|
|
-
|
|
-for ac_header in string.h
|
|
-do :
|
|
- ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
|
|
-if test "x$ac_cv_header_string_h" = xyes; then :
|
|
- cat >>confdefs.h <<_ACEOF
|
|
-#define HAVE_STRING_H 1
|
|
-_ACEOF
|
|
-
|
|
-fi
|
|
-
|
|
-done
|
|
-
|
|
-
|
|
if test -n "$ac_tool_prefix"; then
|
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 51d3960..93450d3 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -20,7 +20,6 @@ AC_PROG_CXX
|
|
AC_PROG_CPP
|
|
AM_PROG_CC_STDC
|
|
AM_PROG_CC_C_O
|
|
-AM_C_PROTOTYPES
|
|
AC_PROG_RANLIB
|
|
AC_OBJEXT
|
|
AC_EXEEXT
|
|
--
|
|
1.7.3.4
|
|
|
|
|