mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
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>
This commit is contained in:
parent
d9dbb57b94
commit
a19ce72310
1 changed files with 1 additions and 8 deletions
|
|
@ -237,17 +237,10 @@ fi
|
||||||
|
|
||||||
dnl Check for scandir64
|
dnl Check for scandir64
|
||||||
AC_MSG_CHECKING(for LFS calls)
|
AC_MSG_CHECKING(for LFS calls)
|
||||||
lfs=
|
AC_TRY_LINK([#include <dirent.h>],
|
||||||
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>],
|
|
||||||
[struct dirent64 a; ],
|
[struct dirent64 a; ],
|
||||||
[have_lfs=yes],
|
[have_lfs=yes],
|
||||||
[have_lfs=no])
|
[have_lfs=no])
|
||||||
fi
|
|
||||||
if test "$have_lfs" = "yes"; then
|
if test "$have_lfs" = "yes"; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE([HAVE_LFS], 1, [Have LFS])
|
AC_DEFINE([HAVE_LFS], 1, [Have LFS])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue