activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r768711 [1/2] - in /activemq/activemq-cpp/trunk/activemq-c: ./ assembly/ m4/ src/ src/main/ src/main/c/ src/test/ src/test/c/
Date Sun, 26 Apr 2009 14:14:23 GMT
Author: tabish
Date: Sun Apr 26 14:14:22 2009
New Revision: 768711

URL: http://svn.apache.org/viewvc?rev=768711&view=rev
Log:
Add a skeleton structure for an ActiveMQ-CPP C wrapper library, this would allow pure C clients to leverage ActiveMQ-CPP instead of having to implement an entirely new client written in C.

Added:
    activemq/activemq-cpp/trunk/activemq-c/
    activemq/activemq-cpp/trunk/activemq-c/KEYS   (with props)
    activemq/activemq-cpp/trunk/activemq-c/LICENSE.txt   (with props)
    activemq/activemq-cpp/trunk/activemq-c/Makefile.am   (with props)
    activemq/activemq-cpp/trunk/activemq-c/NOTICE.txt   (with props)
    activemq/activemq-cpp/trunk/activemq-c/README.txt   (with props)
    activemq/activemq-cpp/trunk/activemq-c/RELEASE_NOTES.txt   (with props)
    activemq/activemq-cpp/trunk/activemq-c/activemq-c.pc.in   (with props)
    activemq/activemq-cpp/trunk/activemq-c/activemqc-1-config.in   (with props)
    activemq/activemq-cpp/trunk/activemq-c/assembly/
    activemq/activemq-cpp/trunk/activemq-c/assembly/source.xml   (with props)
    activemq/activemq-cpp/trunk/activemq-c/autogen.sh   (with props)
    activemq/activemq-cpp/trunk/activemq-c/configure.ac   (with props)
    activemq/activemq-cpp/trunk/activemq-c/m4/
    activemq/activemq-cpp/trunk/activemq-c/m4/ac_amqcpp_utils.m4   (with props)
    activemq/activemq-cpp/trunk/activemq-c/m4/ac_doxygen.m4   (with props)
    activemq/activemq-cpp/trunk/activemq-c/m4/apr_tools.m4   (with props)
    activemq/activemq-cpp/trunk/activemq-c/m4/check_addrinfo.m4   (with props)
    activemq/activemq-cpp/trunk/activemq-c/m4/check_visibility.m4   (with props)
    activemq/activemq-cpp/trunk/activemq-c/m4/decaf_tools.m4   (with props)
    activemq/activemq-cpp/trunk/activemq-c/m4/find_apr.m4   (with props)
    activemq/activemq-cpp/trunk/activemq-c/m4/find_apu.m4   (with props)
    activemq/activemq-cpp/trunk/activemq-c/m4/find_cppunit.m4   (with props)
    activemq/activemq-cpp/trunk/activemq-c/m4/find_decaf.m4   (with props)
    activemq/activemq-cpp/trunk/activemq-c/pom.xml   (with props)
    activemq/activemq-cpp/trunk/activemq-c/src/
    activemq/activemq-cpp/trunk/activemq-c/src/main/
    activemq/activemq-cpp/trunk/activemq-c/src/main/c/
    activemq/activemq-cpp/trunk/activemq-c/src/main/c/Makefile.maven
    activemq/activemq-cpp/trunk/activemq-c/src/test/
    activemq/activemq-cpp/trunk/activemq-c/src/test/c/
    activemq/activemq-cpp/trunk/activemq-c/src/test/c/Makefile.maven

