diff --git a/configure b/configure
index fa67fcb59d51b409447d239838bd1e9cdbf64dfb..052154bc153047c304cb956912b98e417724c840 100755
--- a/configure
+++ b/configure
@@ -11315,7 +11315,7 @@ if test "x$ac_cv_lib_mpg123_mpg123_feed" = x""yes; then :
 fi
 
 fi
-if test "x$ac_cv_lib_mpg123_mpg123_init" != xyes; then :
+if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
   case "x$with_mpg123" in
   x)   wine_notices="$wine_notices|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
   xno) ;;
@@ -11323,7 +11323,7 @@ if test "x$ac_cv_lib_mpg123_mpg123_init" != xyes; then :
 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
 esac
 fi
-test "x$ac_cv_lib_mpg123_mpg123_init" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
+test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
 
 if test "$ac_cv_header_kstat_h" = "yes"
 then
diff --git a/configure.ac b/configure.ac
index 19250355a360a254150237942d6547ffee2ccfad..1563876666da083618d71d2725422a3d7f56325a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1413,9 +1413,9 @@ if test "$ac_cv_header_mpg123_h" = "yes"
 then
     AC_CHECK_LIB(mpg123,mpg123_feed,[AC_SUBST(LIBMPG123,"-lmpg123")])
 fi
-WINE_NOTICE_WITH(mpg123,[test "x$ac_cv_lib_mpg123_mpg123_init" != xyes],
+WINE_NOTICE_WITH(mpg123,[test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes],
                  [libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.])
-test "x$ac_cv_lib_mpg123_mpg123_init" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
+test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
 
 dnl **** Check for libkstat ****
 if test "$ac_cv_header_kstat_h" = "yes"