Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84186 - in trunk/libs/log: build config doc example/advanced_usage example/async_log example/basic_usage example/bounded_async_log example/doc example/event_log example/keywords example/multiple_files example/multiple_threads example/native_syslog example/rotating_file example/settings_file example/settings_file_formatter_factory example/syslog example/trivial example/wide_char
From: andrey.semashev_at_[hidden]
Date: 2013-05-07 19:03:57


Author: andysem
Date: 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
New Revision: 84186
URL: http://svn.boost.org/trac/boost/changeset/84186

Log:
Added a check for availability of Message Compiler (mc) on Windows. This should simplify building the library on MinGW, Cygwin and MSVC Express and fix MinGW tests.
Added:
   trunk/libs/log/config/
   trunk/libs/log/config/Jamfile.jam (contents, props changed)
Text files modified:
   trunk/libs/log/build/Jamfile.v2 | 152 ++++++++++++++++++++++-----------------
   trunk/libs/log/doc/log.qbk | 4
   trunk/libs/log/example/advanced_usage/Jamfile.v2 | 1
   trunk/libs/log/example/async_log/Jamfile.v2 | 1
   trunk/libs/log/example/basic_usage/Jamfile.v2 | 1
   trunk/libs/log/example/bounded_async_log/Jamfile.v2 | 1
   trunk/libs/log/example/doc/Jamfile.v2 | 2
   trunk/libs/log/example/doc/sinks_simple_event_log.cpp | 5
   trunk/libs/log/example/event_log/Jamfile.v2 | 10 +-
   trunk/libs/log/example/keywords/Jamfile.v2 | 1
   trunk/libs/log/example/multiple_files/Jamfile.v2 | 1
   trunk/libs/log/example/multiple_threads/Jamfile.v2 | 1
   trunk/libs/log/example/native_syslog/Jamfile.v2 | 2
   trunk/libs/log/example/rotating_file/Jamfile.v2 | 1
   trunk/libs/log/example/settings_file/Jamfile.v2 | 1
   trunk/libs/log/example/settings_file_formatter_factory/Jamfile.v2 | 1
   trunk/libs/log/example/syslog/Jamfile.v2 | 2
   trunk/libs/log/example/trivial/Jamfile.v2 | 1
   trunk/libs/log/example/wide_char/Jamfile.v2 | 1
   19 files changed, 98 insertions(+), 91 deletions(-)

Modified: trunk/libs/log/build/Jamfile.v2
==============================================================================
--- trunk/libs/log/build/Jamfile.v2 (original)
+++ trunk/libs/log/build/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,29 +8,30 @@
 import common ;
 import modules ;
 import os ;
+import path ;
+import project ;
 import feature ;
 import version ;
 import property ;
+import configure ;
 import log-architecture ;
 using mc ;
 
+local here = [ modules.binding $(__name__) ] ;
+
+project.push-current [ project.current ] ;
+project.load [ path.join [ path.make $(here:D) ] ../config ] ;
+project.pop-current ;
+
 lib psapi ;
 lib ws2_32 ;
 
