From de297ad8d83417c67ee6d309830ed998ba848882 Mon Sep 17 00:00:00 2001 From: nicowallmeier <> Date: Tue, 18 Jul 2006 17:04:55 +0000 Subject: [lcd4linux @ 2006-07-18 17:04:55 by nicowallmeier] Changed test for libmpd --- configure | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'configure') diff --git a/configure b/configure index d52c165..0334214 100755 --- a/configure +++ b/configure @@ -8517,8 +8517,9 @@ cat >>confdefs.h <<\_ACEOF _ACEOF else - { echo "$as_me:$LINENO: WARNING: linux/dvb/frontend.h header not found: dvb plugin disabled" >&5 -echo "$as_me: WARNING: linux/dvb/frontend.h header not found: dvb plugin disabled" >&2;} + PLUGINS="$PLUGINS plugin_dvb.o" + { echo "$as_me:$LINENO: WARNING: linux/dvb/frontend.h header not found: using ioctl" >&5 +echo "$as_me: WARNING: linux/dvb/frontend.h header not found: using ioctl" >&2;} fi fi if test "$PLUGIN_EXEC" = "yes"; then @@ -8925,13 +8926,13 @@ fi done if test "$has_libmpd_header" = "true"; then - { echo "$as_me:$LINENO: checking for libmpd_init in -llibmpd" >&5 -echo $ECHO_N "checking for libmpd_init in -llibmpd... $ECHO_C" >&6; } -if test "${ac_cv_lib_libmpd_libmpd_init+set}" = set; then + { echo "$as_me:$LINENO: checking for mpd_connect in -lmpd" >&5 +echo $ECHO_N "checking for mpd_connect in -lmpd... $ECHO_C" >&6; } +if test "${ac_cv_lib_mpd_mpd_connect+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-llibmpd $LIBS" +LIBS="-lmpd $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -8945,11 +8946,11 @@ cat >>conftest.$ac_ext <<_ACEOF #ifdef __cplusplus extern "C" #endif -char libmpd_init (); +char mpd_connect (); int main () { -return libmpd_init (); +return mpd_connect (); ; return 0; } @@ -8988,21 +8989,21 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_lib_libmpd_libmpd_init=yes + ac_cv_lib_mpd_mpd_connect=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_cv_lib_libmpd_libmpd_init=no + ac_cv_lib_mpd_mpd_connect=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_libmpd_libmpd_init" >&5 -echo "${ECHO_T}$ac_cv_lib_libmpd_libmpd_init" >&6; } -if test $ac_cv_lib_libmpd_libmpd_init = yes; then +{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpd_mpd_connect" >&5 +echo "${ECHO_T}$ac_cv_lib_mpd_mpd_connect" >&6; } +if test $ac_cv_lib_mpd_mpd_connect = yes; then has_libmpd_lib="true" else has_libmpd_lib="false" -- cgit v1.2.3