From 4d0a603da83bd372b8e7a3cfe0697ac7393eb87d Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 5 Feb 2009 20:46:51 -0800 Subject: Check for libiphone in autofoo Signed-off-by: Matt Colyer --- configure.ac | 1 + src/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 771d9e0..0fc8d09 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,7 @@ AC_PROG_CC AM_PROG_CC_C_O # Checks for libraries. +PKG_CHECK_MODULES(libiphone, libiphone-1.0 >= 0.1.0) PKG_CHECK_MODULES(libglib2, glib-2.0 >= 2.14.1) PKG_CHECK_MODULES(libgthread2, gthread-2.0 >= 2.14.1) PKG_CHECK_MODULES(libfuse, fuse >= 2.7.0) diff --git a/src/Makefile.am b/src/Makefile.am index 4386927..17798c6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,5 @@ -AM_CFLAGS = $(libglib2_CFLAGS) $(libfuse_CFLAGS) -g -AM_LDFLAGS = $(libglib2_LIBS) $(libfuse_LIBS) -liphone +AM_CFLAGS = $(libglib2_CFLAGS) $(libfuse_CFLAGS) $(libiphone_CFLAGS) -g +AM_LDFLAGS = $(libglib2_LIBS) $(libfuse_LIBS) $(libiphone_LIBS) rootsbinexecdir = /sbin rootsbinexec_PROGRAMS = mount.fuse.ifuse -- cgit v1.1-32-gdbae