-local rule default_logapi ( )
-{
- local api = unix ;
- if [ os.name ] = "NT" { api = winnt ; }
- return $(api) ;
-}
-
-feature.feature logapi : unix winnt : propagated ;
-feature.set-default logapi : [ default_logapi ] ;
+feature.feature log-api : generic winnt unix : propagated ;
 
 rule select-instruction-set-flags ( properties * )
 {
     local result ;
- local instruction_set = [ feature.get-values "log-instruction-set" : $(properties) ] ;
+ local instruction_set = [ feature.get-values "log-instruction-set" : [ log-architecture.deduce-instruction-set $(properties) ] ] ;
 
     if $(instruction_set) = i386 || $(instruction_set) = i486
     {
@@ -58,16 +59,57 @@
     return $(result) ;
 }
 
+rule select-log-api ( properties * )
+{
+ local result = <log-api>generic ;
+
+ local target_os = [ feature.get-values "target-os" : $(properties) ] ;
+ switch $(target_os)
+ {
+ case windows :
+ # We have to verify if message compiler is available
+ if ! <define>BOOST_LOG_WITHOUT_EVENT_LOG in $(properties)
+ {
+ local has_mc = [ configure.builds /boost/message-compiler//test-availability : $(properties) : message-compiler ] ;
+ if $(has_mc)
+ {
+ result = <log-api>winnt ;
+ }
+ }
+
+ case linux : result = <log-api>unix ;
+ case *bsd : result = <log-api>unix ;
+ case darwin : result = <log-api>unix ;
+ case unix : result = <log-api>unix ;
+ case unixware : result = <log-api>unix ;
+ case cygwin : result = <log-api>unix ;
+ case hpux : result = <log-api>unix ;
+ case solaris : result = <log-api>unix ;
+ case qnx* : result = <log-api>unix ;
+ case sgi : result = <log-api>unix ;
+ case aix : result = <log-api>unix ;
+
+ case * : result = <log-api>generic ;
+ }
+
+ if ! <log-api>winnt in $(result)
+ {
+ result += <define>BOOST_LOG_WITHOUT_EVENT_LOG ;
+ }
+ if <log-api>unix in $(result)
+ {
+ result += <define>BOOST_LOG_USE_NATIVE_SYSLOG ;
+ }
+
+ return $(result) ;
+}
+
 project boost/log
     : source-location ../src
     : requirements
- [ log-architecture.architecture ]
- [ log-architecture.address-model ]
- [ log-architecture.instruction-set ]
- <conditional>@select-instruction-set-flags
+ <conditional>@select-log-api
         <define>BOOST_SPIRIT_USE_PHOENIX_V3=1
         <define>BOOST_THREAD_DONT_USE_CHRONO=1 # Don't introduce false dependency on Boost.Chrono
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
@@ -86,20 +128,12 @@
         <library>/boost/system//boost_system
         <threading>single:<define>BOOST_LOG_NO_THREADS
         <threading>multi:<library>/boost/thread//boost_thread
+ <target-os>windows:<library>ws2_32
         <target-os>freebsd:<linkflags>"-lrt"
         <target-os>linux:<linkflags>"-lrt -lpthread"
         <toolset>pgi:<linkflags>"-lrt"
     ;
 
-local no_event_log = [ MATCH (define=BOOST_LOG_WITHOUT_EVENT_LOG) : [ modules.peek : ARGV ] ] ;
-local BOOST_LOG_MC_SRC ;
-
-if ! $(no_event_log)
-{
- DEPENDS event_log_backend.cpp : simple_event_log.mc ;
- BOOST_LOG_MC_SRC = simple_event_log.mc ;
-}
-
 local BOOST_LOG_COMMON_SRC =
     attribute_name.cpp
     attribute_set.cpp
@@ -146,7 +180,7 @@
 {
     local result = <build>no ;
 
- if <log-architecture>x86 in $(properties)
+ if <log-architecture>x86 in [ log-architecture.deduce-architecture $(properties) ]
     {
         if <toolset>gcc in $(properties)
         {
@@ -167,7 +201,7 @@
             {
                 # MSVC doesn't really care about these switches, all SSE intrinsics are always available, but still...
                 # Also 64 bit MSVC doesn't have the /arch:SSE2 switch as it is the default.
- if <log-address-model>32 in $(properties)
+ if <log-address-model>32 in [ log-architecture.deduce-address-model $(properties) ]
                 {
                     result = <cxxflags>"/arch:SSE2" ;
                 }
@@ -243,7 +277,7 @@
 {
     local result = <build>no ;
 
- if <log-architecture>x86 in $(properties)
+ if <log-architecture>x86 in [ log-architecture.deduce-architecture $(properties) ]
     {
         if <toolset>gcc in $(properties)
         {
@@ -321,43 +355,49 @@
         ;
 }
 
-
-lib boost_log
+alias platform-specific-sources
     : ## sources ##
- $(BOOST_LOG_COMMON_SRC)
- $(BOOST_LOG_COMMON_SSSE3_SRC)
- $(BOOST_LOG_COMMON_AVX2_SRC)
- ## winnt sources ##
- $(BOOST_LOG_MC_SRC)
- event_log_backend.cpp
         debug_output_backend.cpp
         light_rw_mutex.cpp
- psapi
- ws2_32
     : ## requirements ##
- <link>shared:<define>BOOST_LOG_DLL
- <define>BOOST_LOG_BUILDING_THE_LIB=1
- <logapi>winnt
- : ## default-build ##
- : ## usage-requirements ##
- <link>shared:<define>BOOST_LOG_DYN_LINK=1
- <threading>single:<define>BOOST_LOG_NO_THREADS
+ <target-os>windows
     ;
 
+alias platform-specific-sources ;
+
+rule select-log-api-specific-sources ( properties * )
+{
+ local result ;
+
+ if <log-api>winnt in $(properties)
+ {
+ result = <source>simple_event_log.mc ;
+ result += <source>event_log_backend.cpp ;
+ result += <library>psapi ;
+
+ DEPENDS event_log_backend.cpp : simple_event_log.mc ;
+ }
+
+ return $(result) ;
+}
+
 lib boost_log
     : ## sources ##
         $(BOOST_LOG_COMMON_SRC)
         $(BOOST_LOG_COMMON_SSSE3_SRC)
         $(BOOST_LOG_COMMON_AVX2_SRC)
- ## unix sources ##
+ platform-specific-sources
     : ## requirements ##
+ <conditional>@select-log-api-specific-sources
+ <conditional>@select-instruction-set-flags
         <link>shared:<define>BOOST_LOG_DLL
         <define>BOOST_LOG_BUILDING_THE_LIB=1
- <logapi>unix
     : ## default-build ##
     : ## usage-requirements ##
         <link>shared:<define>BOOST_LOG_DYN_LINK=1
         <threading>single:<define>BOOST_LOG_NO_THREADS
+ <log-api>generic:<define>BOOST_LOG_WITHOUT_EVENT_LOG
+ <log-api>unix:<define>BOOST_LOG_WITHOUT_EVENT_LOG
     ;
 
 
@@ -374,30 +414,12 @@
 lib boost_log_setup
     : ## sources ##
         $(BOOST_LOG_SETUP_COMMON_SRC)
- ## winnt sources ##
- ws2_32
- : ## requirements ##
- <link>shared:<define>BOOST_LOG_DYN_LINK=1
- <link>shared:<define>BOOST_LOG_SETUP_DLL
- <define>BOOST_LOG_SETUP_BUILDING_THE_LIB=1
- <library>boost_log
- <logapi>winnt
- : ## default-build ##
- : ## usage-requirements ##
- <link>shared:<define>BOOST_LOG_SETUP_DYN_LINK=1
- <threading>single:<define>BOOST_LOG_NO_THREADS
- ;
-
-lib boost_log_setup
- : ## sources ##
- $(BOOST_LOG_SETUP_COMMON_SRC)
- ## unix sources ##
     : ## requirements ##
+ <conditional>@select-instruction-set-flags
         <link>shared:<define>BOOST_LOG_DYN_LINK=1
         <link>shared:<define>BOOST_LOG_SETUP_DLL
         <define>BOOST_LOG_SETUP_BUILDING_THE_LIB=1
         <library>boost_log
- <logapi>unix
     : ## default-build ##
     : ## usage-requirements ##
         <link>shared:<define>BOOST_LOG_SETUP_DYN_LINK=1

Added: trunk/libs/log/config/Jamfile.jam
==============================================================================
--- (empty file)
+++ trunk/libs/log/config/Jamfile.jam 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -0,0 +1,20 @@
+#
+# Copyright Andrey Semashev 2007 - 2013.
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+#
+
+import project ;
+using mc ;
+
+project /boost/message-compiler
+ : source-location ../src
+ : requirements
+ <pch>off
+ ;
+
+obj simple_event_log : simple_event_log.mc ;
+
+# This test target verifies that Message Compiler (mc) is available and supported by the current toolset
+alias test-availability : simple_event_log ;

Modified: trunk/libs/log/doc/log.qbk
==============================================================================
--- trunk/libs/log/doc/log.qbk (original)
+++ trunk/libs/log/doc/log.qbk 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -10,7 +10,7 @@
     ]
     [id log]
     [source-mode c++]
- [last-revision $Date: 2013-05-02 21:38:12 +0400 (Thu, 02 May 2013) $]
+ [last-revision $Date: 2013-05-08 03:00:38 +0400 (Wed, 08 May 2013) $]
 ]
 
 [c++]
@@ -179,8 +179,6 @@
 
 Cygwin support is rather preliminary. Some functionality is not available. In particular, the socket-based syslog backend is not supported, as it is based on __boost_asio__, which doesn't compile on this platform. However, the native syslog support is still in place.
 
-Furthermore, in order to compile the library the following parameters should be explicitly specified in the bjam command line: `target-os=cygwin logapi=unix`.
-
 [endsect]
 
 [section:config Configuring and building the library]

Modified: trunk/libs/log/example/advanced_usage/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/advanced_usage/Jamfile.v2 (original)
+++ trunk/libs/log/example/advanced_usage/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,6 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/async_log/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/async_log/Jamfile.v2 (original)
+++ trunk/libs/log/example/async_log/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,6 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/basic_usage/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/basic_usage/Jamfile.v2 (original)
+++ trunk/libs/log/example/basic_usage/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,6 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/bounded_async_log/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/bounded_async_log/Jamfile.v2 (original)
+++ trunk/libs/log/example/bounded_async_log/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,6 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/doc/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/doc/Jamfile.v2 (original)
+++ trunk/libs/log/example/doc/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -10,7 +10,7 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
+ <log-api>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/doc/sinks_simple_event_log.cpp
==============================================================================
--- trunk/libs/log/example/doc/sinks_simple_event_log.cpp (original)
+++ trunk/libs/log/example/doc/sinks_simple_event_log.cpp 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -12,13 +12,14 @@
 #include <boost/date_time/posix_time/posix_time.hpp>
 
 #include <boost/log/common.hpp>
+
+#if defined(BOOST_WINDOWS) && !defined(BOOST_LOG_WITHOUT_EVENT_LOG)
+
 #include <boost/log/attributes.hpp>
 #include <boost/log/expressions.hpp>
 #include <boost/log/sinks/sync_frontend.hpp>
 #include <boost/log/sinks/event_log_backend.hpp>
 
-#if defined(BOOST_WINDOWS)
-
 namespace logging = boost::log;
 namespace attrs = boost::log::attributes;
 namespace src = boost::log::sources;

Modified: trunk/libs/log/example/event_log/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/event_log/Jamfile.v2 (original)
+++ trunk/libs/log/example/event_log/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -10,7 +10,6 @@
 project
     : requirements
         <link>shared
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
@@ -27,18 +26,17 @@
         <library>/boost/system//boost_system
         <library>/boost/thread//boost_thread
         <threading>multi
+ <log-api>generic:<build>no
+ <log-api>unix:<build>no
     ;
 
-if [ os.name ] = "NT"
-{
- lib event_log_messages
+lib event_log_messages
     : event_log_messages.mc
     : <linkflags>-noentry
 # <name>event_log_messages
     ;
 
- exe event_log
+exe event_log
     : main.cpp
     : <implicit-dependency>event_log_messages
     ;
-}

Modified: trunk/libs/log/example/keywords/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/keywords/Jamfile.v2 (original)
+++ trunk/libs/log/example/keywords/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,6 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/multiple_files/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/multiple_files/Jamfile.v2 (original)
+++ trunk/libs/log/example/multiple_files/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,6 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/multiple_threads/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/multiple_threads/Jamfile.v2 (original)
+++ trunk/libs/log/example/multiple_threads/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,6 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/native_syslog/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/native_syslog/Jamfile.v2 (original)
+++ trunk/libs/log/example/native_syslog/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,7 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
+ <log-api>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/rotating_file/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/rotating_file/Jamfile.v2 (original)
+++ trunk/libs/log/example/rotating_file/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,6 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/settings_file/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/settings_file/Jamfile.v2 (original)
+++ trunk/libs/log/example/settings_file/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,6 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/settings_file_formatter_factory/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/settings_file_formatter_factory/Jamfile.v2 (original)
+++ trunk/libs/log/example/settings_file_formatter_factory/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,6 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/syslog/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/syslog/Jamfile.v2 (original)
+++ trunk/libs/log/example/syslog/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,7 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
+ <log-api>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/trivial/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/trivial/Jamfile.v2 (original)
+++ trunk/libs/log/example/trivial/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,6 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS

Modified: trunk/libs/log/example/wide_char/Jamfile.v2
==============================================================================
--- trunk/libs/log/example/wide_char/Jamfile.v2 (original)
+++ trunk/libs/log/example/wide_char/Jamfile.v2 2013-05-07 19:03:54 EDT (Tue, 07 May 2013)
@@ -8,7 +8,6 @@
 project
     : requirements
         <link>shared:<define>BOOST_ALL_DYN_LINK
- <logapi>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
         <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
         <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
         <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk