1. 01 9月, 2011 2 次提交
  2. 22 8月, 2011 3 次提交
  3. 21 8月, 2011 1 次提交
  4. 12 8月, 2011 1 次提交
    • S
      configure: Disable guest_agent for mingw32 · 83b2f0a0
      Stefan Weil 提交于
      guest_agent is not supported for mingw32, so the default value
      should be 'no', not 'yes'.
      
      This removes the dependencies to glib-2.0 and python which
      makes native and cross builds for w32 much easier (no need
      to get and install these extra packages).
      
      It also avoids the problems caused by different bitfield alignment
      which is required by glib-2.0.
      
      It is still possible to set guest_agent=yes via configure option.
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      83b2f0a0
  5. 08 8月, 2011 1 次提交
  6. 06 8月, 2011 1 次提交
  7. 05 8月, 2011 4 次提交
  8. 03 8月, 2011 1 次提交
  9. 01 8月, 2011 1 次提交
  10. 29 7月, 2011 2 次提交
  11. 27 7月, 2011 1 次提交
  12. 26 7月, 2011 4 次提交
  13. 24 7月, 2011 1 次提交
  14. 22 7月, 2011 5 次提交
  15. 17 7月, 2011 1 次提交
  16. 27 6月, 2011 1 次提交
  17. 24 6月, 2011 2 次提交
  18. 21 6月, 2011 3 次提交
  19. 19 6月, 2011 1 次提交
  20. 16 6月, 2011 1 次提交
    • A
      Introduce format string for pid_t · 953ffe0f
      Andreas Färber 提交于
      BeOS and Haiku on i386 use long for 32-bit types, including pid_t.
      Using %d with pid_t therefore results in a warning.
      
      Unfortunately POSIX:2008 does not define a PRId* string for pid_t.
      
      In some places pid_t was previously casted to long and %ld hardcoded.
      The predecessor of this patch added another upcast for the simpletrace
      filename but was not applied to date.
      
      Since new uses of pid_t with %d keep creeping in, let's instead define
      an OS-dependent format string and use that consistently.
      
      Cc: Stefan Hajnoczi <stefanha@gmail.com>
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Cc: Ingo Weinhold <ingo_weinhold@gmx.de>
      Cc: Gleb Natapov <gleb@redhat.com>
      Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      953ffe0f
  21. 14 6月, 2011 3 次提交
    • A
      libcacard: add libcacard.la target · 44dc0ca3
      Alon Levy 提交于
      No flag to configure is required. Instead, added a libcacard.la target that
      is not built by default, only when requested explicitly via:
      
      mkdir build
      cd build
      ../configure
      make libcacard.la
      make install-libcacard
      
      Uses libtool to do actual linking of object files and shared library, and
      installing. Tested only under linux, but supposed to work on other systems as
      well.
      
      If libtool isn't found you get a message complaining about that, only at build
      time (since it is not a default target I did not add a message at configure
      time).
      
      New build artifacts:
       .libs subdirectories (at <buildroot> and <buildroot>/libcacard)
       *.lo files (at same locations as the respective o files)
      
      Added %.lo : %.c rule that uses libtool.
      Updated clean rule to clean up those artifacts.
      Added specific rule to call dtrace with libtool wrapper (note that because of
      a current upstream dtrace bug fixed by systemtap b1568fd85 commit the -fPIC flag
      isn't actually passed on. still current dtrace+libtool produced object links fine).
      If libtool is missing any of the following targets will complain and exit 1:
       any subdir: *.lo
       root and libcacard: libcacard.la, libcacard-instsall
      
      Tested to link and load with all tracing backends.
      44dc0ca3
    • A
      configure: add libdir and --libdir · 3aa5d2be
      Alon Levy 提交于
      3aa5d2be
    • A
      configure: Fix check for fdatasync() · d1722a27
      Alexandre Raymond 提交于
      Under Darwin, a symbol exists for the fdatasync() function, so that our
      link test succeeds. However _POSIX_SYNCHRONIZED_IO is set to '-1'.
      
      According to POSIX:2008, a value of -1 means the feature is not supported.
      A value of 0 means supported at compilation time, and a value greater 0
      means supported at both compilation and run time.
      
      Enable fdatasync() only if _POSIX_SYNCHRONIZED_IO is '>0'.
      Signed-off-by: NAlexandre Raymond <cerbere@gmail.com>
      Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
      d1722a27