diff --git a/ChangeLog b/ChangeLog
index 5c02c6dd91319ac72dfb1011cd740fb7d1738aad..a7fbf6c8756b86dce40207b71f5c2c003d58fc45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,7 @@
 	* src/winio.c: Normalize some whitespace.
 	* Makefile.am, nano.spec.in: Stop distributing the BUGS file.
 	* BUGS: Remove obsolete file; bugs are tracked on Savannah nowadays.
+	* configure.ac: Silence a useless warning about ignoring datarootdir.
 
 2014-06-25  Benno Schulenberg  <bensberg@justemail.net>
 	* src/browser.c (do_browser): Allow 'firstfile' and 'lastfile' to be
diff --git a/configure.ac b/configure.ac
index 72681a1dd2fd610a9e5855744e0f4426af5f3f93..762e9f43d98d6f3635ea0a4a68fc609b4d83c39e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,10 @@ AC_CANONICAL_HOST
 AM_INIT_AUTOMAKE
 AC_CONFIG_HEADERS([config.h])
 
+dnl Silence a pointless warning from the gettext Makefile.
+
+AC_DEFUN([AC_DATAROOTDIR_CHECKED])
+
 dnl Make sure the ONCE macros are available.
 
 AC_PREREQ(2.61)