diff options
author | youcai <omegacoleman@gmail.com> | 2024-05-30 19:31:36 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-05-30 19:31:36 +0200 |
commit | 1acc67ac4412aa9a75d1c58ebf93f2b29585a960 (patch) | |
tree | f86da5e0f9e888563b452ae5a93457bfc15af5d0 /src/auto | |
parent | 88c8c547d5fc380e5685c2b01ec564ccdf9b259a (diff) |
patch 9.1.0452: Configure checks for libelf unnecessarilyv9.1.0452
Problem: Configure checks for libelf unnecessarily
Solution: Remove configure check (youcai)
closes: #14879
Signed-off-by: youcai <omegacoleman@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/auto')
-rwxr-xr-x | src/auto/configure | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/src/auto/configure b/src/auto/configure index 8433133c61..98b9580b74 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -11407,55 +11407,6 @@ printf "%s\n" "no" >&6; } fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default" -if test "x$ac_cv_header_elf_h" = xyes -then : - HAS_ELF=1 -fi - -if test "$HAS_ELF" = 1; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lelf" >&5 -printf %s "checking for main in -lelf... " >&6; } -if test ${ac_cv_lib_elf_main+y} -then : - printf %s "(cached) " >&6 -else $as_nop - ac_check_lib_save_LIBS=$LIBS -LIBS="-lelf $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -int -main (void) -{ -return main (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - ac_cv_lib_elf_main=yes -else $as_nop - ac_cv_lib_elf_main=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_main" >&5 -printf "%s\n" "$ac_cv_lib_elf_main" >&6; } -if test "x$ac_cv_lib_elf_main" = xyes -then : - printf "%s\n" "#define HAVE_LIBELF 1" >>confdefs.h - - LIBS="-lelf $LIBS" - -fi - -fi - ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |