Mercurial > audlegacy-plugins
changeset 1523:ff7d0178ba8e
fixed build system, now MTP support gets compiled if one has libmtp installed
author | Cristi Magherusan <majeru@atheme-project.org> |
---|---|
date | Fri, 24 Aug 2007 21:06:08 +0300 |
parents | 88f5ba93f3dd |
children | 2ce5fa41fd04 56b0d46a02f6 |
files | configure.ac |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Fri Aug 24 20:38:41 2007 +0300 +++ b/configure.ac Fri Aug 24 21:06:08 2007 +0300 @@ -1234,17 +1234,18 @@ dnl *** MTP Upload AC_ARG_ENABLE(mtp_up, -[ --enable-mtp_up enable mtp upload support. (default=enabled)], +[ --disable-mtp_up disable mtp upload support. (default=enabled)], [have_mtp_up=$enableval], -[have_mtp_up=no]) +[have_mtp_up=yes]) if test "x$have_mtp_up" = "xyes"; then have_mtp_up=yes - PKG_CHECK_MODULES(MTP, [libmtp >= 0.1.0], [GENERAL_PLUGINS="$GENERAL_PLUGINS mtp_up" ], [have_mtp_up="no"]) + PKG_CHECK_MODULES(MTP, [libmtp >= 0.1.3], [GENERAL_PLUGINS="$GENERAL_PLUGINS mtp_up" ], [have_mtp_up="no"]) MTP_LIBS=`pkg-config --libs libmtp` MTP_CFLAGS=`pkg-config --cflags libmtp` else have_mtp_up=no + AC_MSG_RESULT([*** mtp upload plugin disabled by request ***]) fi AC_SUBST(MTP_LIBS) AC_SUBST(MTP_CFLAGS)