diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2007-04-26 00:01:06 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2007-04-26 00:01:06 +0000 |
| commit | 95529d52609cfbfc7df137d5bb50a0f7e4a2ddba (patch) | |
| tree | 3a34cf87fe183e813ad9518206e9515c23e7e057 /cpp/src/Makefile.am | |
| parent | d0cfa8d4724bd5f5f018d923d62d9bea87cdcb80 (diff) | |
| download | qpid-python-95529d52609cfbfc7df137d5bb50a0f7e4a2ddba.tar.gz | |
* Make APR/"posix" configurable using --disable-apr
* Make "posix" code build (but not run correctly)
* By default still build APR version, which works as before
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@532543 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/Makefile.am')
| -rw-r--r-- | cpp/src/Makefile.am | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/cpp/src/Makefile.am b/cpp/src/Makefile.am index 2c95033661..99250e15ad 100644 --- a/cpp/src/Makefile.am +++ b/cpp/src/Makefile.am @@ -43,9 +43,15 @@ posix_hdr = \ qpid/sys/posix/EventChannel.h \ qpid/sys/posix/EventChannelThreads.h -EXTRA_DIST=$(posix_src) $(posix_hdr) -platform_src = $(apr_src) -platform_hdr = $(apr_hdr) +if USE_APR + EXTRA_DIST=$(posix_src) $(posix_hdr) + platform_src = $(apr_src) + platform_hdr = $(apr_hdr) +else + EXTRA_DIST=$(apr_src) $(apr_hdr) + platform_src = $(posix_src) + platform_hdr = $(posix_hdr) +endif lib_LTLIBRARIES = libqpidcommon.la libqpidbroker.la libqpidclient.la |
