]> git.alsa-project.org Git - alsa-lib.git/commitdiff
configure: remove --with-lfs option, but keep the autodetection code
authorJaroslav Kysela <perex@perex.cz>
Fri, 20 May 2022 12:35:11 +0000 (14:35 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 20 May 2022 12:35:11 +0000 (14:35 +0200)
Fixes: a513e65e ("configure: add --with-lfs option")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
configure.ac

index d7e7653df2b0b5555ffe50262f856b537086d36f..bb013b561174e6ec818de1f7b33197c91c8a48d3 100644 (file)
@@ -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 <dirent.h>],
+AC_TRY_LINK([#include <dirent.h>],
     [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])