aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2021-09-07 20:54:51 +0300
committerJani Välimaa <wally@mageia.org>2021-09-07 20:54:51 +0300
commit74b15f5daa4bac267f5ac5ef1dd5bd5180bbc8f7 (patch)
tree45f70c51aabf23fb5063a2b8a48a9453cf2ca6f3
parenteeaedf60482af35ec59fa9a4a00a960ab3a0b314 (diff)
downloadrpm-setup-74b15f5daa4bac267f5ac5ef1dd5bd5180bbc8f7.tar
rpm-setup-74b15f5daa4bac267f5ac5ef1dd5bd5180bbc8f7.tar.gz
rpm-setup-74b15f5daa4bac267f5ac5ef1dd5bd5180bbc8f7.tar.bz2
rpm-setup-74b15f5daa4bac267f5ac5ef1dd5bd5180bbc8f7.tar.xz
rpm-setup-74b15f5daa4bac267f5ac5ef1dd5bd5180bbc8f7.zip
configure.ac: update and modernize with autoconf 2.71
-rw-r--r--NEWS2
-rw-r--r--configure.ac10
2 files changed, 7 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 7a6cb60..d516436 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- configure.ac: update and modernize with autoconf 2.71
+
Version 2.61 - 7 September 2021, by Jani Välimaa
- brp-mangle-shebang: fix handling of files without newlines (from Fedora)
- build.macros: run /usr/lib/rpm/brp-remove-la-files after %install (available since RPM 4.17.0)
diff --git a/configure.ac b/configure.ac
index 1873d42..cb6dd30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(rpm-mageia-setup, 2.61, https://bugs.mageia.org/)
+AC_PREREQ([2.69])
+AC_INIT([rpm-mageia-setup],[2.61],[https://bugs.mageia.org/])
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(1.9 -Wno-portability foreign no-dist-gzip dist-xz)
AC_CONFIG_SRCDIR
@@ -11,7 +11,7 @@ AC_CONFIG_MACRO_DIR([m4])
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
-AC_PROG_LIBTOOL
+LT_INIT
AC_CONFIG_FILES([
Makefile
])
@@ -32,7 +32,7 @@ PKG_CHECK_MODULES([RPM], [rpm], [
)
AC_CHECK_LIB([rpmio], [rpmLoadMacroFile])
-AC_HEADER_STDC
+
AC_CHECK_HEADERS([string.h])
CANONTARGETCPU=${target_cpu}
@@ -41,7 +41,7 @@ ARMV7CANONTARGETCPU="armv5tl"
ARMV8CANONTARGETCPU="armv8l"
case "${target_cpu}" in
- *86|athlon|k6|pentium*)
+ *86|athlon|k6|pentium*)
RPMALLARCH="i386 i486 i586 i686 k6 athlon pentium3 pentium4"
CANONTARGETCPU=i586
;;