aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Bolte <matthias.bolte@googlemail.com>2011-07-28 14:55:21 +0200
committerEric Blake <eblake@redhat.com>2011-07-29 07:35:54 -0600
commitb590866bdb0aea20eda5b96883b8744fedbba88d (patch)
tree31dedb4babe8ff798d9a97f1658304d5a6cfd9bb /.gitignore
parentfreebsd: Avoid /bin/true in commandtest (diff)
downloadlibvirt-b590866bdb0aea20eda5b96883b8744fedbba88d.tar.gz
libvirt-b590866bdb0aea20eda5b96883b8744fedbba88d.tar.bz2
libvirt-b590866bdb0aea20eda5b96883b8744fedbba88d.zip
freebsd: Fix build problem due to picking up the wrong libvirt.h
Gettext annoyingly modifies CPPFLAGS in-place, putting -I/usr/local/include into the search patch if libintl headers must be used from that location. But since we must support automake 1.9.6 which lacks AM_CPPFLAGS, and since CPPFLAGS is used prior to INCLUDES, this means that the build picks up the _old_ installed libvirt.h in priority to the in-tree version, leading to all sorts of weird build failures on FreeBSD. Fix this by teaching configure to undo gettext's actions, but to keep any changes required by gettext at the end of INCLUDES after all in-tree locations are used first. Also requires adding a wrapper Makefile.am and making gnulib-tool create just gnulib.mk files during the bootstrap process. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index dd64ca59d..60220ada5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,7 +36,9 @@
/configure.lineno
/daemon/*_dispatch.h
/docs/hvsupport.html.in
-/gnulib/
+/gnulib/lib/*
+/gnulib/m4/*
+/gnulib/tests/*
/libtool
/libvirt-*.tar.gz
/libvirt-[0-9]*
@@ -74,6 +76,8 @@ results.log
stamp-h
stamp-h.in
stamp-h1
+!/gnulib/lib/Makefile.am
+!/gnulib/tests/Makefile.am
!/m4/virt-*.m4
!/po/*.po
!/po/POTFILES.in