Mercurial > audlegacy-plugins
comparison configure.ac @ 2935:6f0eccec978e
applied a patch made by Linus Walleij that fixes the MTP plugin on libmtp >0.3, thanks!
author | Cristi Magherusan <majeru@atheme.org> |
---|---|
date | Sat, 06 Sep 2008 01:58:02 +0300 |
parents | 296fd6e83edb |
children | 597857a52f7c |
comparison
equal
deleted
inserted
replaced
2934:f1a9098091c7 | 2935:6f0eccec978e |
---|---|
1395 if test "x$have_mtp_up" = "xyes"; then | 1395 if test "x$have_mtp_up" = "xyes"; then |
1396 have_mtp_up=yes | 1396 have_mtp_up=yes |
1397 PKG_CHECK_MODULES(MTP, [libmtp >= 0.1.3], [GENERAL_PLUGINS="$GENERAL_PLUGINS mtp_up" ], [have_mtp_up="no"]) | 1397 PKG_CHECK_MODULES(MTP, [libmtp >= 0.1.3], [GENERAL_PLUGINS="$GENERAL_PLUGINS mtp_up" ], [have_mtp_up="no"]) |
1398 MTP_LIBS=`pkg-config --libs libmtp` | 1398 MTP_LIBS=`pkg-config --libs libmtp` |
1399 MTP_CFLAGS=`pkg-config --cflags libmtp` | 1399 MTP_CFLAGS=`pkg-config --cflags libmtp` |
1400 dnl Check for libmtp 0.3.0+ | |
1401 PKG_CHECK_EXISTS(libmtp >= 0.3.0, libmtp_030_pkg=yes, libmtp_030_pkg=no) | |
1402 if test x"$libmtp_030_pkg" = "xyes" ; then | |
1403 AC_DEFINE([HAVE_LIBMTP_030], 1, [indidaces if libmtp 0.3.0 is installed]) | |
1404 fi | |
1400 else | 1405 else |
1401 have_mtp_up=no | 1406 have_mtp_up=no |
1402 AC_MSG_RESULT([*** mtp upload plugin disabled by request ***]) | 1407 AC_MSG_RESULT([*** mtp upload plugin disabled by request ***]) |
1403 fi | 1408 fi |
1404 AC_SUBST(MTP_LIBS) | 1409 AC_SUBST(MTP_LIBS) |