|
|
# | # |
#------------------------------------------------------------------ | #------------------------------------------------------------------ |
| |
|
AC_ARG_WITH(libgpod, |
|
AC_HELP_STRING([--without-libgpod],[build kipi-plugins without iPod export plugin [default=check]]), |
|
[build_libgpod=$withval], |
|
[build_libgpod=check] |
|
) |
|
|
have_libgpod=no | have_libgpod=no |
if test "$build_libgpod" != "no"; then | if test "$build_libgpod" != "no"; then |
if test "$PKGCONFIGFOUND" = "yes" ; then | if test "$PKGCONFIGFOUND" = "yes" ; then |
|
|
LDFLAGS="$LDFLAGS $LIBGPOD_LIBS" | LDFLAGS="$LDFLAGS $LIBGPOD_LIBS" |
else | else |
AC_MSG_WARN([libgpod is required for the iPod export plugin.]) | AC_MSG_WARN([libgpod is required for the iPod export plugin.]) |
|
if test "$build_libgpod" = "yes" ; then |
|
AC_MSG_ERROR([Failing as --with-libgpod was passed on the command line but not found.]) |
|
DO_NOT_COMPILE="$DO_NOT_COMPILE kipi-plugins" |
|
fi |
fi | fi |
fi | fi |
fi | fi |