Skip to content
Commits on May 21, 2012
  1. @gabrielesvelto @sustrik

    Issue a warning on unsupported architectures instead of failing

    gabrielesvelto committed with sustrik May 20, 2012
    Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
Commits on May 12, 2012
  1. @gabrielesvelto @sustrik

    Enabled plug-in loading on all hosts with support for dlopen()

    gabrielesvelto committed with sustrik May 8, 2012
    Previously the code used for loading plug-ins would be built only on
    Linux hosts. Now the required functions are checked for and plug-in
    loading code is enabled if those are present on all platforms. Using
    lstat() to check for file types also increases portability to hosts that
    do not have the dirent.d_type field. If shared libraries support is
    disabled plug-ins will also be automatically disabled.
    
    Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
Commits on May 2, 2012
  1. @gabrielesvelto @sustrik

    Conditionally include header files required by select() and poll()

    gabrielesvelto committed with sustrik Apr 30, 2012
    Feature checks are introduced to check for all the headers required by
    the select() and poll() calls. Include files are then included
    conditionally without the use of any OS-specific directive. The change
    also fixes a couple of problems:
    
    - Fixed compilation under FreeBSD, NetBSD and OpenBSD when forcing the
      use of select() in the poller
    - Quieted a warning mixed-sign comparison warning on FreeBSD caused by
      FD_SETSIZE being declared as an unsigned constant on that OS
    - Removed the obsolescent AC_HEADER_TIME macro from the configure script
    
    Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
Commits on Apr 27, 2012
  1. @gabrielesvelto @sustrik

    Replaced obsolete autoconf and automake macros

    gabrielesvelto committed with sustrik Apr 26, 2012
    This patch cleans up a number of obsolete constructs in the build
    system, these include:
    - Replacing AC_TRY_RUN with AC_RUN_IFELSE for the SOCK_CLOEXEC test
    - Using AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER
    - Using LT_INIT with the win32-dll parameter instead of the obsolete
      AC_PROG_LIBTOOL and AC_LIBTOOL_WIN32_DLL macros
    - Removing the unused and obsolete AC_TYPE_SIGNAL check
    - Removing the unused alloca.h header check
    - Replacing the deprecated INCLUDES macro with AM_CPPFLAGS
    
    Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
Commits on Apr 21, 2012
  1. @gabrielesvelto @sustrik

    Change the way the polling system is selected

    gabrielesvelto committed with sustrik Apr 17, 2012
    All polling systems are now checked and corresponding macros set
    accordingly (e.g. detection of a working poll() function will define
    XS_HAVE_POLL). Additionally if the user selects a specific polling
    system via the --with-poller switch a corresponding XS_FORCE_* macro
    will be defined. The select() and poll() tests now conditionally include
    headers which makes them more robust on various target platforms.
    
    Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
Commits on Apr 17, 2012
  1. @gabrielesvelto @sustrik

    Use AC_USE_SYSTEM_EXTENSIONS instead of OS-specific defines

    gabrielesvelto committed with sustrik Apr 15, 2012
    Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
Commits on Apr 16, 2012
  1. @gabrielesvelto @sustrik

    Improve POSIX threads detection and configuration

    gabrielesvelto committed with sustrik Apr 15, 2012
    POSIX threads support is checked using the AX_PTHREAD macro, this
    provides improved support and coverage of different platforms. The M4
    macros are also moved into the M4 directory.
    
    Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
Commits on Apr 4, 2012
  1. @gabrielesvelto @sustrik

    Define the XS_HAVE_* poller macros in a more robust way

    gabrielesvelto committed with sustrik Apr 3, 2012
    The existing code for definining the XS_HAVE_* macros for the polling
    mechanism may fail if the platform's `tr' command does not support the
    GNU syntax. Replacing the hand-made declaration with autoconf macros
    yields the same results on all platforms.
    
    Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
Commits on Mar 30, 2012
  1. @gabrielesvelto @sustrik

    Modified the configure.ac file according to autoconf best practices

    gabrielesvelto committed with sustrik Mar 23, 2012
    - Use consistent quoting in M4 macros
    - Use portable M4sh shell constructs where possible
    - More consistent indentation and line wrapping
    - Split lists of files or functions on multiple lines to simplify adding
      and removing elements from them
    
    Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
Commits on Feb 26, 2012
  1. @gabrielesvelto @sustrik

    Added a configuration summary print-out to the configure script

    gabrielesvelto committed with sustrik Feb 25, 2012
    Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
Something went wrong with that request. Please try again.