summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2005-09-29 12:55:06 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2005-09-29 12:55:06 +0000
commit9097b1df501e3913306e4b9215626ba8f0346b85 (patch)
treeec4d79c1dfa7827a70fd5c2dc73217c5002c561d /configure.ac
parent7f92fdaeb6dbffc37548f26b3f5f7b79e1cc79ff (diff)
downloadlibgpod-9097b1df501e3913306e4b9215626ba8f0346b85.tar.gz
libgpod-9097b1df501e3913306e4b9215626ba8f0346b85.tar.xz
libgpod-9097b1df501e3913306e4b9215626ba8f0346b85.zip
* applied Chrisophe's patch to make libgdk optional
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1110 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4cbed98..2db2349 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,6 +59,9 @@ AC_SUBST(LIBGPOD_LIBS)
PKG_CHECK_MODULES(GDKPIXBUF, gdk-pixbuf-2.0, have_gdkpixbuf=yes, have_gdkpibux=no)
AM_CONDITIONAL(HAVE_GDKPIXBUF, test x"$have_gdkpixbuf" = xyes)
+if test x"have_gdkpixbuf" = xyes; then
+ AC_DEFINE_UNQUOTED(HAVE_GDKPIXBUF,1, [Whether gdk-pixbuf is installed, ArtworkDB writing support will be disabled if it can't be found])
+fi
AC_SUBST(GDKPIXBUF_CFLAGS)
AC_SUBST(GDKPIXBUF_LIBS)