summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Disable sigpipe on Mac OSXissue23Alan Antonuk2012-06-063-0/+20
| | | | | Use setsockopt(SO_NOSIGPIPE) on platforms that don't have MSG_NOSIGNAL and do have SO_NOSIGPIPE
* Set MSG_NOSIGNAL flag to supress SIGPIPE in send()Alan Antonuk2012-06-062-2/+2
|
* Merge pull request #22 from glassresistor/masterAlan Antonuk2012-05-261-0/+2
|\ | | | | Fix for Smart OS
| * added fix for smartosMichael Clemmons2012-05-231-0/+2
| |
* | Merge pull request #21 from alanxz/travis-ciAlan Antonuk2012-05-242-0/+27
|\ \ | | | | | | Travis ci integration
| * | Adding travis-ci integrationtravis-ciAlan Antonuk2012-05-242-0/+27
|/ /
* | Merge pull request #20 from alanxz/cmake_build_improvementsAlan Antonuk2012-05-249-56/+236
|\ \ | | | | | | CMake build system improvements
| * | msinttypes.h is always required on MSVC for testscmake_build_improvementsAlan Antonuk2012-05-241-0/+5
| | |
| * | Adding tests/ directory to CMake buildAlan Antonuk2012-05-243-1/+17
| | |
| * | Adding CMake procedure to build/install tools manpagesAlan Antonuk2012-05-243-1/+149
| | |
| * | Adding the amqp-* tools to install targetAlan Antonuk2012-05-241-0/+5
| | |
| * | Added CMake options to disable building of tools and examplesAlan Antonuk2012-05-241-3/+12
| | |
| * | Adding more strict compile Warning flags to gcc buildAlan Antonuk2012-05-244-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | Added: -Wall -Wextra -pedantic -Wstrict-prototypes -Wcast-align -Wno-unused-function -fno-common -fvisibility=hidden The library compiles cleanly with the exception of the tools dir which has trouble with the initializer lists
| * | Set the default CMake build type to be in release modeAlan Antonuk2012-05-241-0/+4
| | |
| * | Add support for config/install of librabbitmq.pc fileAlan Antonuk2012-05-242-1/+14
| | |
| * | Making the CMakeLists.txt work with cmake v2.6Alan Antonuk2012-05-242-47/+18
|/ / | | | | | | | | | | | | | | Removing the ExternalProject code as it makes more sense to use the git submodule code. The CMakeLists.txt can now be made to work with cmake-v2.6 as a result
* | Merge pull request #16 from msteinert/autotoolsAlan Antonuk2012-05-2465-1139/+1420
|\ \ | |/ |/| Cleanup autoconf/automake build
| * Add preprocessor definitions for Win32 static buildMichael Steinert2012-05-241-1/+7
| | | | | | | | | | | | | | | | | | | | | | 1. Define AMQP_BUILD for all Win32 builds. 2. Define AMQP_STATIC for all static Win32 builds. 3. Error out if both static & shared libraries are enabled for a Win32 build since they require different flags. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Add a workaround for AC_PROG_CC_C99 for older version of AutoconfMichael Steinert2012-05-241-2/+5
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Adding missing include for autotools in examples dirAlan Antonuk2012-05-241-1/+1
| | | | | | | | examples/utils.c requires the $(top_srcdir)/librabbitmq as an include
| * Setting minimum version for autoconf to 2.63Alan Antonuk2012-05-241-1/+1
| |
| * Fixing typo in librabbitmq/CMakeLists.txt: should be BUILD_SHARED_LIBSAlan Antonuk2012-05-231-1/+1
| |
| * Fix visibility definitions for GCCMichael Steinert2012-05-231-2/+2
| | | | | | | | | | | | | | 1. Functions don't need to be declared `extern` 2. Static variables need to be declared `extern` Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Cleaning up Public API decorators on Win32Alan Antonuk2012-05-234-159/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed duplicate #defines of AMQP_PUBLIC/AMQP_PRIVATE in amqp.h & amqp_private.h Split AMQP_PUBLIC into AMQP_PUBLIC_FUNCTION and AMQP_PUBLIC_VARIABLE Added AMQP_CALL to specify calling convention (__cdecl by default) Added -DAMQP_BUILD when building the library Added -DAMQP_STATIC when building the library statically (this is still incomplete on Win32, a installable amqp_config.h is required)
| * Fix check for PoptMichael Steinert2012-05-231-3/+3
| | | | | | | | | | | | | | | | AC_SEARCH_LIBS was adding `-lpopt` to the LIBS variable, resulting in librabbitmq.so being linked with Popt. Switching to AC_CHECK_LIB fixes the problem. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Include -Ilibrabbitmq/win32/msinttypes for all relevant targetsMichael Steinert2012-05-171-0/+4
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Explicitly name codegen files in EXTRA_DISTMichael Steinert2012-05-171-1/+9
| | | | | | | | | | | | | | Python bytecode and git cruft was being included in the auto-generated tarball. This change fixes that problem. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Update "issues" URIMichael Steinert2012-05-171-1/+1
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Update build instructions for `codegen` submoduleMichael Steinert2012-05-171-9/+11
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Bump version in configure.ac to match CMakeLists.txtMichael Steinert2012-05-171-2/+2
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Cleanup Win32 artifactsMichael Steinert2012-05-1716-18/+20
| | | | | | | | | | | | | | 1. Standardize on `win32` vs `windows/win32` 2. Move `msinttypes` into platform directory Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Set default visibility to hidden & enable a couple more warningsMichael Steinert2012-05-1717-282/+401
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the following GCC options: 1. -Wstrict-prototypes 2. -Wcast-align 3. -fno-common 4. -fvisibility=hidden This commit also includes some general cleanup of header files (mostly for readability). Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Fix compiler warnings (checked clang & gcc)Michael Steinert2012-05-1715-44/+47
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Move TestCInline.cmake into cmake directoryMichael Steinert2012-05-172-3/+2
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Add new codegen directory to CMakeLists.txtMichael Steinert2012-05-171-0/+1
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Add config.h header guardsMichael Steinert2012-05-1718-2/+54
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Add a pkg-config fileMichael Steinert2012-05-173-1/+19
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Remove unnecessary filesMichael Steinert2012-05-176-430/+137
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Cleanup platform checks in configure.acMichael Steinert2012-05-171-40/+18
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Cleanup 64-bit optionMichael Steinert2012-05-171-5/+8
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Cleanup python checkMichael Steinert2012-05-171-38/+20
| | | | | | | | | | | | | | Also remove old compiler flag settings (should have been in a previous commit). Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Make configure options more sensibleMichael Steinert2012-05-172-42/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | `--disable-tools` will disable the AMQP tools. `--disable-docs` will disable the AMQP tools documentation. The `XMLTO` environment variable can be used to override the location of the `xmlto` command at configure time. The `POPT_CFLAGS` & `POPT_LIBS` environment variables can be used to influence Libpopt configuration. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * General cleanup in configure.acMichael Steinert2012-05-171-33/+22
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Add -Wall, -Wextra & -pedantic by defaultMichael Steinert2012-05-174-1/+126
| | | | | | | | | | | | | | This change also adds a couple small autoconf macros to make it easier to deal with compiler options. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Add proper libtool versioningMichael Steinert2012-05-172-5/+27
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Add a .gitignore fileMichael Steinert2012-05-173-0/+51
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Enable silent build rulesMichael Steinert2012-05-172-6/+7
| | | | | | | | | | | | | | | | | | This change makes it much easier to spot warnings in compiler output. To see the full build commands, build with: $ make V=1 Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Store macros in m4 sub-directoryMichael Steinert2012-05-173-0/+3
| | | | | | | | | | | | | | | | This is a recommended practice for Automake. The correct macros will be distributed with the source tarball making it easier for users to regenerate configure/Makefile if they wish. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Convert to non-recursive AutomakeMichael Steinert2012-05-1713-182/+264
| | | | | | | | | | | | | | | | This change should speed up parallel builds considerably. It also simplifies the structure of the build system making it possible to properly track dependencies. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Add rabbitmq-codegen as a submoduleMichael Steinert2012-05-172-0/+3
|/ | | | | | | | | The following commands can be used to update the submodule: $ git submodule init $ git sumodule update Signed-off-by: Michael Steinert <mike.steinert@gmail.com>