autotools updates;

This commit is contained in:
Alexander Vdolainen 2025-10-09 21:05:08 +03:00
parent 2759f0da87
commit 290acb8fb3
2 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View File

@ -43,3 +43,4 @@ debian/libtdata*
compile
INSTALL
build

View File

@ -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