diff --git a/ChangeLog b/ChangeLog
index ce624480ac5d44eeba00b005bac787aa0e50a994..1abbdf37a3a618c1207dc98ae98092c647fc4e62 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -106,6 +106,11 @@ CVS code -
 	- Don't bother assigning the value of get_mouseinput() to
 	  anything.  Since allow_shortcuts is FALSE, its return value
 	  will always be FALSE. (DLR)
+- configure.ac:
+	- When calling AC_TRY_RUN() to test for a broken regexec()
+	  function, set the fourth parameter to default to "no" (since
+	  it apparently only occurs on glibc 2.2.3-based systems) so
+	  that cross-compiling will work. (DLR, found by Mike Frysinger)
 - nanorc.sample:
 	- Remove specific references to control key shortcuts other than
 	  XON and XOFF. (DLR)
@@ -1574,8 +1579,8 @@ GNU nano 1.2.1 - 2003.04.19
 - General:
 	- Translation updates (see po/ChangeLog for details).
 	- Work around broken regexec() on some systems that segfaults
-	  when passed an empty string.  New function regexec_safe().
-	  (David Benbennick)
+	  when passed an empty string.  This is known to be in glibc
+	  2.2.3.  New function regexec_safe(). (David Benbennick)
 	- Fix various bugs with search string history logging: don't
 	  print a broken error message and freeze if ~/.nano_history is
 	  unreadable, actually show an error message in save_history()
diff --git a/configure.ac b/configure.ac
index 2abcf8548859908624f0839c64fa934432a37d73..b34534e11a78472b1366abdb90878cdd6cdde58a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,7 +56,9 @@ int main(void)
     return 0;
 }],
 	AC_MSG_RESULT(no),
-	AC_MSG_RESULT(yes); AC_DEFINE(BROKEN_REGEXEC, 1, [Define this if your regexec() function segfaults when passed an empty string under certain conditions.])
+	AC_MSG_RESULT(yes)
+	AC_DEFINE(BROKEN_REGEXEC, 1, [Define this if your regexec() function segfaults when passed an empty string under certain conditions.]),
+	AC_MSG_RESULT([cross-compiling; assuming no])
     )
 )