From fcd561b99a019ebe4f4c6395043179b204958d67 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sat, 29 Aug 2009 21:11:41 +0200 Subject: [PATCH] configure: Fix remaining instances of mpg123_init check. Spotted by Eric Pouech. --- configure | 4 ++-- configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index fa67fcb59d..052154bc15 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 19250355a3..1563876666 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"