configure: Fix remaining instances of mpg123_init check.

Spotted by Eric Pouech.
This commit is contained in:
Alexandre Julliard 2009-08-29 21:11:41 +02:00
parent 1f220db93e
commit fcd561b99a
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -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

View File

@ -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"