It basically contains only PACKAGE_* defines, which are not used in the
C parts. Hence, do not make autoconf generate one.
Signed-off-by: Pino Toscano <ptoscano(a)redhat.com>
---
.gitignore | 2 --
MANIFEST | 1 -
Makefile.in | 4 +---
configure.ac | 1 -
libvirt/generator.pl | 2 --
5 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/.gitignore b/.gitignore
index 67f9134..840c0c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,8 +18,6 @@ core.*
/aclocal.m4
/autom4te.cache
/config.cache
-/config.h
-/config.h.in
/config.log
/config.status
/configure
diff --git a/MANIFEST b/MANIFEST
index 444093e..e969dd5 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -2,7 +2,6 @@
aclocal.m4
ChangeLog
config.guess
-config.h.in
config.sub
configure.ac
COPYING
diff --git a/Makefile.in b/Makefile.in
index a0222e5..3857a24 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -45,7 +45,7 @@ clean:
rm -f examples/get_all_domain_stats
distclean: clean
- rm -f config.h config.log config.status configure
+ rm -f config.log config.status configure
rm -rf autom4te.cache
rm -f META
rm -f libvirt/libvirt_version.ml
@@ -96,7 +96,6 @@ dist: ChangeLog
tar -cf - -T MANIFEST | tar -C $(PACKAGE)-$(VERSION) -xf -
$(INSTALL) -m 0755 configure $(PACKAGE)-$(VERSION)/
$(INSTALL) -m 0644 aclocal.m4 $(PACKAGE)-$(VERSION)/
- $(INSTALL) -m 0644 config.h.in $(PACKAGE)-$(VERSION)/
tar zcf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
rm -rf $(PACKAGE)-$(VERSION)
ls -l $(PACKAGE)-$(VERSION).tar.gz
@@ -104,7 +103,6 @@ dist: ChangeLog
check-manifest:
git ls-files > .check-manifest; \
echo aclocal.m4 >> .check-manifest; \
- echo config.h.in >> .check-manifest; \
sort -o .check-manifest .check-manifest; \
sort MANIFEST > .orig-manifest; \
diff -u .orig-manifest .check-manifest; rv=$$?; \
diff --git a/configure.ac b/configure.ac
index 6ca44b0..91ce547 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,7 +79,6 @@ echo "Thanks for downloading" $PACKAGE_STRING
echo "------------------------------------------------------------"
dnl Produce output files.
-AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([META
libvirt/libvirt_version.ml
Makefile
diff --git a/libvirt/generator.pl b/libvirt/generator.pl
index e850500..279331a 100755
--- a/libvirt/generator.pl
+++ b/libvirt/generator.pl
@@ -232,8 +232,6 @@ print F <<'END';
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "config.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
--
2.21.0