1. 21 11月, 2012 1 次提交
    • H
      run bootstrap if .gnulib is not present · f2f9ae42
      Hu Tao 提交于
      If .gnulib is deleted unexpectedly, autogen.sh will fail with message:
      
      fatal: ambiguous argument '.gnulib': unknown revision or path not in the working tree.
      Use '--' to separate paths from revisions, like this:
      'git <command> [<revision>...] -- [<file>...]'
      
      which is actually given by git diff .gnulib, which doesn't exist.
      
      In the case to run bootstrap to create .gnulib.
      f2f9ae42
  2. 01 10月, 2012 1 次提交
    • E
      build: avoid infinite autogen loop · c5f16220
      Eric Blake 提交于
      Several people have reported that if the .gnulib submodule is dirty,
      then 'make' will go into an infinite loop attempting to rerun bootstrap,
      because that never cleans up the dirty submodule.  By default, we
      should halt and make the user investigate, but if the user doesn't
      know why or care that the submodule is dirty, I also added the ability
      to 'make CLEAN_SUBMODULE=1' to get things going again.
      
      Also, while testing this, I noticed that when a submodule update was
      needed, 'make' would first run autoreconf, then bootstrap (which
      reruns autoreconf); adding a strategic dependency allows for less work.
      
      * .gnulib: Update to latest, for maint.mk improvements.
      * cfg.mk (_autogen): Also hook maint.mk, to run before autoreconf.
      * autogen.sh (bootstrap): Refuse to run if gnulib is dirty, unless
      user requests discarding gnulib changes.
      c5f16220
  3. 20 9月, 2012 1 次提交
  4. 25 6月, 2012 1 次提交
  5. 16 6月, 2012 1 次提交
    • C
      autogen: Always abide --system · 2cd29c31
      Cole Robinson 提交于
      If we do ./autogen.sh && ./configure, then later try ./autogen.sh --system,
      configure isn't invoked with the requested params. Instead
      config.status --recheck is run.
      2cd29c31
  6. 10 11月, 2011 1 次提交
    • E
      build: allow for local gnulib diffs · 676fdf8c
      Eric Blake 提交于
      Commit f7bd00c1 pulled in a gnulib module that fails to compile
      on mingw.  While it would be nice to pull in a newer version of
      .gnulib that fixes this, it is difficult to backport any .gnulib
      update to older releases.  So, it makes sense to take advantage
      of gnulib-tool's ability to support local diffs, where we can
      apply specific diffs in our use of gnulib without waiting for
      upstream gnulib to pick up those changes, as well as avoiding
      a wholesale .gnulib update.  The existence of local diffs will
      also make it easier to backport fixes against a tarball (as long
      as a tarball and libvirt.git share the same .gnulib commit, then
      the tarball can be patched by applying the same local diffs as
      a post-release libvirt.git commit, without having to rerun an
      entire gnulib-tool bootstrap).
      
      This patch introduces the framework for supporting local diffs,
      without actually introducing any.
      
      * bootstrap.conf (local_gl_dir): New variable.
      * autogen.sh (bootstrap_hash): Hash any local diffs, to force a
      re-bootstrap if just diffs change.
      * cfg.mk (_update_required): Likewise.
      676fdf8c
  7. 12 2月, 2011 1 次提交
  8. 26 1月, 2011 1 次提交
  9. 22 1月, 2011 1 次提交
  10. 06 10月, 2010 1 次提交
    • E
      build: require pkg-config for bootstrap · b0f34a6a
      Eric Blake 提交于
      * .gnulib: Update to latest, for bootstrap fixes.
      * bootstrap: Synchronize with upstream.
      * bootstrap.conf: Add pkg-config pre-requisite.
      * autogen.sh: Tweak wording message.
      Reported by Justin Clift, and with feedback from Bruno Haible.
      b0f34a6a
  11. 01 10月, 2010 1 次提交
    • E
      build: fix example build on MacOS X · f8db6c90
      Eric Blake 提交于
      Partial reversion of commit 76d87a59, now that bootstrap is smarter.
      
      * .gnulib: Update to latest, for poll and bootstrap fixes.
      * bootstrap: Resync from gnulib.
      * autogen.sh: Drop redundant tool checks; bootstrap does them
      better, by honoring environment variables.
      * examples/domain-events/events-c/Makefile.am (INCLUDES)
      (event_test_LDADD): Use gnulib library during build.
      * bootstrap.conf (gnulib_tool_option_extras): Revert --libtool
      addition, now that updated bootstrap does it for us.
      Reported by Justin Clift.
      f8db6c90
  12. 11 8月, 2010 1 次提交
  13. 05 8月, 2010 1 次提交
    • E
      build: rerun bootstrap if po/Makevars got nuked · 5f211d4b
      Eric Blake 提交于
      There has been a frequent complaint of:
      
      make[2]: Entering directory `/home/remote/eblake/libvirt/po'
      make[2]: *** No rule to make target `/config.status', needed by `Makefile'.  Stop.
      
      It happens after nuking and regenerating the po directory,
      which is a common action after running anything like
      'make dist' or 'make rpm' that dirties all the .po files.
      
      Teach autogen.sh that it must regenerate po/Makevars to avoid
      the missing variable declaration, and teach cfg.mk to recognize
      that a nuked po directory is cause to rerun autogen.sh.
      
      * cfg.mk (_update_required): Check for po/Makevars.
      * autogen.sh (bootstrap): Run bootstrap if it got lost.
      Diagnosed by Justin Clift.
      5f211d4b
  14. 03 4月, 2010 1 次提交
    • E
      build: improve check for out-of-date .gnulib submodule · d002c250
      Eric Blake 提交于
      git reset --hard 96e5a2d4
      ./autogen.sh
      make -s
      git pull
      make -s    <-- expecting auto-bootstrap here, doesn't happen
      
      Use git diff to expose whether the submodule has untracked changes,
      which are typical on an incremental pull if .gnulib was updated but
      the user did not manually run 'git submodule update'.
      
      After this patch is applied, I encountered a new problem when
      following the reproducing pattern.  Basically, the change to .gnulib
      between libvirt's commit 96e5a2d4 and this patch introduced a change
      to sys_ioctl.in.h, but gnulib (intentionally) does not make the
      replacement headers depend on Makefile changes.  Therefore, I ended up
      with the generated replacement header being broken:
      gnulib/lib/sys/ioctl.h complained about a use of @.  But that seems
      like something that should be fixed upstream in gnulib's bootstrap
      script (that is, when doing a gnulib update, all files created from
      .in.h file should probably be deleted).  Without the benefit of that
      proposed gnulib fix, I worked around the problem by manually removing
      the stale gnulib/lib/sys/ioctl.h.
      
      * autogen.sh (t): Also run bootstrap if the gnulib submodule needs
      to be updated.
      * cfg.mk (_autogen): Likewise.
      Reported by Matthias Bolte.
      d002c250
  15. 27 3月, 2010 1 次提交
  16. 17 3月, 2010 1 次提交
    • J
      do not require two ./autogen.sh runs to permit "make" · be7780b0
      Jim Meyering 提交于
      * autogen.sh (bootstrap_hash): New function.
      Running bootstrap may update the gnulib SHA1, yet we were computing
      t=$(git submodule status ...) *prior* to running bootstrap, and
      then recording that sometimes-stale value in the stamp file upon
      a successful bootstrap run.  That would require two (lengthy!)
      bootstrap runs to update the stamp file.
      be7780b0
  17. 11 3月, 2010 1 次提交
  18. 25 2月, 2010 1 次提交
  19. 24 2月, 2010 2 次提交
    • E
      maint: import modern bootstrap · 38c9440a
      Eric Blake 提交于
      Copy the latest gnulib bootstrap, which runs autoreconf and
      generates po/Makevars for us.  Other improvements include some
      improved prerequisite tool checking.
      
      This also fixes a bug in the .pot files, regarding the copyright holder.
      
      * bootstrap: Update to version in .gnulib/build-aux.
      * bootstrap.conf (MSGID_BUGS_ADDRESS, COPYRIGHT_HOLDER, SKIP_PO)
      (gnulib_mk, ACLOCAL, bootstrap_epilogue): Provide overrides.
      * autogen.sh (autoreconf): Avoid redundant autoreconf if bootstrap
      was run.
      * po/Makevars: Delete, now that bootstrap creates it.
      * po/.gitignore: Update.
      38c9440a
    • E
      maint: fix quoting in autogen.sh · f1ef0e31
      Eric Blake 提交于
      * autogen.sh (srcdir, THEDIR, OBJ_DIR): Use proper quoting.
      (.git-module-status): Abort if bootstrap fails.
      f1ef0e31
  20. 07 12月, 2009 1 次提交
  21. 10 7月, 2009 2 次提交
    • J
      build: automatically rerun ./bootstrap when needed · f272378d
      Jim Meyering 提交于
      When "git pull" (or any other operation) brings in a new version of the
      gnulib git submodule, you must rerun the autogen.sh script.  With this
      change, "make" now fails and tells you to run ./autogen.sh, when needed.
      * autogen.sh: Maintain a new file, .git-module-status, containing
      the current submodule status.  If it doesn't exist or its content
      is different from what "git submodule status" prints, then run
      ./bootstrap
      * .gitignore: Add .git-module-status
      * cfg.mk: Diagnose out of date submodule and fail.
      * README-hacking: Update not to mention bootstrap.
      * Makefile.am (MAINTAINERCLEANFILES): Add .git-module-status,
      so that "make maintainerclean" will remove it.
      f272378d
    • J
      build: make autogen.sh use autoreconf -if · e335b2ca
      Jim Meyering 提交于
      * autogen.sh: Use "autoreconf -if" instead of open-coding it with
      manual and unconditional invocation of each separate tool.
      e335b2ca
  22. 08 7月, 2009 1 次提交
    • J
      generate ChangeLog from git logs into distribution tarball · 27b175b9
      Jim Meyering 提交于
      No longer maintain a version-controlled ChangeLog file, but do
      continue to include a ChangeLog file in distribution tarball.
      * Makefile.am (gen-ChangeLog): New rule.
      (dist-hook): Depend on it.
      (EXTRA_DIST): Add ChangeLog-old.
      * bootstrap (modules): Add gitlog-to-changelog.
      * ChangeLog: Remove file.  Renamed to...
      * ChangeLog-old: ...this.  New file.
      * autogen.sh: Touch ChangeLog, to ensure it exists.  For automake.
      27b175b9
  23. 06 2月, 2008 1 次提交
  24. 06 12月, 2007 1 次提交
    • J
      Use gnulib, starting with its physmem and getaddrinfo modules. · 261e7581
      Jim Meyering 提交于
      New files go into these directories:
        gnulib/lib
        gnulib/m4
        gnulib/tests
      
      * bootstrap: A wrapper around gnulib-tool.
      * configure.in: Invoke gl_EARLY and gl_INIT, being careful to put gl_EARLY
      before any macro that uses AC_COMPILE_IFELSE.
      (AC_OUTPUT): Add lib/Makefile and gl-tests/Makefile.  Remove m4/Makefile.
      * Makefile.am (SUBDIRS): Add gnulib/lib and remove m4.  Add gnulib/tests
      early enough that those tests run before any libvirt unit tests.
      * m4/Makefile.am: Remove file.  Not needed.
      * src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib -I../gnulib/lib.
      (LDADDS, libvirt_la_LIBADD): Add ../gnulib/lib/libgnu.la.
      * src/nodeinfo.c: Include "physmem.h".
      * qemud/qemud.c, src/remote_internal.c: Include "getaddrinfo.h".
      (MEMINFO_PATH, linuxNodeInfoMemPopulate): Remove definitions.
      (virNodeInfoPopulate): Use physmem_total, not linuxNodeInfoMemPopulate.
      * tests/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib -I../gnulib/lib.
      (LDADDS): Add ../gnulib/lib/libgnu.la.
      * qemud/Makefile.am (libvirtd_LDADD): Add ../gnulib/lib/libgnu.la.
      * tests/nodeinfotest.c (linuxTestCompareFiles): No longer read total
      memory from a file.
      Update expected output not to include "Memory: NNNN"
      * tests/nodeinfodata/linux-nodeinfo-1.txt:
      * tests/nodeinfodata/linux-nodeinfo-2.txt:
      * tests/nodeinfodata/linux-nodeinfo-3.txt:
      * tests/nodeinfodata/linux-nodeinfo-4.txt:
      * tests/nodeinfodata/linux-nodeinfo-5.txt:
      * tests/nodeinfodata/linux-nodeinfo-6.txt:
      * src/test.c [WITH_TEST]: Remove definition of _GNU_SOURCE that
      would conflict with the one now in "config.h".
      * autogen.sh: Add -I gnulib/m4.
      * src/conf.c, src/sexpr.c: Don't define _GNU_SOURCE.
      Instead, include "config.h".
      * qemud/qemud.c: Remove definition of _GNU_SOURCE.
      * src/openvz_driver.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/remote_internal.c: Likewise.
      
      * configure.in: Use AC_CONFIG_AUX_DIR(build-aux), so that a bunch
      of gettextize-generated files go into build-aux/, rather than in
      the top-level directory.
      * .cvsignore: Adjust.
      * build-aux/.cvsignore: New file.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      261e7581
  25. 15 2月, 2007 1 次提交
  26. 14 2月, 2007 2 次提交
  27. 26 1月, 2007 1 次提交
  28. 21 9月, 2006 1 次提交
  29. 06 7月, 2006 1 次提交
  30. 10 2月, 2006 1 次提交
  31. 05 12月, 2005 1 次提交
  32. 02 11月, 2005 1 次提交