diff --git a/configure b/configure
index 6117e4051dd736032951747196d824c4cbd20f30..c63ac23490bd709b6ff8d169840ed87fdea0b558 100755
--- a/configure
+++ b/configure
@@ -6898,7 +6898,7 @@ else
 fi
 rm -f conftest*
 
-for ac_func in rl_completion_matches
+for ac_func in rl_completion_matches rl_filename_completion_function
 do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:6905: checking for $ac_func" >&5