--- configure.orig	2021-01-09 16:35:30 UTC
+++ configure
@@ -16276,6 +16276,15 @@ $as_echo "$gl_cv_type_wctrans_t" >&6; }
   fi
 
 
+  if test $ac_use_included_regex = yes; then
+    case $LIBOBJS in
+    "regex.$ac_objext"   | \
+  *" regex.$ac_objext"   | \
+    "regex.$ac_objext "* | \
+  *" regex.$ac_objext "* ) ;;
+  *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
+    esac
+  fi
 
 
 