Added: activemq/activemq-cpp/trunk/activemq-c/KEYS
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/KEYS?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/KEYS (added)
+++ activemq/activemq-cpp/trunk/activemq-c/KEYS Sun Apr 26 14:14:22 2009
@@ -0,0 +1,138 @@
+pub   1024D/CCD6F801 2006-11-15
+uid                  Nathan Mittler <nathan.mittler@gmail.com>
+sig 3        CCD6F801 2006-11-15  Nathan Mittler <nathan.mittler@gmail.com>
+sub   2048g/F5B8EA6A 2006-11-15
+sig          CCD6F801 2006-11-15  Nathan Mittler <nathan.mittler@gmail.com>
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.2.2 (FreeBSD)
+
+mQGiBEVbpV0RBADJcRJLaDaspQfYql0ok3H/8FKeosZ5zuy37QLICwB9wpqXkeGI
+QEemsKV+6Y0Tv9KVVyBDvMOYu8ZKdqTOkodf6Qd85ZcyMPXQpavcdhKnSnux8d4K
+CoPJtNRogomxi1G/haGJnXl5s1WlZ4ME5ijnaF2UbPYP+5flIW2iv0movwCgzOOl
+ImfG9K9kxmHDXyKrmr8stCUD/3z8cyrkhQ47twFwhBzMuSKhfhsZR78L/tfVajjl
+BSDzu4MUORnm7nx/cnMge9b1Kt0bFWpcalIbUQP/iGLQSyG49S77JrKEaxonQhQF
+Z7zXZMPkm1Y54t9KSPtpgRrV0GSObKj9slQ5FYabhoE/6RW+zwPvTDgJftmyCSIQ
+znlMA/4uhhuXoYJo0Jus3o2rqbQfj9dcEdL502BqKz2kITCKr+2U8DBAaY5xVGUW
+ETUmueKHSrZSXDqPkL5QeVMuASJVas7VmTheLXk5Kr+kc5/X5Sl10oCZoqSgx6Lq
+81bjcbMrHvFWLOmQG/E0zM10EOWw6fEVaFZQUz504UStZm7JqrQpTmF0aGFuIE1p
+dHRsZXIgPG5hdGhhbi5taXR0bGVyQGdtYWlsLmNvbT6IYAQTEQIAIAUCRVulXQIb
+AwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEMGEfSvM1vgBX+AAnRQbwrVjW+P+
+6ERiJ1ezS8EjJsgXAJ97jIS7CVD+DKp5u4gS4SfidmsxNLkCDQRFW6ViEAgA7ytH
+Cl5uvL7SMuOdt9YRZyR7QkhfgBkkJhIUk2MyKqZ/zXhTS9Qgx/D7ulS4auUjdRNe
+YzzuiFhv5qQS/KQB4Bi+FbvxisaR8fh9Yt+8cHZdUiDHhI49c/qhxyJea1ByJ3AP
+Clyr2aCEYLRb+475rYzp43rQLb7SqboWG4ajVmeEQTPqWwM77XqnTTOyTs4MZEJs
+ZO5by+ud23VOG7EF5VL5l8kgNzN8+HHk0q8KU9G0Cir4XMi8vtMtPqXsDSDTsyQU
+Lu9pEdMznY4m4ozFdnT1vxvy5bfoXtfhYNG+161MZbikuEwcLVknXB5fzyfZNZeq
+LHEDbMo4McR/Y/da7wADBQf9GAm5486yFNc1VeMtUs7JUgJVdMdK1hxtgyMpy6i3
+xKdgReV7Nw6Vk1vKhKD53rLXfy5fk8PycSLKC63A/vhO1mHydW6pXtumILOtYdZw
+9FUNRfZIUTPyqnbPx+PZi3jmkK63qIfu8DFzfjxV9RxjhmRVgrzuBvEKqo5dAHM0
+9JOMwumE8nmYM0jrUt40IAozkLorWxnZZVZx1zsZGsLj4+0V7IurWMEYmWnmd/iF
+nDZi6CggW9om4NJJ72rNAYiEgZjLL9xBBjYplhqMQBHR+pZ8Jl56i78ZA8DfPejx
+LM/E931dZyTMAakFsTnFmRf4+DN+PKF4zd3lQuFhxk17QYhJBBgRAgAJBQJFW6Vi
+AhsMAAoJEMGEfSvM1vgBuWgAnjqmxSJjNF84pGejBbEAgPHYOlWyAJ4vpBTlolF0
+1tcyAF4QTEDQbKvJwg==
+=ssQm
+-----END PGP PUBLIC KEY BLOCK-----
+pub   1024D/5E4119DD 2007-04-06
+uid                  Timothy Bish <tabish121@gmail.com>
+sig 3        5E4119DD 2007-04-06  Timothy Bish <tabish121@gmail.com>
+sub   2048g/5D0D0993 2007-04-06
+sig          5E4119DD 2007-04-06  Timothy Bish <tabish121@gmail.com>
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+mQGiBEYWrAMRBADIah561RTKg4Fcp9DRzLLz2lPZekB1QefjaJMpuA5hrs5otN+I
+N3DOa4eM1q2Tq4GDoo14qMWv1Xxrp3MQskYIXzFwiju6JUQ92I76BG0qutr4eJPv
+ySIIOUElo96Y+7ye9iWRmBKDjM3mFNpCZsJ+eXJyuYeJ3bPDGR3EE+jkUwCgwjCC
+IUTdsAv2osu0ddJdTgTeicMEAJphtRFabJy5+5B/idMCWQW4RldF4Dus7N+wnWR3
+zkAw77DxQfno4Y29HKFo6omvMM5rM35ZXX58oGwYAhkTUUp47zglmKBCvptKDxOK
+zr+F1lDpulEfP/bOtXE4SkPCVI+FBBSrRPEBOq9JSgZnaJcL9RRVZtIn/hFDHm/h
+DXsKA/9sRQWz6UBfKncju7co+TIqE0hf3SSfCfkFqzhZSmJl/oLR4rbC5xuSppXx
+tQP6YEZahU+6iHbbJeIIkthIO6zqXeK0QThmc6EV5cuhA2PMHUuF/w4XikA38ZSA
+jP5EBLLSTGxQHPfhdUBnV4t8yvooFR1cDjPA5a2dlnw1sX04MrQiVGltb3RoeSBC
+aXNoIDx0YWJpc2gxMjFAZ21haWwuY29tPohgBBMRAgAgBQJGFqwDAhsDBgsJCAcD
+AgQVAggDBBYCAwECHgECF4AACgkQ2iSmy15BGd09RwCffbz/I4fIKFEvnzNV1eXc
+iWIVcAEAn32HrMifDJn1ZC1msgf6gw8gCMwbuQINBEYWrAMQCADwuFOY2t5pClQm
+dNBYG8YsvaRb80FUsNmGxx32EnPv0DljWSzpLtt+JdV0Nm2RVEDXkrqV1fzVMK0v
+Ei2KR0gOwus7E/AmFFG27legqSnlMjqtB+IQyx1VUxtfQIhAR6GZt3chTtgtjSPJ
+uCksKllz9fljIc3nqem4EP63m/w6LkAWuku9zEbBmBeeT9Ac06lxCXBXNlraciRD
+MUpbCraB6zmns2C1/DaiYbK5CHhHYwzHt+M3MZOf7olRBNdl/2I6NCJY0sZwUTrp
+QqYtCSZMOC6pSrsYq0KR5Y+yUTa/VpN3DV8wzTpJbvaBuSc4zz8pQtcS6WoJlrOJ
+Jvx89WCzAAMFCAC/SkYlTw+NVqbhisi8GNqT+Jq9y2q81jpQWVBz/ELaM5mzkBlr
+tVBLLJuB5dazlGMZV5JQ5/COHQ1Z3iw5KIqnRZAnxhn8D0xDsOaT3b2voCWyM9Dp
+BqY1WPvWsTD8oFJPm9y8Wvv8iACzTUIVysG7xCig73a5KbOuNF8cYmYrHqpb6H6U
+oAUFbm0ybwagAIw6eiQuxUPWhlKpx22Le4hS9jmlDO3CQXQCqkqpEIiIsrMeiS4L
+EkaTgGy8AvkLcbzmTF5mbB3nKfiHInTY1rVXhdGM8LLnfKJazhH6AbQwrptJCsnf
+gYpsSlm9oNW4fAvB852SN+zJrly0Jl/+tsdciEkEGBECAAkFAkYWrAMCGwwACgkQ
+2iSmy15BGd0F6QCeLKexEs2tW7uJK5FkSD4c+JGzhdEAoIUj6K6rjNNbbd4gq4L7
+dnc+3S9/
+=ASER
+-----END PGP PUBLIC KEY BLOCK-----
+pub   1024D/70AE7D08 2007-04-04
+uid                  Nathan Mittler <nathan.mittler@gmail.com>
+sig 3        70AE7D08 2007-04-04  Nathan Mittler <nathan.mittler@gmail.com>
+sub   1024g/A1255264 2007-04-04
+sig          70AE7D08 2007-04-04  Nathan Mittler <nathan.mittler@gmail.com>
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.7 (Darwin)
+
+mQGiBEYTksURBADfn9FYnPKtlRhC0o6ScnPJLePomEpd22F2b8uuC+q+0A6YwvLz
+aDz9k0pEnvFFHdWjTZPUzDXEb4CjRjnoGz5hnZUNG8bJxgkwKt1nUawjYnOgy17b
+ekYmhLtyS2T6jtHx2qIHw/B9Xu0TfHZTBht1H8kFPliteJf46PTxXX3k6wCg9Dls
+YoKoV4cPodpJUiN8AmaKdh8EAKqfQEn4mkwUkBw4Th4KxIl3/YfnNeH4kL1ejp/m
+Pwdf3u7EhEcyCc2i9iNDgvjaUO0SZVD0cJShWq3Us8PT6vAB+WYvk4LWywc6tSTe
+G80Ma0KWX6CXuvFKjlS0K17PqS2G4kb8kUjgSJto/NqC6TBY7/R+X1rrXcx6NtWA
+a/cNBADAGSMJTJGUpPFXBrcncBAlfBLtXVfGGknplyjlfewi7FXopy3K3+otYune
+VHk6V/A/xULLRuGgx+GwytJRTGcNc84tuIDm2iiI4JT4E+a6Ghi5A+xucUpLLi2f
+6OMYDz2QH6IAbLXjSLUcSwW/YNg+1wFotQCKkQR5dmZgghM2PLQpTmF0aGFuIE1p
+dHRsZXIgPG5hdGhhbi5taXR0bGVyQGdtYWlsLmNvbT6IYAQTEQIAIAUCRhOSxQIb
+IwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEII00zVwrn0IlEgAoN+ULhiUYtPx
+MhMGj+i9NOtJqOKoAKDmic8ZTi3HDUpyEsOvV/FeUaBrIbkBDQRGE5LFEAQAt2cH
+aKxpQyewpsCupoC24FIdtPOxtK0fr1pM4n7zyCcjiEFVM5RzylyZg00IRcDxHE6N
+E6n6ydshZ3oM+UabvgltLpeEdJI02p0YccE7FA6iQ80ChMm4bjLUwsBW1Lw2zKza
+oDk0A8PNlmgjwHJi9yrw2nje8QH+aTvvtMj+WucAAwcD/05X6+YplQb4NPjUP7uG
+LzXuGOOS7msDBtqi3zOMzFbfY7H7OtF/SZmDzWDsZiQwq/nlTfernHCKe+/kUHTt
+9pJ7+5cGKFy5chgzVmCbYW6s8+IiaZVFLc5iWASqGhd/a9tEItughEK3pOt3kjud
+o0WcDTFOe9+YGbFAZg8kuMsbiEkEGBECAAkFAkYTksUCGwwACgkQgjTTNXCufQjL
+qQCeKZi8Gs8h9qS511FdlWnV0J6C2U4An0p+wQBKYckIUy5Fif3uWaHsSpa1
+=uYcU
+-----END PGP PUBLIC KEY BLOCK-----
+pub   1024D/F5A0DF5D 2008-06-21
+uid                  Timothy Bish <tabish121@gmail.com>
+sig 3        F5A0DF5D 2008-06-21  Timothy Bish <tabish121@gmail.com>
+sub   2048g/5B12A023 2008-06-21
+sig          F5A0DF5D 2008-06-21  Timothy Bish <tabish121@gmail.com>
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+mQGiBEhdWzgRBADRtDEU79yPUypz10TZyFgCZ74aEUZPUR5KDopGTfGULZEXtj73
+axqK5IiR36StUVj0XqOOmeM89IGW6JQO1Pe4IuPWNA6yMJ8YbjEY8eJWI/D/iFcx
+md50sWE3YvguZu272VQWHWqn+2GDltWp9UCkhDKOJdfoA1KFkTyk7pYRAwCgpxqt
+4e6vHwfiP7dKQHdqlawi4TcD/0ZhxRLj5aWxKfne9LhqLd5IAqHg/iP2JNqlU9uO
+2QL8JJcvFiS6rNETOqBI+B3D3kJrkBFLlVIPyyO5sUIYfU+GmJLQY2wi/nZIJxv1
+7xgsn5H1qjGTxHe8XWvu+gMQCnZas0Jjik5LCCGSxdYu1LCem4mXVy6ab5lzgN8O
+R4FPA/9K8pCHigbI1VjcR3ElUhVGfK0rbjM9klIk7kgW/ZcQnUF+SSf+nZP0zmiB
+PfHPyL45dNH+URuwUzFCfPCJmlXt2Q51yD28bEG5pch03P+klO+kbZN8gx7b6cYr
+lQppiLk0NhOQTSSwW06G8nMDOUJZ88AvkH9PQCL0xQOqO+R1H7QiVGltb3RoeSBC
+aXNoIDx0YWJpc2gxMjFAZ21haWwuY29tPohgBBMRAgAgBQJIXVs4AhsDBgsJCAcD
+AgQVAggDBBYCAwECHgECF4AACgkQfvmrHfWg311xgQCdHYq93x2zmNWExjeifZvs
+x8X+Ht0AnjI6icoY42HzqyRegzjfIeE9+e0FuQINBEhdWzgQCADCpTMfLpvNXXiz
+sJuOgRXplmx2NfC9BBcapo5fStliqgHkut3G8zeWOLp2tiw/wEpSKKkuA5YfP3jQ
+YqQ0xd26RSnMnTVQoy+nerpwDlelb/g5K8szPdy7USfTfZrqy0cSFrv9yXi+tOno
+yLzuHS08NOpANEFN08TLIOpfnGCA3tbbSEFEUxNiNc6EE0qOH/iUlxmMlL2GZAEK
+DARbo6ltICY7W0sxdVIGV8tJ19i3Xa1ufeeqORAhH43KtGXGSfshOHg0pvFOEB75
+2Cf65dDvO02qoaZSdRljVqKimiqqPC4FUaltnAJEavr3YZ1QXcGZ57FBzK26M79h
+hF/iP0hXAAMFB/9fRPvNEsMQ5N5BIPcJ5vIX6NECIB0sFp77IKxo223jdKczwFxL
+CxtyFcy0yQiJNe7Lr9q+a5+p0YWfMhaQVIn8fVRX+/hyhZAxfkmjePHUEqaJvYcp
+2C3K467QLYfmd64oZeJVWYzu2Y3Bb+eLkuMLqqUysg/DcdzZN7BeuHiwgZrhIjmm
+XbBTCP2PjU7u/kLEnB3G9lyJiCYT6kfUppwK6/TGj8g9KzcmANuNqa0DMD7qV3iA
+D0qChGa3GanJgAOeDWh13JSyqnNNV74t12hC6vlG/BibrfKVJA2wf72MG2jVulVn
+muREGZq97K0qbY991DekqEQPndvFm69kLM2biEkEGBECAAkFAkhdWzgCGwwACgkQ
+fvmrHfWg311ubwCcDYqm93U7yNuCTgG1nomW8fvaaAkAniLig2JE+rUSa36ueKWt
+wsrk3xgs
+=IWx/
+-----END PGP PUBLIC KEY BLOCK-----

Propchange: activemq/activemq-cpp/trunk/activemq-c/KEYS
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/LICENSE.txt
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/LICENSE.txt?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/LICENSE.txt (added)
+++ activemq/activemq-cpp/trunk/activemq-c/LICENSE.txt Sun Apr 26 14:14:22 2009
@@ -0,0 +1,203 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+

