diff options
author | Jaroslav Kysela <perex@perex.cz> | 2022-05-20 14:35:11 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2022-05-20 14:35:11 +0200 |
commit | a19ce72310ee6687ea3312528f3182e7cf516957 (patch) | |
tree | 298efda1c454c1c181b9d328ac135c350c063ce7 | |
parent | d9dbb57b946b4db438bf919e30ecdc38c177aba4 (diff) | |
download | alsa-lib-a19ce72310ee6687ea3312528f3182e7cf516957.tar.gz |
configure: remove --with-lfs option, but keep the autodetection code
Fixes: a513e65e ("configure: add --with-lfs option")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | configure.ac | 9 |
1 files changed, 1 insertions, 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 <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]) |