From a19ce72310ee6687ea3312528f3182e7cf516957 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 20 May 2022 14:35:11 +0200 Subject: [PATCH] configure: remove --with-lfs option, but keep the autodetection code Fixes: a513e65e ("configure: add --with-lfs option") Signed-off-by: Jaroslav Kysela --- configure.ac | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index d7e7653d..bb013b56 100644 --- a/configure.ac +++ b/configure.ac @@ -237,17 +237,10 @@ fi dnl Check for scandir64 AC_MSG_CHECKING(for LFS calls) -lfs= -AC_ARG_WITH(lfs, - AS_HELP_STRING([--with-lfs], [Use LFS calls (default = yes)]), - [ have_lfs="$withval" ], [ have_lfs="yes" ]) -HAVE_LIBDL= -if test "$have_lfs" = "yes"; then - AC_TRY_LINK([#include ], +AC_TRY_LINK([#include ], [struct dirent64 a; ], [have_lfs=yes], [have_lfs=no]) -fi if test "$have_lfs" = "yes"; then AC_MSG_RESULT(yes) AC_DEFINE([HAVE_LFS], 1, [Have LFS]) -- 2.47.1