1. 14 Sep, 2012 1 commit
  2. 31 Aug, 2012 2 commits
  3. 26 Jul, 2012 1 commit
  4. 25 Jul, 2012 1 commit
  5. 24 Jul, 2012 2 commits
  6. 06 Jul, 2012 1 commit
  7. 04 Jul, 2012 1 commit
    • Olaf Hering's avatar
      tools/configure.ac: add version check for glib2 · eddfb92f
      Olaf Hering authored
      xen-unstable fails to build in a SLES10SP4 environment since a long time
      because the included version of glib is slightly older than the required
      glib version. According to the glib docs version 2.12 includes base64
      support, but SLES10 is shipped with glib 2.8.6:
      
      qemu-timer-common.o: In function `init_get_clock':
      /usr/src/packages/BUILD/xen-4.2.25432/non-dbg/tools/qemu-xen-dir/qemu-timer-common.c:57:
      undefined reference to `clock_gettime'
      qga/guest-agent-commands.o: In function `qmp_guest_file_write':
      qga/guest-agent-commands.c:249: undefined reference to `g_base64_decode'
      qga/guest-agent-commands.o: In function `qmp_guest_file_read':
      qga/guest-agent-commands.c:224: undefined reference to `g_base64_encode'
      collect2: ld returned 1 exit status
      make[3]: *** [qemu-ga] Error 1
      
      Add a version check to toplevel configure to require at least glib 2.12.
      This makes sure configure can detect the condition early instead of
      failing later in the middle of tools build when qemu-upstream errors
      out.
      
      Please rerun autoconf after applying this.
      Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
      Acked-by: default avatarRoger Pau Monné <roger.pau@citrix.com>
      Acked-by: default avatarIan Campbell <ian.campbell@citrix.com>
      Committed-by: default avatarIan Campbell <ian.campbell@citrix.com>
      eddfb92f
  8. 14 May, 2012 1 commit
  9. 11 May, 2012 2 commits
  10. 25 Apr, 2012 1 commit
  11. 24 Apr, 2012 1 commit
  12. 11 Apr, 2012 1 commit
    • Ian Jackson's avatar
      tools: Correct PTHREAD options in config/StdGNU.mk · fa17c2e0
      Ian Jackson authored
      It is not correct to say -lpthread.  The correct option is -pthread,
      which may have sundry other effects on code generation etc.  It needs
      to be passed both to compilation and linking.
      
      Fix the configure test to test -pthread, and plumb the resulting flag
      through to PTHREAD_{CFLAGS,LDFLAGS} in Tools.mk; also substitute
      PTHREAD_LIBS (although this will currently always be empty).
      Remove PTHREAD_LIBS setting from StdGNU.mk.
      
      Fix the one user (libxc) to use PTHREAD_{CFLAGS,LDFLAGS} too.
      
      There are still some other users in tree which pass -pthread or
      -lpthread by adding it as a literal to their own compiler options.
      These will be fixed in a later patch.
      Signed-off-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
      Cc: Roger Pau Monne <roger.pau@entel.upc.edu>
      Acked-by: default avatarRoger Pau Monne <roger.pau@entel.upc.edu>
      Committed-by: default avatarIan Jackson <Ian.Jackson@eu.citrix.com>
      fa17c2e0
  13. 22 Feb, 2012 1 commit
  14. 03 Apr, 2012 1 commit
  15. 14 Mar, 2012 2 commits
  16. 13 Mar, 2012 1 commit
  17. 01 Mar, 2012 3 commits
  18. 29 Feb, 2012 3 commits
  19. 22 Feb, 2012 3 commits
  20. 21 Feb, 2012 1 commit
    • Ian Jackson's avatar
      build: add autoconf to replace custom checks in tools/check · bfa8db13
      Ian Jackson authored
      Added autotools magic to replace custom check scripts. The previous
      checks have been ported to autoconf, and some additional ones have
      been added (plus the suggestions from running autoscan). Two files are
      created as a result from executing configure script, config/Tools.mk
      and config.h.
      
      conf/Tools.mk is included by tools/Rules.mk, and contains most of the
      options previously defined in .config, that can now be set passing
      parameters or defining environment variables when executing configure
      script.
      
      config.h is only used by libxl/xl to detect yajl_version.h.
      
      [ tools/config.sub and config.guess copied from
        autotools-dev 20100122.1 from Debian squeeze i386,
        which is GPLv2.
      
        tools/configure generated using the included ./autogen.sh
        which ran autoconf 2.67-2 from Debian squeeze i386.  autoconf
        is GPLv3+ but has a special exception for the autoconf output;
        this exception applies to us and exempts us from complying
        with GPLv3+ for configure, which is good as Xen is GPL2 only.
      
        - Ian Jackson ]
      Signed-off-by: default avatarRoger Pau Monne <roger.pau@entel.upc.edu>
      Tested-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
      Committed-by: default avatarIan Jackson <Ian.Jackson@eu.citrix.com>
      bfa8db13