Propchange: activemq/activemq-cpp/trunk/activemq-c/LICENSE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: activemq/activemq-cpp/trunk/activemq-c/LICENSE.txt
------------------------------------------------------------------------------
    svn:executable = *

Added: activemq/activemq-cpp/trunk/activemq-c/Makefile.am
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/Makefile.am?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/Makefile.am (added)
+++ activemq/activemq-cpp/trunk/activemq-c/Makefile.am Sun Apr 26 14:14:22 2009
@@ -0,0 +1,38 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+# 
+# http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+# Since we don't strictly follow the GNU standard of having 'NEWS README AUTHORS ChangeLog' files
+AUTOMAKE_OPTIONS = foreign
+
+SUBDIRS = src/main/c src/examples/c
+if BUILD_CPPUNIT_TESTS
+  SUBDIRS += src/test/c src/test-integration/c src/test-benchmarks/c
+endif
+
+#Distribute these directories:
+DIST_SUBDIRS = src/main/c 
+
+bin_SCRIPTS = activemqc-1-config 
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = activemq-c.pc
+
+ACLOCAL_AMFLAGS = -I m4
+
+include doxygen-include.am
+
+EXTRA_DIST=autogen.sh $(DX_CONFIG) doc/html

Propchange: activemq/activemq-cpp/trunk/activemq-c/Makefile.am
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/NOTICE.txt
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/NOTICE.txt?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/NOTICE.txt (added)
+++ activemq/activemq-cpp/trunk/activemq-c/NOTICE.txt Sun Apr 26 14:14:22 2009
@@ -0,0 +1,15 @@
+=========================================================================
+==  NOTICE file corresponding to the section 4 d of                    ==
+==  the Apache License, Version 2.0,                                   ==
+==  in this case for the Apache ActiveMQ distribution.                 ==
+=========================================================================
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+=========================================================================
+==  Doxygen Automake Macro Notice                                      ==
+=========================================================================
+
+This product includes software developed by the Oren Ben-Kiki
+http://ben-kiki.org/oren/doxample/

Propchange: activemq/activemq-cpp/trunk/activemq-c/NOTICE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/README.txt
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/README.txt?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/README.txt (added)
+++ activemq/activemq-cpp/trunk/activemq-c/README.txt Sun Apr 26 14:14:22 2009
@@ -0,0 +1,230 @@
+--------------------------------------------------------------------------
+ActiveMQ C Library
+--------------------------------------------------------------------------
+
+ActiveMQ C is a messaging library that can use multiple protocols to
+talk to a MOM (e.g. ActiveMQ).  This library is a thin wrapper around the
+ActiveMQ-CPP library providing basic support for sending Text and Bytes
+messages via a producer and receiving them via a synchronous consumer.
+
+1 Dependencies
+--------------------------------------------------------------------------
+
+There are several dependencies that need to be met in order to build and
+install ActiveMQ-C on a Unix type system, the short list is shown below,
+read the sections that follow for more detailed information.  On Windows
+you will not need the Auto Tools since the library is built using Microsft's
+Visual Studio product.
+
+Tool        Recommended Version
+-------------------------------
+autoconf    >= 2.60
+automake    >= 1.10
+libtool     >= 1.5.24
+APR         >= 1.3*
+APR-Util    >= 1.3*
+CPPUnit     >= 1.10.2*
+libuuid     >= ?*
+
+* Requires that the Development package also be installed.
+
+1.2 CppUnit
+--------------------------------------------------------------------------
+
+The package contains a complete set of CppUnit tests.  In order for you to
+build an run the tests, you will need to download and install the CppUnit
+suite.  See http://cppunit.sourceforge.net/cppunit-wiki
+
+On Fedora, type the following:
+
+  sudo yum install cppunit cppunit-devel
+
+On Debian/Ubuntu, type the following:
+
+  sudo apt-get install libcppunit-dev
+
+Make sure that the paths to the installed CppUnit library and includes are
+visible in your current shell before you try building the tests.
+
+Windows users will need to build the CppUnit library using the CPPUnit
+MSVC project files. A discussion of the build process can be found
+on the CPPUnit wiki under:
+
+http://cppunit.sourceforge.net/cppunit-wiki/BuildingCppUnit1
+
+This covers both MSVC along with many other platforms and tool suites.
+The included Visual Studio projects are configured with the assumption
+that you will configure Visual Studio with the locations of the Platform
+SDK and the CPPUnit and APR libraries and headers.
+
+1.3 APR and APR Util
+-------------------------------------------------------------------------
+
+The build requires the APR library and the APR-Util.  These libraries can
+be obtained from the APR site at: http://apr.apache.org/  See the
+documentation there on how to build these libraries for your platform.  On
+many Unix system the libraries can be installed using the systems package
+installer.
+
+The Library has been tested using version v1.3 and higher of the APR libs,
+the older 0.9 version will definitely not work with this library.
+
+Many of the Unix type OS'es currently shipping include APR 1.2.x and
+APR-Util 1.2.x, this implies that you will need to build and install APR from
+the source download at Apache.
+
+1.4 GNU Build System (for building on Unix/Linux/OS X)
+--------------------------------------------------------------------------
+
+To Generate the ./configure script use to create the Makefiles, you need
+the following software installed:
+
+Tool        Recommended Version
+-------------------------------
+autoconf    >= 2.60
+automake    >= 1.10
+libtool     >= 1.5.24
+
+On Debian/Ubuntu, multiple versions of autoconf and automake are available
+in separate packages. If you have multiple versions of autoconf or automake
+installed on your system, you may have to configure the versions to use
+using /usr/sbin/update-alternatives.
+
+2 Building on Unix/Linux/OS X
+--------------------------------------------------------------------------
+
+This assumes you have all of the project dependencies installed.  We're
+now ready to create the configure script.  To do this, run:
+
+  ./autogen.sh
+
+This should be run the first time and any time you change configure.ac or
+any of the Makefile.am files.
+
+    -----------------------------------------------------------------------
+    |MacOS X Note:                                                        |
+    | Make sure to set the LIBTOOLIZE environment variable to point to    |
+    | /usr/bin/glibtoolize for the build to complete successfully. Below  |
+    | is an example:                                                      |
+    |                                                                     |
+    | $ export LIBTOOLIZE=/usr/bin/glibtoolize                            |
+    |                                                                     |
+    | If you do not use this environment variable you will encounter an   |
+    | error stating:                                                      |
+    |                                                                     |
+    | Can't exec "libtoolize": No such file or directory at               |
+    | /opt/local/share/autoconf/Autom4te/FileUtils.pm line 290...         |
+    -----------------------------------------------------------------------
+
+    -----------------------------------------------------------------------
+    |Solaris 10 Note:  CppUnit might not build until you correct the file |
+    |  libstdc++.la to contain the correct data, see this discussion:     |
+    |  http://forum.sun.com/jive/thread.jspa?threadID=73150               |
+    |  Also you must pass --enable-shared=no for Solaris GCC builds       |
+    |  For Solaris builds using the Sun Compiler you must set the env     |
+    |  values CC and CXX to point to the cc and CC commands respectively. |
+    -----------------------------------------------------------------------
+
+The configure script will customize the way the software is built and
+installed into your system along with detecting the available libraries
+that have been installed.  To use the default configuration just run:
+
+  ./configure
+
+For more help on how to customize the build configuration, run:
+
+  ./configure --help
+
+Once the configure script has run successfully, you are ready to build.
+Run:
+
+  make
+
+This will build all of the core ActiveMQ C source code.  To build and
+install the code into the system directories, run:
+
+  make install
+
+You will have to become the superuser in order to be able to install the
+files.
+
+3 Doxygen
+--------------------------------------------------------------------------
+
+To generate the Doxygen documentation for the project, just run:
+
+  make doxygen-run
+
+4 Running Tests
+--------------------------------------------------------------------------
+
+4.1 Unit Tests
+--------------------------------------------------------------------------
+In order to build and run the suite of unit tests, run:
+
+  make check
+
+This will verify that the library is functioning correctly on the target
+platform. In addition, it will generate the integration tests binary.
+
+4.2 Integration Tests
+--------------------------------------------------------------------------
+The library also contains a set of tests that are run against a real AMQ
+broker.  These allow you to validate this distribution of ActiveMQ C
+against your broker.  Running these without a broker will result in failed
+tests.  The tests currently hard-code the broker url to be
+tcp://localhost:61613 for Stomp and tcp://localhost:61616 for Openwire.
+
+The integration tests are built via "make check".  To run them, first
+start a broker and then
+
+  cd src/test-integration
+  ./activemq-test-integration
+
+This will take quite some time to complete, so be patient.  It is recommended
+that you restart the broker between successive runs of the integration tests.
+
+5 Example
+--------------------------------------------------------------------------
+There are example applications that ship with the distribution in
+src/examples.   The examples are compiled by default with the "make"
+command on Unix systems.  Only one sample is included in the Visual Studio
+projects supplied, the others can be easily added by examining the settings
+of the one supplied.
+
+6 Notes for Windows users
+--------------------------------------------------------------------------
+We do not support using the GNU compiler on Windows, using the Cygwin package
+or the MinGW platform, several issues with sockets and threading were found to
+exist when trying to use these solutions.
+
+However we do support using the MSVC compiler on Windows.
+
+There are a couple or things that you will need to setup to ensure that
+the MSVC compile succeeds.
+
+* When linking your application to the DLL version of the ActiveMQ-C library
+  you must link your app the the same runtime version that the DLL is linked to,
+  otherwise your application will cause heap corruption when you delete objects
+  that are created in the ActiveMQ-C DLL's heap.
+
+* You need to download and install the Platform SDK if you don't have it
+  installed already.  On machines where you intend to use the built libraries
+  and executable you will also need to install the MS Redistributable for the
+  version of Visual Studio which you used to build the library.
+
+* Ensure that the path to you MSVC install is set in the PATH env variable.
+  You can test this by typing cl.exe at the command line, if you get an
+  error complaining that its not found, then you'll need to fix your PATH.
+
+* The Project files reference the CPPUnit libraries for the Integration and
+  Unit tests builds. In order for these to build correctly you must
+  either configure the global settings in Visual Studio for include and library
+  folders or add new settings to each of the projects in the solution to point
+  to these locations.
+
+* The Project files reference the APR libraries for the Integration and
+  Unit tests builds. In order for these to build correctly you must
+  either configure the global settings in Visual Studio for include and library
+  folders or add new settings to each of the projects in the solution to point
+  to these locations.

