<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libsmbios_c library: /builddir/build/BUILD/libsmbios-2.2.26/src/include/smbios_c/config/user.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div class="header"> <div class="headertitle"> <h1>/builddir/build/BUILD/libsmbios-2.2.26/src/include/smbios_c/config/user.h</h1> </div> </div> <div class="contents"> <a href="user_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// boost/config/user.h ---------------------------------------------------//</span> <a name="l00002"></a>00002 <a name="l00003"></a>00003 <span class="comment">// (C) Copyright John Maddock 2001.</span> <a name="l00004"></a>00004 <span class="comment">// Use, modification and distribution are subject to the</span> <a name="l00005"></a>00005 <span class="comment">// Boost Software License, Version 1.0. (See accompanying file</span> <a name="l00006"></a>00006 <span class="comment">// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)</span> <a name="l00007"></a>00007 <a name="l00008"></a>00008 <span class="comment">// Do not check in modified versions of this file,</span> <a name="l00009"></a>00009 <span class="comment">// This file may be customized by the end user, but not by boost.</span> <a name="l00010"></a>00010 <a name="l00011"></a>00011 <span class="comment">//</span> <a name="l00012"></a>00012 <span class="comment">// Use this file to define a site and compiler specific</span> <a name="l00013"></a>00013 <span class="comment">// configuration policy:</span> <a name="l00014"></a>00014 <span class="comment">//</span> <a name="l00015"></a>00015 <a name="l00016"></a>00016 <span class="comment">// define this to locate a compiler config file:</span> <a name="l00017"></a>00017 <span class="comment">// #define LIBSMBIOS_COMPILER_CONFIG <myheader></span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="comment">// define this to locate a stdlib config file:</span> <a name="l00020"></a>00020 <span class="comment">// #define LIBSMBIOS_STDLIB_CONFIG <myheader></span> <a name="l00021"></a>00021 <a name="l00022"></a>00022 <span class="comment">// define this to locate a platform config file:</span> <a name="l00023"></a>00023 <span class="comment">// #define LIBSMBIOS_PLATFORM_CONFIG <myheader></span> <a name="l00024"></a>00024 <a name="l00025"></a>00025 <span class="comment">// define this to disable compiler config,</span> <a name="l00026"></a>00026 <span class="comment">// use if your compiler config has nothing to set:</span> <a name="l00027"></a>00027 <span class="comment">// #define LIBSMBIOS_NO_COMPILER_CONFIG</span> <a name="l00028"></a>00028 <a name="l00029"></a>00029 <span class="comment">// define this to disable stdlib config,</span> <a name="l00030"></a>00030 <span class="comment">// use if your stdlib config has nothing to set:</span> <a name="l00031"></a>00031 <span class="comment">// #define LIBSMBIOS_NO_STDLIB_CONFIG</span> <a name="l00032"></a>00032 <a name="l00033"></a>00033 <span class="comment">// define this to disable platform config,</span> <a name="l00034"></a>00034 <span class="comment">// use if your platform config has nothing to set:</span> <a name="l00035"></a>00035 <span class="comment">// #define LIBSMBIOS_NO_PLATFORM_CONFIG</span> <a name="l00036"></a>00036 <a name="l00037"></a>00037 <span class="comment">// define this to disable all config options,</span> <a name="l00038"></a>00038 <span class="comment">// excluding the user config. Use if your</span> <a name="l00039"></a>00039 <span class="comment">// setup is fully ISO compliant, and has no</span> <a name="l00040"></a>00040 <span class="comment">// useful extensions, or for autoconf generated</span> <a name="l00041"></a>00041 <span class="comment">// setups:</span> <a name="l00042"></a>00042 <span class="comment">// #define LIBSMBIOS_NO_CONFIG</span> <a name="l00043"></a>00043 <a name="l00044"></a>00044 <span class="comment">// define this to make the config "optimistic"</span> <a name="l00045"></a>00045 <span class="comment">// about unknown compiler versions. Normally</span> <a name="l00046"></a>00046 <span class="comment">// unknown compiler versions are assumed to have</span> <a name="l00047"></a>00047 <span class="comment">// all the defects of the last known version, however</span> <a name="l00048"></a>00048 <span class="comment">// setting this flag, causes the config to assume</span> <a name="l00049"></a>00049 <span class="comment">// that unknown compiler versions are fully conformant</span> <a name="l00050"></a>00050 <span class="comment">// with the standard:</span> <a name="l00051"></a>00051 <span class="comment">// #define LIBSMBIOS_STRICT_CONFIG</span> <a name="l00052"></a>00052 <a name="l00053"></a>00053 <span class="comment">// define this to cause the config to halt compilation</span> <a name="l00054"></a>00054 <span class="comment">// with an #error if it encounters anything unknown --</span> <a name="l00055"></a>00055 <span class="comment">// either an unknown compiler version or an unknown</span> <a name="l00056"></a>00056 <span class="comment">// compiler/platform/library:</span> <a name="l00057"></a>00057 <span class="comment">// #define LIBSMBIOS_ASSERT_CONFIG</span> <a name="l00058"></a>00058 <a name="l00059"></a>00059 <a name="l00060"></a>00060 <span class="comment">// define if you want to disable threading support, even</span> <a name="l00061"></a>00061 <span class="comment">// when available:</span> <a name="l00062"></a>00062 <span class="comment">// #define LIBSMBIOS_DISABLE_THREADS</span> <a name="l00063"></a>00063 <a name="l00064"></a>00064 <span class="comment">// define when you want to disable Win32 specific features</span> <a name="l00065"></a>00065 <span class="comment">// even when available:</span> <a name="l00066"></a>00066 <span class="comment">// #define LIBSMBIOS_DISABLE_WIN32</span> <a name="l00067"></a>00067 <a name="l00068"></a>00068 <span class="comment">// LIBSMBIOS_DISABLE_ABI_HEADERS: Stops libsmbios headers from including any</span> <a name="l00069"></a>00069 <span class="comment">// prefix/suffix headers that normally control things like struct</span> <a name="l00070"></a>00070 <span class="comment">// packing and alignment.</span> <a name="l00071"></a>00071 <span class="comment">// #define LIBSMBIOS_DISABLE_ABI_HEADERS</span> <a name="l00072"></a>00072 <a name="l00073"></a>00073 <span class="comment">// LIBSMBIOS_ABI_PREFIX: A prefix header to include in place of whatever</span> <a name="l00074"></a>00074 <span class="comment">// boost.config would normally select, any replacement should set up</span> <a name="l00075"></a>00075 <span class="comment">// struct packing and alignment options as required.</span> <a name="l00076"></a>00076 <span class="comment">// #define LIBSMBIOS_ABI_PREFIX my-header-name</span> <a name="l00077"></a>00077 <a name="l00078"></a>00078 <span class="comment">// LIBSMBIOS_ABI_SUFFIX: A suffix header to include in place of whatever</span> <a name="l00079"></a>00079 <span class="comment">// boost.config would normally select, any replacement should undo</span> <a name="l00080"></a>00080 <span class="comment">// the effects of the prefix header.</span> <a name="l00081"></a>00081 <span class="comment">// #define LIBSMBIOS_ABI_SUFFIX my-header-name</span> <a name="l00082"></a>00082 <a name="l00083"></a>00083 <span class="comment">// LIBSMBIOS_ALL_DYN_LINK: Forces all libraries that have separate source,</span> <a name="l00084"></a>00084 <span class="comment">// to be linked as dll's rather than static libraries on Microsoft Windows</span> <a name="l00085"></a>00085 <span class="comment">// (this macro is used to turn on __declspec(dllimport) modifiers, so that</span> <a name="l00086"></a>00086 <span class="comment">// the compiler knows which symbols to look for in a dll rather than in a</span> <a name="l00087"></a>00087 <span class="comment">// static library). Note that there may be some libraries that can only</span> <a name="l00088"></a>00088 <span class="comment">// be statically linked (Boost.Test for example) and others which may only</span> <a name="l00089"></a>00089 <span class="comment">// be dynamically linked (Boost.Threads for example), in these cases this</span> <a name="l00090"></a>00090 <span class="comment">// macro has no effect.</span> <a name="l00091"></a>00091 <span class="comment">// #define LIBSMBIOS_ALL_DYN_LINK</span> <a name="l00092"></a>00092 <a name="l00093"></a>00093 <span class="comment">// LIBSMBIOS_WHATEVER_DYN_LINK: Forces library "whatever" to be linked as a dll</span> <a name="l00094"></a>00094 <span class="comment">// rather than a static library on Microsoft Windows: replace the WHATEVER</span> <a name="l00095"></a>00095 <span class="comment">// part of the macro name with the name of the library that you want to</span> <a name="l00096"></a>00096 <span class="comment">// dynamically link to, for example use LIBSMBIOS_DATE_TIME_DYN_LINK or</span> <a name="l00097"></a>00097 <span class="comment">// LIBSMBIOS_REGEX_DYN_LINK etc (this macro is used to turn on __declspec(dllimport)</span> <a name="l00098"></a>00098 <span class="comment">// modifiers, so that the compiler knows which symbols to look for in a dll</span> <a name="l00099"></a>00099 <span class="comment">// rather than in a static library).</span> <a name="l00100"></a>00100 <span class="comment">// Note that there may be some libraries that can only be statically linked</span> <a name="l00101"></a>00101 <span class="comment">// (Boost.Test for example) and others which may only be dynamically linked</span> <a name="l00102"></a>00102 <span class="comment">// (Boost.Threads for example), in these cases this macro is unsupported.</span> <a name="l00103"></a>00103 <span class="comment">// #define LIBSMBIOS_WHATEVER_DYN_LINK</span> <a name="l00104"></a>00104 <a name="l00105"></a>00105 <span class="comment">// LIBSMBIOS_ALL_NO_LIB: Tells the config system not to automatically select</span> <a name="l00106"></a>00106 <span class="comment">// which libraries to link against.</span> <a name="l00107"></a>00107 <span class="comment">// Normally if a compiler supports #pragma lib, then the correct library</span> <a name="l00108"></a>00108 <span class="comment">// build variant will be automatically selected and linked against,</span> <a name="l00109"></a>00109 <span class="comment">// simply by the act of including one of that library's headers.</span> <a name="l00110"></a>00110 <span class="comment">// This macro turns that feature off.</span> <a name="l00111"></a>00111 <span class="comment">// #define LIBSMBIOS_ALL_NO_LIB</span> <a name="l00112"></a>00112 <a name="l00113"></a>00113 <span class="comment">// LIBSMBIOS_WHATEVER_NO_LIB: Tells the config system not to automatically</span> <a name="l00114"></a>00114 <span class="comment">// select which library to link against for library "whatever",</span> <a name="l00115"></a>00115 <span class="comment">// replace WHATEVER in the macro name with the name of the library;</span> <a name="l00116"></a>00116 <span class="comment">// for example LIBSMBIOS_DATE_TIME_NO_LIB or LIBSMBIOS_REGEX_NO_LIB.</span> <a name="l00117"></a>00117 <span class="comment">// Normally if a compiler supports #pragma lib, then the correct library</span> <a name="l00118"></a>00118 <span class="comment">// build variant will be automatically selected and linked against, simply</span> <a name="l00119"></a>00119 <span class="comment">// by the act of including one of that library's headers. This macro turns</span> <a name="l00120"></a>00120 <span class="comment">// that feature off.</span> <a name="l00121"></a>00121 <span class="comment">// #define LIBSMBIOS_WHATEVER_NO_LIB</span> <a name="l00122"></a>00122 <a name="l00123"></a>00123 <a name="l00124"></a>00124 </pre></div></div> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Oct 5 2010 for libsmbios_c library by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>