1. 05 Jul, 2012 1 commit
    • Matt Wilson's avatar
      tools: honour --libdir when it is passed to ./configure · 4282ee8d
      Matt Wilson authored
      Currently shared libraries are automatically installed into /usr/lib
      or /usr/lib64, depending on the supplied --prefix value and
      $(XEN_TARGET_ARCH). Some systems, like recent Debian and Ubuntu releases,
      do not use /usr/lib64, but instead /usr/lib/x86_64-linux-gnu.
      
      With this change, packagers can supply the desired location for shared
      libraries on the ./configure command line. Packagers need to note that
      the default behaviour on 64-bit Linux systems will be to install shared
      libraries in /usr/lib, not /usr/lib64, unless a --libdir value is provided
      to ./configure.
      
      Additionally, the libfsimage plugins are now loaded explicitly from
      $LIBDIR/fs, removing platform-based decision trees in code.
      Signed-off-by: default avatarMatt Wilson <msw@amazon.com>
      Acked-by: default avatarIan Jackson <Ian.Jackson@eu.citrix.com>
      Acked-by: default avatarIan Campbell <ian.campbell@citrix.com>
      [ ijc -- resolve rejects in configure by rerunning autogen.sh. Dropped changes
      to remove m4/default_lib.m4 and update m4/pkg.m4 since they cause LIBDIR=/lib
      instead of /usr/lib. Reran ./autogen.sh after that too ]
      Committed-by: default avatarIan Campbell <ian.campbell@citrix.com>
      4282ee8d
  2. 13 Mar, 2012 1 commit
  3. 06 Jan, 2011 1 commit
    • Christoph Egger's avatar
      libxc: portability fixes for NetBSD · 56a5aac2
      Christoph Egger authored
      Attached patch makes libxc build again on NetBSD after the recent rework.
      
      [ Modified by iwj:
      
      I changed the name of the new make variable from LIBDL to DLOPEN_LIBS.
      The latter conforms to the naming scheme for similar variables found
      in config/*.mk - PTHREAD_LIBS et al.
      
      Also I moved the setting of the variable to -dl from Linux to StdGNU
      (which makes it apply more widely) and also added it to SunOS.mk
      (based on pure guesswork). ]
      Signed-off-by: default avatarChristoph Egger <Christoph.Egger@amd.com>
      Signed-off-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
      56a5aac2
  4. 11 Aug, 2010 1 commit
  5. 23 Jun, 2009 1 commit
  6. 20 May, 2009 1 commit
  7. 17 Mar, 2008 1 commit
  8. 12 Feb, 2008 1 commit
  9. 31 Jan, 2008 2 commits
    • Keir Fraser's avatar
      etherboot: Fix the build. · 24528bae
      Keir Fraser authored
      Signed-off-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
      24528bae
    • Keir Fraser's avatar
      build: Make PREFIX work by fixing LIBDIR · 9dee369e
      Keir Fraser authored
      In the current tree, setting PREFIX does not work very well.  This is
      because of confusion about the meaning of LIBDIR.  In some places it
      is the pathname tail of directories containing libraries (lib, lib64
      or lib/amd64).  But in other places it is a destination pathname
      (implicitly, including any PREFIX).  This can result in PREFIX or /usr
      being added the wrong number of times.
      
      This patch splits LIBDIR into two variables, LIBLEAFDIR and
      LIBDIR.  LIBDIR is the directory into which Xen libraries and other
      similar code is to be placed, and includes any PREFIX.  LIBLEAFDIR is
      just the library tail and can be appended to various different
      prefixes; for example, to construct the X11 library directory for -L.
      
      Neither variable contains the value of DESTDIR, which is of course
      used only to redirect the results of `make install' when desired.
      Signed-off-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
      9dee369e
  10. 26 Jan, 2008 1 commit
  11. 22 Jan, 2008 6 commits
  12. 08 Oct, 2007 1 commit
    • Keir Fraser's avatar
      xenconsoled: portability fixes: · 58873e67
      Keir Fraser authored
       - Use openpty(), which does the same as the sequence
         of open(), grantpt(), unlockpt(), ptsname(), tcgetattr()
         simplifies code
       - Check return code from tcsetattr()
       - sprintf() -> snprintf()
       - OpenBSD lacks POSIX grantpt() and unlockpt()
         requires use of openpty()
       - Solaris lacks POSIX openpty() via feedback from SUN (John Levon)
         implement openpty() for Solaris, tested and ok'd by SUN (John
         Levon)
      Signed-off-by: default avatarChristoph Egger <Christoph.Egger@amd.com>
      58873e67
  13. 07 Mar, 2007 1 commit
  14. 29 Dec, 2006 1 commit
  15. 02 Nov, 2006 1 commit
  16. 18 Oct, 2006 3 commits
  17. 17 Oct, 2006 6 commits