Propchange: activemq/activemq-cpp/trunk/activemq-c/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/RELEASE_NOTES.txt?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/RELEASE_NOTES.txt (added)
+++ activemq/activemq-cpp/trunk/activemq-c/RELEASE_NOTES.txt Sun Apr 26 14:14:22 2009
@@ -0,0 +1,6 @@
+=========================================================================
+==  Release Notes for ActiveMQ CPP 1.0                                 ==
+=========================================================================
+
+This is the first release of the ActiveMQ-C Wrapper library.
+

Propchange: activemq/activemq-cpp/trunk/activemq-c/RELEASE_NOTES.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/activemq-c.pc.in
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/activemq-c.pc.in?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/activemq-c.pc.in (added)
+++ activemq/activemq-cpp/trunk/activemq-c/activemq-c.pc.in Sun Apr 26 14:14:22 2009
@@ -0,0 +1,27 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: ActiveMQ C Client
+Description: ActiveMQ-CPP C Wrapper library.
+Version: @VERSION@
+Libs: -L${libdir} -l@ACTIVEMQ_LIBRARY_NAME@-@ACTIVEMQ_API_VERSION@ -lpthread -ldl -luuid
+Cflags: -I${includedir}/@ACTIVEMQ_LIBRARY_NAME@-@ACTIVEMQ_API_VERSION@ -I${libdir}/@ACTIVEMQ_LIBRARY_NAME@-@ACTIVEMQ_API_VERSION@/include

Propchange: activemq/activemq-cpp/trunk/activemq-c/activemq-c.pc.in
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/activemqc-1-config.in
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/activemqc-1-config.in?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/activemqc-1-config.in (added)
+++ activemq/activemq-cpp/trunk/activemq-c/activemqc-1-config.in Sun Apr 26 14:14:22 2009
@@ -0,0 +1,124 @@
+#!/bin/sh
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+bindir="@bindir@"
+libdir="@libdir@"
+datadir="@datadir@"
+installbuilddir="@installbuilddir@"
+includedir="@includedir@"
+datarootdir="@datadir@"
+
+usage()
+{
+    cat <<EOF
+Usage: activemqc-config [OPTION] ...
+
+Generic options
+  --version	output ActiveMQ-C version information.
+  --help	display this help and exit.
+
+Compilation support options
+  --cflags	  print pre-processor and compiler flags
+  --includes  print the include directories for ActiveMQ-CPP Headers.
+  --libs	  print library linking information
+
+Install directories ActiveMQ-C was configured to
+  --prefix[=DIR]
+  --exec-prefix[=DIR]
+
+EOF
+    exit $1
+}
+
+if test $# -eq 0; then
+    usage 1 1>&2
+fi
+
+while test $# -gt 0; do
+  case "$1" in
+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+  *) optarg= ;;
+  esac
+
+  case $1 in
+    --prefix=*)
+      prefix=$optarg
+      if test $exec_prefix_set = no ; then
+        exec_prefix=$optarg
+      fi
+      ;;
+    --prefix)
+      echo_prefix=yes
+      ;;
+    --exec-prefix=*)
+      exec_prefix=$optarg
+      exec_prefix_set=yes
+      ;;
+    --exec-prefix)
+      echo_exec_prefix=yes
+      ;;
+    --version)
+      echo @ACTIVEMQ_VERSION@
+      ;;
+    --help)
+      usage 0
+      ;;
+    --cflags)
+      echo_cflags=yes
+      ;;
+    --includes)
+      echo_includes=yes
+      ;;
+    --libs)
+      echo_libs=yes
+      ;;
+    *)
+      usage 1 1>&2
+      ;;
+  esac
+  shift
+done
+
+if test "$echo_prefix" = "yes"; then
+    echo $prefix
+fi
+
+if test "$echo_exec_prefix" = "yes"; then
+    echo $exec_prefix
+fi
+
+if test "$echo_cflags" = "yes"; then
+    echo -I$includedir/@ACTIVEMQ_LIBRARY_NAME@-@ACTIVEMQ_API_VERSION@
+fi
+
+if test "$echo_includes" = "yes"; then
+    echo -I$includedir/@ACTIVEMQ_LIBRARY_NAME@-@ACTIVEMQ_API_VERSION@
+fi
+
+if test "$echo_libs" = "yes"; then
+    if test @libdir@ != /usr/lib ; then
+          my_linker_flags="-L@libdir@"
+    fi
+    echo ${my_linker_flags} -lactivemq-c
+fi
+
+
+
+

Propchange: activemq/activemq-cpp/trunk/activemq-c/activemqc-1-config.in
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/assembly/source.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/assembly/source.xml?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/assembly/source.xml (added)
+++ activemq/activemq-cpp/trunk/activemq-c/assembly/source.xml Sun Apr 26 14:14:22 2009
@@ -0,0 +1,41 @@
+<assembly>
+  <id>source</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>zip</format>
+  </formats>
+  <files>
+    <file>
+      <source>autogen.sh</source>
+      <outputDirectory>/</outputDirectory>
+      <filtered>false</filtered>
+      <fileMode>0755</fileMode>
+    </file>
+  </files>
+  <fileSets>
+    <fileSet>
+      <includes>
+        <include>KEYS</include>
+        <include>doxygen.cfg</include>
+        <include>activemq-c.pc.in</include>
+        <include>activemqc-1-config.in</include>
+        <include>*.txt</include>
+        <include>*.win</include>
+        <include>*.ac</include>
+        <include>*.am</include>
+      </includes>
+    </fileSet>
+    <fileSet>
+      <directory>src</directory>
+    </fileSet>
+    <fileSet>
+      <directory>doc</directory>
+    </fileSet>
+    <fileSet>
+      <directory>m4</directory>
+    </fileSet>
+    <fileSet>
+      <directory>vs2005-build</directory>
+    </fileSet>
+  </fileSets>
+</assembly>

Propchange: activemq/activemq-cpp/trunk/activemq-c/assembly/source.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/autogen.sh
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/autogen.sh?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/autogen.sh (added)
+++ activemq/activemq-cpp/trunk/activemq-c/autogen.sh Sun Apr 26 14:14:22 2009
@@ -0,0 +1,19 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+# 
+# http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+#!/bin/sh
+autoreconf --force --install -I config -I m4

