--- configure
+++ configure
@@ -25967,6 +25967,8 @@
 
 
 
+have_libelf=no
+if false; then
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBELF" >&5
 $as_echo_n "checking for LIBELF... " >&6; }
@@ -26196,6 +26198,7 @@
     have_libelf=yes
   fi
 fi
+fi
 
 if test $have_libelf = yes; then
 
