diff --git a/configure.in b/configure.in
index bb30efc1ec9e3911d584ba4e254aa2ec4fe3a245..8ee4a3a47fca75f72a32084b764de61fcfcafa5e 100644
--- a/configure.in
+++ b/configure.in
@@ -12,10 +12,10 @@ AC_CANONICAL_SYSTEM
 # in mysqlbinlog.cc / check_master_version().
 #
 # When merging new MySQL releases, update the version number to match the
-# MySQL version number, but reset the maria subrelease (m1).
+# MySQL version number.
 #
 # Note: the following line must be parseable by win/configure.js:GetVersion()
-AM_INIT_AUTOMAKE(mariadb, 5.1.38-beta)
+AM_INIT_AUTOMAKE(mysql, 5.1.38-maria-beta)
 AM_CONFIG_HEADER([include/config.h:config.h.in])
 
 PROTOCOL_VERSION=10