From 290acb8fb3c79f905bf0799448ee97074ddfbc3f Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Thu, 9 Oct 2025 21:05:08 +0300 Subject: [PATCH] autotools updates; --- .gitignore | 1 + configure.ac | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ad855f8..72deab4 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ debian/libtdata* compile INSTALL +build diff --git a/configure.ac b/configure.ac index 201f492..684eb93 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(libtdata, m4_esyscmd([tr -d '\n' < VERSION])) +AC_INIT([libtdata],[m4_esyscmd(tr -d '\n' < VERSION)]) AC_CONFIG_HEADERS([config.h]) @@ -16,7 +16,7 @@ LT_INIT # TODO: Later this is irrelevant, and we should just bail on 32-bit platforms always AC_CHECK_SIZEOF([uintptr_t]) if test "x$ac_cv_sizeof_uintptr_t" == "x"; then - AC_ERROR([Cannot determine size of uintptr_t]) + AC_MSG_ERROR(Cannot determine size of uintptr_t) fi AC_SUBST(ac_cv_sizeof_uintptr_t) @@ -57,10 +57,11 @@ AS_IF([test "x$enable_build_tests" = "xyes"], [ AM_CONDITIONAL(BUILD_TESTS, test "x$enable_build_tests" = "xyes") -AC_OUTPUT([ +AC_CONFIG_FILES([ Makefile lib/libtdata.pc lib/Makefile tests/Makefile include/Makefile man/Makefile]) +AC_OUTPUT