Don't dist 'glibconfig.h'
authorRyan Lortie <desrt@desrt.ca>
Fri, 6 Aug 2010 14:53:07 +0000 (10:53 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 6 Aug 2010 14:53:07 +0000 (10:53 -0400)
This is causing very serious problems when doing out-of-tree builds from
tarballs on architectures that are different from the architecture that
the tarball was created on.

This commit breaks the build in those cases, but I'll fix that in the
next commits.

https://bugzilla.gnome.org/show_bug.cgi?id=626107

glib/Makefile.am

index ebe41c9..be85cb0 100644 (file)
@@ -16,7 +16,7 @@ CLEANFILES =
 DISTCLEANFILES += glibconfig-stamp glibconfig.h
 BUILT_SOURCES += glibconfig-stamp
 configexecincludedir = $(libdir)/glib-2.0/include
-configexecinclude_HEADERS = glibconfig.h
+nodist_configexecinclude_HEADERS = glibconfig.h
 glibconfig-stamp: ../config.status
        $(AM_V_GEN) cd $(top_builddir) && \
          $(SHELL) ./config.status glib/glibconfig.h