Propchange: activemq/activemq-cpp/trunk/activemq-c/autogen.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: activemq/activemq-cpp/trunk/activemq-c/autogen.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: activemq/activemq-cpp/trunk/activemq-c/configure.ac
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/configure.ac?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/configure.ac (added)
+++ activemq/activemq-cpp/trunk/activemq-c/configure.ac Sun Apr 26 14:14:22 2009
@@ -0,0 +1,239 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+AC_PREREQ(2.61)
+
+## -----------------------------------------------------------------------------
+## Initialization macros.
+## -----------------------------------------------------------------------------
+AC_INIT(activemq-c, 1, dev@activemq.apache.org)
+AC_CONFIG_AUX_DIR(config)
+AC_CONFIG_SRCDIR(src/main/c/ActiveMQConnection.c)
+
+## -----------------------------------------------------------------------------
+## Define the Version variables
+## -----------------------------------------------------------------------------
+ACTIVEMQ_LIBRARY_NAME=activemq-c
+ACTIVEMQ_VERSION=1.0
+ACTIVEMQ_API_VERSION=${ACTIVEMQ_VERSION}
+
+##
+## When releasing a new version the ACTIVEMQ_LIBRARY_VERSION needs to be updated.
+## The following rules apply to the numbers in the version.
+##
+## MAJOR: a change in the MAJOR number is necessary for anything that changes
+##  binary compatibility (e.g. changing a function prototype or class definition),
+##  or when major internal changes occur
+## MINOR: a change in the MINOR number is necessary whenever new functionality is
+##  added without breaking binary compatibility (e.g. adding a new class), or when
+##  anything other than very minor internal changes occur
+## REVISION: a change in the REVISION number is made for any other type of change
+##  that does not justify a change to MINOR or MAJOR
+##
+ACTIVEMQ_LIBRARY_VERSION=1:0:0
+
+AC_SUBST(ACTIVEMQ_LIBRARY_NAME)
+AC_SUBST(ACTIVEMQ_VERSION)
+AC_SUBST(ACTIVEMQ_LIBRARY_VERSION)
+AC_SUBST(ACTIVEMQ_API_VERSION)
+
+PACKAGE=$ACTIVEMQ_LIBRARY_NAME
+VERSION=$ACTIVEMQ_VERSION
+
+AM_INIT_AUTOMAKE([subdir-objects])
+AM_CONFIG_HEADER(config.h)
+
+# Gives us access to the host_os environment variable
+AC_CANONICAL_HOST
+
+## -----------------------------------------------------------------------------
+## Checks for programs.
+## -----------------------------------------------------------------------------
+
+AC_PROG_CC
+AC_PROG_CXX
+AC_LIBTOOL_WIN32_DLL
+AC_PROG_LIBTOOL
+AC_SUBST([LIBTOOL_DEPS])
+
+AM_SANITY_CHECK
+AC_LANG_CPLUSPLUS
+
+AC_FUNC_MEMCMP
+AC_FUNC_VPRINTF
+AC_HEADER_STDC
+AC_C_CONST
+AC_TYPE_SIZE_T
+AC_C_BIGENDIAN
+AC_CHECK_SIZEOF(short)
+AC_CHECK_SIZEOF(int)
+AC_CHECK_SIZEOF(long)
+
+AC_CHECK_SIZEOF(char, 1)
+AC_CHECK_SIZEOF(short, 2)
+AC_CHECK_SIZEOF(int, 4)
+AC_CHECK_SIZEOF(long long, 8)
+AC_CHECK_SIZEOF(float, 4)
+AC_CHECK_SIZEOF(double, 8)
+
+AC_CHECK_HEADERS([uuid.h uuid/uuid.h], [AC_DEFINE([HAVE_UUID_T], [1], [Define if uuid_t exists.])])
+AC_CHECK_HEADERS([objbase.h])
+AC_CHECK_HEADERS([repcdce.h])
+AC_CHECK_HEADERS([sys/filio.h])
+AC_CHECK_HEADERS([sys/ioctl.h])
+AC_CHECK_HEADERS([sys/select.h])
+AC_CHECK_HEADERS([sys/time.h])
+AC_CHECK_HEADERS([sys/timeb.h])
+AC_CHECK_HEADERS([pthread.h])
+
+AC_CHECK_FUNCS([ioctl select gettimeofday time ftime])
+
+AMQ_FIND_CPPUNIT(1.10.2, cppunit=yes, cppunit=no; AC_MSG_RESULT([no. Unit and Integration tests disabled]))
+AM_CONDITIONAL(BUILD_CPPUNIT_TESTS, test x$cppunit = xyes)
+
+# Absolute source/build directory
+decaf_srcdir=`(cd $srcdir && pwd)`
+decaf_builddir=`pwd`
+AC_SUBST(decaf_srcdir)
+AC_SUBST(decaf_builddir)
+
+if test "$decaf_builddir" != "$decaf_srcdir"; then
+  USE_VPATH=1
+  DECAF_CONFIG_LOCATION=build
+else
+  DECAF_CONFIG_LOCATION=source
+fi
+
+AC_SUBST(DECAF_CONFIG_LOCATION)
+
+PLAT_CXXFLAGS=
+PLAT_LIBS=
+
+case "${host_os}" in
+
+  *darwin* ) ## Mac OS X configuration
+    PLAT_CXXFLAGS="-ansi -pedantic"
+    ;;
+
+  *cygwin* ) ## Cygwin configuration
+    PLAT_CXXFLAGS="-Wno-uninitialized"
+    PLAT_LIBS="-lm -lpthread -luuid -lrpcrt4"
+    ;;
+
+  *solaris* ) ## Solaris configuration
+    AC_CHECK_LIB(pthread, pthread_create,[have_pthread="yes"],
+                AC_MSG_ERROR([libpthread not found!]))
+
+    PLAT_LIBS="-lm -lpthread -luuid -lsocket -lrt"
+
+    if test "$GCC" = "yes"; then
+       PLAT_CXXFLAGS="-ansi -pedantic"
+    else
+       # Assuming Sun Compiler and adding in optimization
+       # because autoconf can't seem to figure it out.
+       PLAT_CXXFLAGS="-mt -w -O5 -library=stlport4"
+    fi
+    ;;
+
+  *) ## Unix configuration
+
+    AC_CHECK_LIB(pthread, pthread_create,[have_pthread="yes"],
+                 AC_MSG_ERROR([libpthread not found!]))
+
+    PLAT_CXXFLAGS="-ansi -pedantic"
+    PLAT_LIBS="-lm -lpthread -luuid"
+esac
+
+## find and configure the Apache Decaf Library
+## DECAF_CONFIGURE_DECAF - Future use for decaf as a standalone lib
+## Flags for building the decaf cpp library
+## find and configure the APR, and APR Utils
+DECAF_CONFIGURE_APR
+DECAF_CXXFLAGS="$APR_CPPFLAGS $APR_INCLUDES $APU_INCLUDES"
+DECAF_LIBS="$APR_LIBS $APR_LDFLAGS $APU_LIBS $APU_LDFLAGS"
+
+AC_SUBST([DECAF_CXXFLAGS])
+AC_SUBST([DECAF_LIBS])
+
+## Flags for building the test applications.
+DECAF_TEST_CXXFLAGS="$DECAF_CXXFLAGS $APR_CPPFLAGS $APR_INCLUDES $APU_INCLUDES"
+AC_SUBST([DECAF_TEST_CXXFLAGS])
+
+## Flags for building the activemq-cpp library
+AC_SUBST([AMQ_CXXFLAGS])
+AC_SUBST([AMQ_LIBS])
+
+if test "$GCC" = "yes"; then
+   AMQ_CXXFLAGS="$PLAT_CXXFLAGS $DECAF_INCLUDES $DECAF_CXXFLAGS -W -Wall -fPIC -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long"
+else
+   AMQ_CXXFLAGS="$PLAT_CXXFLAGS $DECAF_INCLUDES $DECAF_CXXFLAGS -PIC"
+fi
+
+AMQ_LIBS="$PLAT_LIBS $DECAF_LIBS"
+
+if test "$GCC" = "yes"; then
+   AMQ_TEST_CXXFLAGS="$AMQ_CXXFLAGS $DECAF_INCLUDES $DECAF_CXXFLAGS -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-uninitialized"
+else
+   AMQ_TEST_CXXFLAGS="$AMQ_CXXFLAGS $DECAF_INCLUDES $DECAF_CXXFLAGS"
+fi
+
+AMQ_TEST_LIBS="../main/libactivemq-c.la $DECAF_LIBS"
+
+## Flags for building the test applications.
+AC_SUBST([AMQ_TEST_CXXFLAGS])
+AC_SUBST([AMQ_TEST_LIBS])
+
+# Check to see if the compiler supports the visibility flags.
+# If so, define HAVE_VISIBILITY_OPTIONS
+CHECK_VISIBILITY()
+
+## Not all platforms define addrinfo and related functions.  If this platform
+## supports addrinfo, defines HAVE_STRUCT_ADDRINFO.
+CHECK_ADDRINFO()
+
+## Execute Doxygen macros
+DX_HTML_FEATURE(ON)
+DX_CHM_FEATURE(OFF)
+DX_CHI_FEATURE(OFF)
+DX_MAN_FEATURE(OFF)
+DX_RTF_FEATURE(OFF)
+DX_XML_FEATURE(OFF)
+DX_PDF_FEATURE(OFF)
+DX_PS_FEATURE(OFF)
+DX_INIT_DOXYGEN(activemq-c, doxygen.cfg, doc)
+
+## -----------------------------------------------------------------------------
+## configuration
+## Generates Makefile's, configuration files and scripts
+## -----------------------------------------------------------------------------
+
+AC_OUTPUT_COMMANDS([chmod +x activemqc-1-config],[])
+
+AC_CONFIG_FILES(Makefile)
+AC_CONFIG_FILES(activemq-c.pc)
+AC_CONFIG_FILES(src/main/Makefile)
+AC_CONFIG_FILES(src/examples/Makefile)
+AC_CONFIG_FILES(activemqc-1-config)
+
+if test x$cppunit = xyes
+then
+  AC_CONFIG_FILES(src/test/c/Makefile)
+  AC_CONFIG_FILES(src/test-integration/c/Makefile)
+  AC_CONFIG_FILES(src/test-benchmarks/c/Makefile)
+fi
+
+AC_OUTPUT

