diff --git a/configure.ac b/configure.ac
index aa4bb8bfd..dde2d2eb9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -408,7 +408,7 @@ fi
 if test x$use_pkgconfig = xyes; then
 
   if test x$PKG_CONFIG == x; then
-    AC_MSG_ERROR(pkg-config not found.)]
+    AC_MSG_ERROR(pkg-config not found.)
   fi
 
   : #NOP