1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
Description: migration to automake 1.13
Automake 1.13 breaks many configurations which were based on obsoleted constructs
This migrations was mostly based on the use of 'gettextize -f' after updating
Gettext to the latest version. Other modifications have been driven by warnings
issued by autoreconf (more precisely by automake, which is called by autoreconf)
.
This patch contains all the modifications which make the package buildable in
a recent environment.
.
Another change was made on 2021-10-26: applied `autoupdate` to get rid
of recently obsoleted constructs.
Index: partclone/configure.ac
===================================================================
--- partclone.orig/configure.ac
+++ partclone/configure.ac
@@ -12,6 +12,9 @@ AC_PROG_LN_S
# Enable large file support.
AC_SYS_LARGEFILE
+# Enable per-target flags
+AM_PROG_CC_C_O
+
# default value##
supported_fs=""
@@ -286,6 +289,10 @@ if test "$enable_ntfs" = "yes"; then
ntfs_3g_l=0
ntfsprogs_h=0
ntfsprogs_l=0
+
+ dnl fix the compilation with gcc-14
+ AC_DEFINE(HAVE_TIME_H)
+
#check library of some filesystems
dnl Check for NTFS-3g
AS_MESSAGE([checking for NTFS-3g Library and Header files ... ...])
@@ -478,6 +485,9 @@ fi
enable_memtrace=$enable_mtrace
AM_CONDITIONAL(ENABLE_MEMTRACE, test "$enable_memtrace" = yes)
+# fix bug #1093194
+AC_CHECK_HEADERS([byteswap.h], ,
+ AC_MSG_ERROR([*** byteswap header file (byteswap.h) not found]))
##extra test
AC_ARG_ENABLE([fs-test],
|