summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-09-11 13:41:26 +0100
committerRichard Jones <rjones@redhat.com>2010-09-11 13:42:04 +0100
commite903739935ce32190b1c7b087d2cd9c2d2a7ec88 (patch)
tree9ff6832ed65685f4c4f51b36aa6176bca6538789 /src
parent67fd3a7d99f3001aaf90682e102eba6708d8337a (diff)
downloadlibguestfs-e903739935ce32190b1c7b087d2cd9c2d2a7ec88.tar.gz
libguestfs-e903739935ce32190b1c7b087d2cd9c2d2a7ec88.tar.xz
libguestfs-e903739935ce32190b1c7b087d2cd9c2d2a7ec88.zip
build: require Augeas for library.
Augeas has been required since we moved the inspection code to C, however we were not correctly enforcing this in configure.ac, nor correctly linking to the library until now.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index f2eb6c9b..4c5468bc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -113,7 +113,7 @@ libguestfs_la_SOURCES = \
proto.c \
libguestfs.syms
-libguestfs_la_LIBADD = $(HIVEX_LIBS) $(LIBPCRE) $(LIBMAGIC) $(LTLIBTHREAD) ../gnulib/lib/libgnu.la
+libguestfs_la_LIBADD = $(HIVEX_LIBS) $(AUGEAS_LIBS) $(LIBPCRE) $(LIBMAGIC) $(LTLIBTHREAD) ../gnulib/lib/libgnu.la
# Make libguestfs include the convenience library.
noinst_LTLIBRARIES = libprotocol.la
@@ -121,7 +121,7 @@ libguestfs_la_LIBADD += libprotocol.la
libguestfs_la_CFLAGS = \
-DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"' \
- $(HIVEX_CFLAGS) \
+ $(HIVEX_CFLAGS) $(AUGEAS_CFLAGS) \
$(WARN_CFLAGS) $(WERROR_CFLAGS)
libguestfs_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib