summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-02-05 20:46:51 -0800
committerGravatar Matt Colyer2009-02-05 20:46:51 -0800
commit4d0a603da83bd372b8e7a3cfe0697ac7393eb87d (patch)
tree436657b4aaa771005047f3726fda064430929ae0
parentb3e4adbda64ffea81794b8c928922c5778636d05 (diff)
downloadifuse-4d0a603da83bd372b8e7a3cfe0697ac7393eb87d.tar.gz
ifuse-4d0a603da83bd372b8e7a3cfe0697ac7393eb87d.tar.bz2
Check for libiphone in autofoo
Signed-off-by: Matt Colyer <matt@colyer.name>
-rw-r--r--configure.ac1
-rw-r--r--src/Makefile.am4
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