commit:     d75aebb58924e152123c82e9b48553f4e43c7218
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  6 19:36:15 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Jan  7 19:59:22 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=d75aebb5

Drop obsolete check for trunctate length parameter type

This hasn't been used since f27622d796b1ee07a604b0fdb3a2c15c9e0c3343.

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 configure.ac | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/configure.ac b/configure.ac
index d690440..2835794 100644
--- a/configure.ac
+++ b/configure.ac
@@ -309,18 +309,6 @@ dnl uClibc doesn't currently provide dlvsym() so lets
 dnl verify the toolchain supports it
 AC_CHECK_FUNCS([dlvsym])
 
-dnl when using libc5, (f)trucate's offset argument type is size_t with
-dnl libc5, but it's off_t with libc6 (glibc2).
-AC_MSG_CHECKING([truncate argument type])
-AC_EGREP_HEADER([truncate.*size_t], [unistd.h],
-       [dnl
-               AC_MSG_RESULT([size_t])
-               AC_DEFINE([TRUNCATE_T], [size_t], [truncate arg type])
-       ],[dnl
-               AC_MSG_RESULT([off_t])
-               AC_DEFINE([TRUNCATE_T], [off_t], [truncate arg type])
-])
-
 dnl Check if libc provides RTLD_NEXT
 AC_MSG_CHECKING([for RTLD_NEXT])
 AC_TRY_COMPILE([

Reply via email to