- Update the spec file by running spec-cleaner - Update patches to final upstream description * update: fix-build-with-older-autotools.patch OBS-URL: https://build.opensuse.org/request/show/741591 OBS-URL: https://build.opensuse.org/package/show/devel:tools/scanmem?expand=0&rev=8
29 lines
828 B
Diff
29 lines
828 B
Diff
From: Andrea Stacchiotti <andreastacchiotti@gmail.com>
|
|
Date: Tue, 9 Jan 2018 18:10:40 +0100
|
|
Subject: configure: Add `AM_PROG_CC_C_O` macro
|
|
References: https://github.com/scanmem/scanmem/issues/289
|
|
Patch-mainline: v0.18
|
|
Git-commit: 3b4bf8366c6fe2e15798ab252cfeda76fb003105
|
|
|
|
This macro checks that the C compiler supports the -c and -o
|
|
options together, which is needed to build the testing exe.
|
|
|
|
This macro is needed only for automake <1.14, but add it for
|
|
compatibility with older environments.
|
|
---
|
|
configure.ac | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 5b8bac337589..45dfceeeaff2 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -9,6 +9,7 @@ AC_HEADER_STDBOOL
|
|
LT_INIT
|
|
|
|
IT_PROG_INTLTOOL
|
|
+AM_PROG_CC_C_O
|
|
|
|
AC_CHECK_FUNCS(memset strcasecmp strchr strdup strerror strtoul getline)
|
|
|