| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
Cleanup autoconf/automake build
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| | |
examples/utils.c requires the $(top_srcdir)/librabbitmq as an include
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
1. Standardize on `win32` vs `windows/win32`
2. Move `msinttypes` into platform directory
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
Also remove old compiler flag settings (should have been in a previous
commit).
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`--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>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
Build static library
|
|/
|
|
|
|
|
|
|
| |
Adding option to the CMake build to build rabbitmq-c
library as a static library.
It is disabled on the WIN32 platform as the amqp.h
header has __declspec(dllimport) statements that need
to be different when using a static library.
|
| |
|
| |
|
|
|
|
| |
See: https://github.com/rabbitmq/rabbitmq-c/issues/6
|
|
|
|
| |
See: https://github.com/rabbitmq/rabbitmq-c/issues/9
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|