Propchange: activemq/activemq-cpp/trunk/activemq-c/configure.ac
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/m4/ac_amqcpp_utils.m4
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/m4/ac_amqcpp_utils.m4?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/m4/ac_amqcpp_utils.m4 (added)
+++ activemq/activemq-cpp/trunk/activemq-c/m4/ac_amqcpp_utils.m4 Sun Apr 26 14:14:22 2009
@@ -0,0 +1,75 @@
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl Licensed to the Apache Software Foundation (ASF) under one or more
+dnl contributor license agreements.  See the NOTICE file distributed with
+dnl this work for additional information regarding copyright ownership.
+dnl The ASF licenses this file to You under the Apache License, Version 2.0
+dnl (the "License"); you may not use this file except in compliance with
+dnl the License.  You may obtain a copy of the License at
+dnl
+dnl     http://www.apache.org/licenses/LICENSE-2.0
+dnl
+dnl Unless required by applicable law or agreed to in writing, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+dnl -------------------------------------------------------- -*- autoconf -*-
+
+# AMQ_EXTERNAL_PROJECT_SETUP()
+# Internal helper for AMQ_EXTERNAL_PROJECT.
+AC_DEFUN([AMQ_EXTERNAL_PROJECT_SETUP], [
+  do_subdir_config="yes"
+  AC_ARG_ENABLE([subdir-config],
+    AC_HELP_STRING([--disable-subdir-config],
+                   [do not reconfigure packages in subdirectories]),
+    [if test "$enableval" = "no"; then do_subdir_config="no"; fi])
+  AC_SUBST([AMQ_EXTERNAL_PROJECT_SUBDIRS], [""])
+])
+
+# AMQ_EXTERNAL_PROJECT(SUBDIR [, ADDITIONAL-CONFIGURE-ARGS])
+# Setup SUBDIR as an external project. This means:
+# - Execute the configure script immediately at the point of macro invocation.
+# - Add SUBDIR to the substitution variable AMQ_EXTERNAL_PROJECT_SUBDIRS,
+#   for the Makefile.in to arrange to execute make in the subdir.
+#
+# Derived from APR_SUBDIR_CONFIG
+AC_DEFUN([AMQ_EXTERNAL_PROJECT], [
+  AC_REQUIRE([AMQ_EXTERNAL_PROJECT_SETUP])
+  AMQ_EXTERNAL_PROJECT_SUBDIRS="$AMQ_EXTERNAL_PROJECT_SUBDIRS $1"
+  if test "$do_subdir_config" = "yes" ; then
+    # save our work to this point; this allows the sub-package to use it
+    AC_CACHE_SAVE
+
+    AC_MSG_NOTICE([configuring package in $1 now])
+    ac_popdir=`pwd`
+    ac_abs_srcdir=`(cd $srcdir/$1 && pwd)`
+    apr_config_subdirs="$1"
+    AS_MKDIR_P( $1 )
+    cd $1
+
+    # A "../" for each directory in /$config_subdirs.
+    ac_dots=[`echo $apr_config_subdirs|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`]
+
+    # Make the cache file name correct relative to the subdirectory.
+    case "$cache_file" in
+    /*) ac_sub_cache_file=$cache_file ;;
+    *) # Relative path.
+      ac_sub_cache_file="$ac_dots$cache_file" ;;
+    esac
+
+    # The eval makes quoting arguments work.
+    if eval $SHELL $ac_abs_srcdir/configure $ac_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir $2
+    then :
+      echo "$1 configured properly"
+    else
+      echo "configure failed for $1"
+      exit 1
+    fi
+    cd $ac_popdir
+
+    # grab any updates from the sub-package
+    AC_CACHE_LOAD
+  else
+    AC_MSG_WARN([not running configure in $1])
+  fi
+])

Propchange: activemq/activemq-cpp/trunk/activemq-c/m4/ac_amqcpp_utils.m4
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/m4/ac_doxygen.m4
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/m4/ac_doxygen.m4?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/m4/ac_doxygen.m4 (added)
+++ activemq/activemq-cpp/trunk/activemq-c/m4/ac_doxygen.m4 Sun Apr 26 14:14:22 2009
@@ -0,0 +1,324 @@
+#
+# Copyright 2007 Oren Ben-Kiki
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#         http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.  See the License for the specific language governing
+# permissions and limitations under the License.
+#
+
+
+# Generate automatic documentation using Doxygen. Works in concert with the
+# aminclude.m4 file and a compatible doxygen configuration file. Defines the
+# following public macros:
+#
+# DX_???_FEATURE(ON|OFF) - control the default setting fo a Doxygen feature.
+# Supported features are 'DOXYGEN' itself, 'DOT' for generating graphics,
+# 'HTML' for plain HTML, 'CHM' for compressed HTML help (for MS users), 'CHI'
+# for generating a seperate .chi file by the .chm file, and 'MAN', 'RTF',
+# 'XML', 'PDF' and 'PS' for the appropriate output formats. The environment
+# variable DOXYGEN_PAPER_SIZE may be specified to override the default 'a4wide'
+# paper size.
+#
+# By default, HTML, PDF and PS documentation is generated as this seems to be
+# the most popular and portable combination. MAN pages created by Doxygen are
+# usually problematic, though by picking an appropriate subset and doing some
+# massaging they might be better than nothing. CHM and RTF are specific for MS
+# (note that you can't generate both HTML and CHM at the same time). The XML is
+# rather useless unless you apply specialized post-processing to it.
+#
+# The macro mainly controls the default state of the feature. The use can
+# override the default by specifying --enable or --disable. The macros ensure
+# that contradictory flags are not given (e.g., --enable-doxygen-html and
+# --enable-doxygen-chm, --enable-doxygen-anything with --disable-doxygen, etc.)
+# Finally, each feature will be automatically disabled (with a warning) if the
+# required programs are missing.
+#
+# Once all the feature defaults have been specified, call DX_INIT_DOXYGEN with
+# the following parameters: a one-word name for the project for use as a
+# filename base etc., an optional configuration file name (the default is
+# 'Doxyfile', the same as Doxygen's default), and an optional output directory
+# name (the default is 'doxygen-doc').
+
+## ----------##
+## Defaults. ##
+## ----------##
+
+DX_ENV=""
+AC_DEFUN([DX_FEATURE_doc],  ON)
+AC_DEFUN([DX_FEATURE_dot],  ON)
+AC_DEFUN([DX_FEATURE_man],  OFF)
+AC_DEFUN([DX_FEATURE_html], ON)
+AC_DEFUN([DX_FEATURE_chm],  OFF)
+AC_DEFUN([DX_FEATURE_chi],  OFF)
+AC_DEFUN([DX_FEATURE_rtf],  OFF)
+AC_DEFUN([DX_FEATURE_xml],  OFF)
+AC_DEFUN([DX_FEATURE_pdf],  ON)
+AC_DEFUN([DX_FEATURE_ps],   ON)
+
+## --------------- ##
+## Private macros. ##
+## --------------- ##
+
+# DX_ENV_APPEND(VARIABLE, VALUE)
+# ------------------------------
+# Append VARIABLE="VALUE" to DX_ENV for invoking doxygen.
+AC_DEFUN([DX_ENV_APPEND], [AC_SUBST([DX_ENV], ["$DX_ENV $1='$2'"])])
+
+# DX_DIRNAME_EXPR
+# ---------------
+# Expand into a shell expression prints the directory part of a path.
+AC_DEFUN([DX_DIRNAME_EXPR],
+         [[expr ".$1" : '\(\.\)[^/]*$' \| "x$1" : 'x\(.*\)/[^/]*$']])
+
+# DX_IF_FEATURE(FEATURE, IF-ON, IF-OFF)
+# -------------------------------------
+# Expands according to the M4 (static) status of the feature.
+AC_DEFUN([DX_IF_FEATURE], [ifelse(DX_FEATURE_$1, ON, [$2], [$3])])
+
+# DX_REQUIRE_PROG(VARIABLE, PROGRAM)
+# ----------------------------------
+# Require the specified program to be found for the DX_CURRENT_FEATURE to work.
+AC_DEFUN([DX_REQUIRE_PROG], [
+AC_PATH_TOOL([$1], [$2])
+if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then
+    AC_MSG_WARN([$2 not found - will not DX_CURRENT_DESCRIPTION])
+    AC_SUBST([DX_FLAG_]DX_CURRENT_FEATURE, 0)
+fi
+])
+
+# DX_TEST_FEATURE(FEATURE)
+# ------------------------
+# Expand to a shell expression testing whether the feature is active.
+AC_DEFUN([DX_TEST_FEATURE], [test "$DX_FLAG_$1" = 1])
+
+# DX_CHECK_DEPEND(REQUIRED_FEATURE, REQUIRED_STATE)
+# -------------------------------------------------
+# Verify that a required features has the right state before trying to turn on
+# the DX_CURRENT_FEATURE.
+AC_DEFUN([DX_CHECK_DEPEND], [
+test "$DX_FLAG_$1" = "$2" \
+|| AC_MSG_ERROR([doxygen-DX_CURRENT_FEATURE ifelse([$2], 1,
+                            requires, contradicts) doxygen-DX_CURRENT_FEATURE])
+])
+
+# DX_CLEAR_DEPEND(FEATURE, REQUIRED_FEATURE, REQUIRED_STATE)
+# ----------------------------------------------------------
+# Turn off the DX_CURRENT_FEATURE if the required feature is off.
+AC_DEFUN([DX_CLEAR_DEPEND], [
+test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_]DX_CURRENT_FEATURE, 0)
+])
+
+# DX_FEATURE_ARG(FEATURE, DESCRIPTION,
+#                CHECK_DEPEND, CLEAR_DEPEND,
+#                REQUIRE, DO-IF-ON, DO-IF-OFF)
+# --------------------------------------------
+# Parse the command-line option controlling a feature. CHECK_DEPEND is called
+# if the user explicitly turns the feature on (and invokes DX_CHECK_DEPEND),
+# otherwise CLEAR_DEPEND is called to turn off the default state if a required
+# feature is disabled (using DX_CLEAR_DEPEND). REQUIRE performs additional
+# requirement tests (DX_REQUIRE_PROG). Finally, an automake flag is set and
+# DO-IF-ON or DO-IF-OFF are called according to the final state of the feature.
+AC_DEFUN([DX_ARG_ABLE], [
+    AC_DEFUN([DX_CURRENT_FEATURE], [$1])
+    AC_DEFUN([DX_CURRENT_DESCRIPTION], [$2])
+    AC_ARG_ENABLE(doxygen-$1,
+                  [AS_HELP_STRING(DX_IF_FEATURE([$1], [--disable-doxygen-$1],
+                                                      [--enable-doxygen-$1]),
+                                  DX_IF_FEATURE([$1], [don't $2], [$2]))],
+                  [
+case "$enableval" in
+#(
+y|Y|yes|Yes|YES)
+    AC_SUBST([DX_FLAG_$1], 1)
+    $3
+;; #(
+n|N|no|No|NO)
+    AC_SUBST([DX_FLAG_$1], 0)
+;; #(
+*)
+    AC_MSG_ERROR([invalid value '$enableval' given to doxygen-$1])
+;;
+esac
+], [
+AC_SUBST([DX_FLAG_$1], [DX_IF_FEATURE([$1], 1, 0)])
+$4
+])
+if DX_TEST_FEATURE([$1]); then
+    $5
+    :
+fi
+if DX_TEST_FEATURE([$1]); then
+    AM_CONDITIONAL(DX_COND_$1, :)
+    $6
+    :
+else
+    AM_CONDITIONAL(DX_COND_$1, false)
+    $7
+    :
+fi
+])
+
+## -------------- ##
+## Public macros. ##
+## -------------- ##
+
+# DX_XXX_FEATURE(DEFAULT_STATE)
+# -----------------------------
+AC_DEFUN([DX_DOXYGEN_FEATURE], [AC_DEFUN([DX_FEATURE_doc],  [$1])])
+AC_DEFUN([DX_MAN_FEATURE],     [AC_DEFUN([DX_FEATURE_man],  [$1])])
+AC_DEFUN([DX_HTML_FEATURE],    [AC_DEFUN([DX_FEATURE_html], [$1])])
+AC_DEFUN([DX_CHM_FEATURE],     [AC_DEFUN([DX_FEATURE_chm],  [$1])])
+AC_DEFUN([DX_CHI_FEATURE],     [AC_DEFUN([DX_FEATURE_chi],  [$1])])
+AC_DEFUN([DX_RTF_FEATURE],     [AC_DEFUN([DX_FEATURE_rtf],  [$1])])
+AC_DEFUN([DX_XML_FEATURE],     [AC_DEFUN([DX_FEATURE_xml],  [$1])])
+AC_DEFUN([DX_XML_FEATURE],     [AC_DEFUN([DX_FEATURE_xml],  [$1])])
+AC_DEFUN([DX_PDF_FEATURE],     [AC_DEFUN([DX_FEATURE_pdf],  [$1])])
+AC_DEFUN([DX_PS_FEATURE],      [AC_DEFUN([DX_FEATURE_ps],   [$1])])
+
+# DX_INIT_DOXYGEN(PROJECT, [CONFIG-FILE], [OUTPUT-DOC-DIR])
+# ---------------------------------------------------------
+# PROJECT also serves as the base name for the documentation files.
+# The default CONFIG-FILE is "Doxyfile" and OUTPUT-DOC-DIR is "doxygen-doc".
+AC_DEFUN([DX_INIT_DOXYGEN], [
+
+# Files:
+AC_SUBST([DX_PROJECT], [$1])
+AC_SUBST([DX_CONFIG], [ifelse([$2], [], Doxyfile, [$2])])
+AC_SUBST([DX_DOCDIR], [ifelse([$3], [], doxygen-doc, [$3])])
+
+# Environment variables used inside doxygen.cfg:
+DX_ENV_APPEND(SRCDIR, $srcdir)
+DX_ENV_APPEND(PROJECT, $DX_PROJECT)
+DX_ENV_APPEND(DOCDIR, $DX_DOCDIR)
+DX_ENV_APPEND(VERSION, $PACKAGE_VERSION)
+
+# Doxygen itself:
+DX_ARG_ABLE(doc, [generate any doxygen documentation],
+            [],
+            [],
+            [DX_REQUIRE_PROG([DX_DOXYGEN], doxygen)
+             DX_REQUIRE_PROG([DX_PERL], perl)],
+            [DX_ENV_APPEND(PERL_PATH, $DX_PERL)])
+
+# Dot for graphics:
+DX_ARG_ABLE(dot, [generate graphics for doxygen documentation],
+            [DX_CHECK_DEPEND(doc, 1)],
+            [DX_CLEAR_DEPEND(doc, 1)],
+            [DX_REQUIRE_PROG([DX_DOT], dot)],
+            [DX_ENV_APPEND(HAVE_DOT, YES)
+             DX_ENV_APPEND(DOT_PATH, [`DX_DIRNAME_EXPR($DX_DOT)`])],
+            [DX_ENV_APPEND(HAVE_DOT, NO)])
+
+# Man pages generation:
+DX_ARG_ABLE(man, [generate doxygen manual pages],
+            [DX_CHECK_DEPEND(doc, 1)],
+            [DX_CLEAR_DEPEND(doc, 1)],
+            [],
+            [DX_ENV_APPEND(GENERATE_MAN, YES)],
+            [DX_ENV_APPEND(GENERATE_MAN, NO)])
+
+# RTF file generation:
+DX_ARG_ABLE(rtf, [generate doxygen RTF documentation],
+            [DX_CHECK_DEPEND(doc, 1)],
+            [DX_CLEAR_DEPEND(doc, 1)],
+            [],
+            [DX_ENV_APPEND(GENERATE_RTF, YES)],
+            [DX_ENV_APPEND(GENERATE_RTF, NO)])
+
+# XML file generation:
+DX_ARG_ABLE(xml, [generate doxygen XML documentation],
+            [DX_CHECK_DEPEND(doc, 1)],
+            [DX_CLEAR_DEPEND(doc, 1)],
+            [],
+            [DX_ENV_APPEND(GENERATE_XML, YES)],
+            [DX_ENV_APPEND(GENERATE_XML, NO)])
+
+# (Compressed) HTML help generation:
+DX_ARG_ABLE(chm, [generate doxygen compressed HTML help documentation],
+            [DX_CHECK_DEPEND(doc, 1)],
+            [DX_CLEAR_DEPEND(doc, 1)],
+            [DX_REQUIRE_PROG([DX_HHC], hhc)],
+            [DX_ENV_APPEND(HHC_PATH, $DX_HHC)
+             DX_ENV_APPEND(GENERATE_HTML, YES)
+             DX_ENV_APPEND(GENERATE_HTMLHELP, YES)],
+            [DX_ENV_APPEND(GENERATE_HTMLHELP, NO)])
+
+# Seperate CHI file generation.
+DX_ARG_ABLE(chi, [generate doxygen seperate compressed HTML help index file],
+            [DX_CHECK_DEPEND(chm, 1)],
+            [DX_CLEAR_DEPEND(chm, 1)],
+            [],
+            [DX_ENV_APPEND(GENERATE_CHI, YES)],
+            [DX_ENV_APPEND(GENERATE_CHI, NO)])
+
+# Plain HTML pages generation:
+DX_ARG_ABLE(html, [generate doxygen plain HTML documentation],
+            [DX_CHECK_DEPEND(doc, 1) DX_CHECK_DEPEND(chm, 0)],
+            [DX_CLEAR_DEPEND(doc, 1) DX_CLEAR_DEPEND(chm, 0)],
+            [],
+            [DX_ENV_APPEND(GENERATE_HTML, YES)],
+            [DX_TEST_FEATURE(chm) || DX_ENV_APPEND(GENERATE_HTML, NO)])
+
+# PostScript file generation:
+DX_ARG_ABLE(ps, [generate doxygen PostScript documentation],
+            [DX_CHECK_DEPEND(doc, 1)],
+            [DX_CLEAR_DEPEND(doc, 1)],
+            [DX_REQUIRE_PROG([DX_LATEX], latex)
+             DX_REQUIRE_PROG([DX_MAKEINDEX], makeindex)
+             DX_REQUIRE_PROG([DX_DVIPS], dvips)
+             DX_REQUIRE_PROG([DX_EGREP], egrep)])
+
+# PDF file generation:
+DX_ARG_ABLE(pdf, [generate doxygen PDF documentation],
+            [DX_CHECK_DEPEND(doc, 1)],
+            [DX_CLEAR_DEPEND(doc, 1)],
+            [DX_REQUIRE_PROG([DX_PDFLATEX], pdflatex)
+             DX_REQUIRE_PROG([DX_MAKEINDEX], makeindex)
+             DX_REQUIRE_PROG([DX_EGREP], egrep)])
+
+# LaTeX generation for PS and/or PDF:
+if DX_TEST_FEATURE(ps) || DX_TEST_FEATURE(pdf); then
+    AM_CONDITIONAL(DX_COND_latex, :)
+    DX_ENV_APPEND(GENERATE_LATEX, YES)
+else
+    AM_CONDITIONAL(DX_COND_latex, false)
+    DX_ENV_APPEND(GENERATE_LATEX, NO)
+fi
+
+# Paper size for PS and/or PDF:
+AC_ARG_VAR(DOXYGEN_PAPER_SIZE,
+           [a4wide (default), a4, letter, legal or executive])
+case "$DOXYGEN_PAPER_SIZE" in
+#(
+"")
+    AC_SUBST(DOXYGEN_PAPER_SIZE, "")
+;; #(
+a4wide|a4|letter|legal|executive)
+    DX_ENV_APPEND(PAPER_SIZE, $DOXYGEN_PAPER_SIZE)
+;; #(
+*)
+    AC_MSG_ERROR([unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'])
+;;
+esac
+
+#For debugging:
+#echo DX_FLAG_doc=$DX_FLAG_doc
+#echo DX_FLAG_dot=$DX_FLAG_dot
+#echo DX_FLAG_man=$DX_FLAG_man
+#echo DX_FLAG_html=$DX_FLAG_html
+#echo DX_FLAG_chm=$DX_FLAG_chm
+#echo DX_FLAG_chi=$DX_FLAG_chi
+#echo DX_FLAG_rtf=$DX_FLAG_rtf
+#echo DX_FLAG_xml=$DX_FLAG_xml
+#echo DX_FLAG_pdf=$DX_FLAG_pdf
+#echo DX_FLAG_ps=$DX_FLAG_ps
+#echo DX_ENV=$DX_ENV
+])

Propchange: activemq/activemq-cpp/trunk/activemq-c/m4/ac_doxygen.m4
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/m4/apr_tools.m4
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/m4/apr_tools.m4?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/m4/apr_tools.m4 (added)
+++ activemq/activemq-cpp/trunk/activemq-c/m4/apr_tools.m4 Sun Apr 26 14:14:22 2009
@@ -0,0 +1,154 @@
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl Licensed to the Apache Software Foundation (ASF) under one or more
+dnl contributor license agreements.  See the NOTICE file distributed with
+dnl this work for additional information regarding copyright ownership.
+dnl The ASF licenses this file to You under the Apache License, Version 2.0
+dnl (the "License"); you may not use this file except in compliance with
+dnl the License.  You may obtain a copy of the License at
+dnl
+dnl     http://www.apache.org/licenses/LICENSE-2.0
+dnl
+dnl Unless required by applicable law or agreed to in writing, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl
+dnl  This Macro File defines functions that help to manage the libraries
+dnl  dependance on the Apache Portable Runtime.
+dnl
+dnl  DECAF_CONFIGURE_APR()
+dnl
+dnl  Check configure options and assign variables related to
+dnl  the Apache Portable Runtime (APR) library.
+dnl
+
+AC_DEFUN([DECAF_CONFIGURE_APR],
+[
+  AC_MSG_NOTICE([Apache Portable Runtime (APR) library configuration])
+  APR_FIND_APR([], [], 1, [1])
+  APR_FIND_APU([], [], 1, [1])
+
+  if test $apr_found = "no"; then
+    AC_MSG_WARN([APR not found])
+    DECAF_DOWNLOAD_APR
+  fi
+
+  if test $apu_found = "no"; then
+    AC_MSG_WARN([APR Utils not found])
+    DECAF_DOWNLOAD_APU
+  fi
+
+  APR_VER_REGEXES=["1\.3\.[0-9] 1\.3\.1[0-9] "]
+  APU_VER_REGEXES=["1\.3\.[0-9] 1\.3\.1[0-9] "]
+
+  dnl check APR version number against regex
+
+  AC_MSG_CHECKING([APR version])
+  apr_version="`$apr_config --version`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([apr-config --version failed])
+  fi
+  AC_MSG_RESULT([$apr_version])
+
+  APR_WANTED_REGEX_MATCH=0
+  for apr_wanted_regex in $APR_VER_REGEXES; do
+    if test `expr $apr_version : $apr_wanted_regex` -ne 0; then
+      APR_WANTED_REGEX_MATCH=1
+      break
+    fi
+  done
+
+  if test $APR_WANTED_REGEX_MATCH -eq 0; then
+    echo "wanted regexes are $APR_VER_REGEXES"
+    AC_MSG_ERROR([invalid apr version found, check the README for supported versions.])
+  fi
+
+  dnl check APU version number against regex
+
+  AC_MSG_CHECKING([APU version])
+  apu_version="`$apu_config --version`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([apu-config --version failed])
+  fi
+  AC_MSG_RESULT([$apu_version])
+
+  APU_WANTED_REGEX_MATCH=0
+  for apu_wanted_regex in $APU_VER_REGEXES; do
+    if test `expr $apr_version : $apu_wanted_regex` -ne 0; then
+      APU_WANTED_REGEX_MATCH=1
+      break
+    fi
+  done
+
+  if test $APU_WANTED_REGEX_MATCH -eq 0; then
+    echo "wanted regexes are $APU_VER_REGEXES"
+    AC_MSG_ERROR([invalid apr-util version found, check the README for supported versions.])
+  fi
+
+  dnl Get build information from APR
+
+  APR_CPPFLAGS="`$apr_config --cppflags`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([apr-config --cppflags failed])
+  fi
+
+  APR_INCLUDES="`$apr_config --includes`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([apr-config --includes failed])
+  fi
+  APU_INCLUDES="`$apu_config --includes`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([apu-config --includes failed])
+  fi
+
+  APR_LDFLAGS="`$apr_config --ldflags`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([apr-config --ldflags failed])
+  fi
+  APU_LDFLAGS="`$apu_config --ldflags`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([apu-config --ldflags failed])
+  fi
+
+  APR_LIBS="`$apr_config --link-libtool --libs`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([apr-config --link-libtool --libs failed])
+  fi
+  APU_LIBS="`$apu_config --link-libtool --libs`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([apu-config --link-libtool --libs failed])
+  fi
+
+  AC_SUBST([APR_LIBS])
+  AC_SUBST([APR_LDFLAGS])
+  AC_SUBST([APR_CPPFLAGS])
+  AC_SUBST([APR_INCLUDES])
+  AC_SUBST([APU_LIBS])
+  AC_SUBST([APU_LDFLAGS])
+  AC_SUBST([APU_INCLUDES])
+
+])
+
+dnl DECAF_DOWNLOAD_APR()
+dnl no apr found, print out a message telling the user what to do
+AC_DEFUN([DECAF_DOWNLOAD_APR],
+[
+  echo "The Apache Portable Runtime (APR) library cannot be found."
+  echo "Please install APR on this system and supply the appropriate"
+  echo "--with-apr option to 'configure'"
+
+  AC_MSG_ERROR([no suitable APR found])
+])
+
+dnl DECAF_DOWNLOAD_APU()
+dnl no apr-utils found, print out a message telling the user what to do
+AC_DEFUN([DECAF_DOWNLOAD_APU],
+[
+  echo "The Apache Portable Runtime (APR) Utils library cannot be found."
+  echo "Please install APR Utils on this system and supply the appropriate"
+  echo "--with-apr option to 'configure'"
+
+  AC_MSG_ERROR([no suitable APR Utils found])
+])

Propchange: activemq/activemq-cpp/trunk/activemq-c/m4/apr_tools.m4
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/m4/check_addrinfo.m4
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/m4/check_addrinfo.m4?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/m4/check_addrinfo.m4 (added)
+++ activemq/activemq-cpp/trunk/activemq-c/m4/check_addrinfo.m4 Sun Apr 26 14:14:22 2009
@@ -0,0 +1,48 @@
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl Licensed to the Apache Software Foundation (ASF) under one or more
+dnl contributor license agreements.  See the NOTICE file distributed with
+dnl this work for additional information regarding copyright ownership.
+dnl The ASF licenses this file to You under the Apache License, Version 2.0
+dnl (the "License"); you may not use this file except in compliance with
+dnl the License.  You may obtain a copy of the License at
+dnl
+dnl     http://www.apache.org/licenses/LICENSE-2.0
+dnl
+dnl Unless required by applicable law or agreed to in writing, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+
+dnl
+dnl check_addrinfo.m4 - checks support for addrinfo structure
+dnl
+dnl This macro determines if the platform supports the addrinfo structure.
+dnl If this platform supports addrinfo, defines HAVE_STRUCT_ADDRINFO.
+dnl
+
+AC_DEFUN([CHECK_ADDRINFO], [
+    AC_MSG_CHECKING([whether struct addrinfo is defined])
+    AC_TRY_COMPILE(
+      [ #include <stdio.h>
+        #ifdef HAVE_UNISTD_H
+        # include <unistd.h>
+        #endif
+        #include <sys/types.h>
+        #include <sys/socket.h>
+        #include <netdb.h>
+      ],
+      [
+        do {
+          struct addrinfo a;
+          (void) a.ai_flags;
+        } while(0)
+      ],
+      [
+        AC_MSG_RESULT(yes)
+        AC_DEFINE(HAVE_STRUCT_ADDRINFO,, [define if you have struct addrinfo])
+      ],
+      [
+        AC_MSG_RESULT(no)
+      ])
+])

Propchange: activemq/activemq-cpp/trunk/activemq-c/m4/check_addrinfo.m4
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/m4/check_visibility.m4
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/m4/check_visibility.m4?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/m4/check_visibility.m4 (added)
+++ activemq/activemq-cpp/trunk/activemq-c/m4/check_visibility.m4 Sun Apr 26 14:14:22 2009
@@ -0,0 +1,45 @@
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl Licensed to the Apache Software Foundation (ASF) under one or more
+dnl contributor license agreements.  See the NOTICE file distributed with
+dnl this work for additional information regarding copyright ownership.
+dnl The ASF licenses this file to You under the Apache License, Version 2.0
+dnl (the "License"); you may not use this file except in compliance with
+dnl the License.  You may obtain a copy of the License at
+dnl
+dnl     http://www.apache.org/licenses/LICENSE-2.0
+dnl
+dnl Unless required by applicable law or agreed to in writing, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+
+dnl
+dnl check_visibility.m4 - checks support for visibility family of CXX flags
+dnl
+dnl This macro determines whether or not the CXX flags -fvisibility and 
+dnl -fvisibility-inlines-hidden are allowed with the compiler.  
+dnl
+dnl If so, the result is "yes" and HAVE_VISIBILITY_OPTIONS is defined.  Else, the
+dnl result is "no". 
+dnl
+
+AC_DEFUN([CHECK_VISIBILITY], [
+    AC_MSG_CHECKING([whether -fvisibility flags work])
+           
+    OLDCXXFLAGS="$CXXFLAGS"
+    CXXFLAGS="$CXXFLAGS -Werror -fvisibility=hidden -fvisibility-inlines-hidden"
+    
+    AC_TRY_COMPILE([],
+      [
+      ],
+      [
+        AC_MSG_RESULT(yes)
+        AC_DEFINE([HAVE_VISIBILITY_OPTIONS],[], [define if you have -fvisibility options])
+      ],
+      [
+        AC_MSG_RESULT(no)
+      ])
+      
+    CXXFLAGS="$OLDCXXFLAGS"
+])

Propchange: activemq/activemq-cpp/trunk/activemq-c/m4/check_visibility.m4
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/activemq-cpp/trunk/activemq-c/m4/decaf_tools.m4
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/m4/decaf_tools.m4?rev=768711&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/m4/decaf_tools.m4 (added)
+++ activemq/activemq-cpp/trunk/activemq-c/m4/decaf_tools.m4 Sun Apr 26 14:14:22 2009
@@ -0,0 +1,72 @@
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl Licensed to the Apache Software Foundation (ASF) under one or more
+dnl contributor license agreements.  See the NOTICE file distributed with
+dnl this work for additional information regarding copyright ownership.
+dnl The ASF licenses this file to You under the Apache License, Version 2.0
+dnl (the "License"); you may not use this file except in compliance with
+dnl the License.  You may obtain a copy of the License at
+dnl
+dnl     http://www.apache.org/licenses/LICENSE-2.0
+dnl
+dnl Unless required by applicable law or agreed to in writing, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl
+dnl  This Macro File defines functions that help to manage the libraries
+dnl  dependance on the Apache Decaf Library.
+dnl
+dnl  DECAF_CONFIGURE_DECAF()
+dnl
+dnl  Check configure options and assign variables related to
+dnl  the Apache Decaf Library.
+dnl
+
+AC_DEFUN([DECAF_CONFIGURE_DECAF],
+[
+  AC_MSG_NOTICE([Apache Decaf Library configuration])
+  DECAF_FIND_DECAF([$srcdir/decaf], [./decaf], 1, [0 1])
+
+  if test $decaf_found = "no"; then
+    AC_MSG_WARN([Decaf not found])
+    DECAF_DOWNLOAD_DECAF
+  fi
+
+  if test $decaf_found = "reconfig"; then
+    AMQ_EXTERNAL_PROJECT([decaf])
+  fi
+
+  dnl Get build information from Decaf
+
+  DECAF_CPPFLAGS="`$decaf_config --cppflags`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([decaf-config --cppflags failed])
+  fi
+
+  DECAF_INCLUDES="`$decaf_config --includes`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([decaf-config --includes failed])
+  fi
+
+  DECAF_LIBS="`$decaf_config --libs`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([decaf-config --libs failed])
+  fi
+
+  AC_SUBST([DECAF_LIBS])
+  AC_SUBST([DECAF_INCLUDES])
+  AC_SUBST([DECAF_CPPFLAGS])
+])
+
+dnl DECAF_DOWNLOAD_DECAF()
+dnl no decaf found, print out a message telling the user what to do
+AC_DEFUN([DECAF_DOWNLOAD_DECAF],
+[
+  echo "The Apache Decaf library cannot be found."
+  echo "Please install Decaf on this system and supply the appropriate"
+  echo "--with-decaf option to 'configure'"
+
+  AC_MSG_ERROR([no suitable Decaf Install found])
+])

Propchange: activemq/activemq-cpp/trunk/activemq-c/m4/decaf_tools.m4
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message