[augeas-devel] augeas: master - Fix build problems uncovered by distcheck

David Lutterkort lutter at fedoraproject.org
Sat Mar 28 04:01:31 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=83de4cbfc51a84b21167f21c02f01e10be04eb41
Commit:        83de4cbfc51a84b21167f21c02f01e10be04eb41
Parent:        e4cec147170ec3499d88b3ef6328f24a82caf5cd
Author:        David Lutterkort <lutter at redhat.com>
AuthorDate:    Fri Mar 27 18:12:17 2009 -0700
Committer:     David Lutterkort <lutter at redhat.com>
CommitterDate: Fri Mar 27 18:12:40 2009 -0700

Fix build problems uncovered by distcheck

---
 examples/Makefile.am |    8 +++-----
 examples/fadot.c     |    1 +
 src/augeas.c         |    1 +
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/examples/Makefile.am b/examples/Makefile.am
index c5fbd4f..5f84d30 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -3,11 +3,9 @@ GNULIB= ../gnulib/lib/libgnu.la
 GNULIB_CFLAGS= -I $(top_srcdir)/gnulib/lib
 
 AM_CFLAGS = @AUGEAS_CFLAGS@ @WARN_CFLAGS@ $(GNULIB_CFLAGS) \
-			-I $(top_builddir)/src
+			-I $(top_srcdir)/src
 
 bin_PROGRAMS = fadot
 
-fadot_SOURCES = fadot.c 
-fadot_LDADD = $(top_builddir)/src/libaugeas.la $(GNULIB)
-
-
+fadot_SOURCES = fadot.c
+fadot_LDADD = $(top_builddir)/src/libfa.la $(GNULIB)
diff --git a/examples/fadot.c b/examples/fadot.c
index b44958a..612e4a8 100644
--- a/examples/fadot.c
+++ b/examples/fadot.c
@@ -29,6 +29,7 @@
 #include <ctype.h>
 #include <string.h>
 #include <getopt.h>
+#include <stdlib.h>
 
 #include "fa.h"
 
diff --git a/src/augeas.c b/src/augeas.c
index e6f6326..192a79a 100644
--- a/src/augeas.c
+++ b/src/augeas.c
@@ -30,6 +30,7 @@
 #include <fnmatch.h>
 #include <argz.h>
 #include <string.h>
+#include <stdarg.h>
 
 /* Some popular labels that we use in /augeas */
 static const char *const s_augeas = "augeas";




More information about the augeas-devel mailing list