Brad King
f668112039
Merge branch 'upstream-kwsys' into update-kwsys
2013-11-25 11:19:42 -05:00
Brad King
d2222d529d
KWSys: Cleanup putenv leak option implementation
...
Define KWSYS_DO_NOT_CLEAN_PUTENV only for the implementation. It does
not need to be configured in the interface of "Configure.hxx".
2010-06-29 08:50:03 -04:00
Brad King
de955e4b6d
Convert KWSys to OSI-approved BSD License
...
This converts the KWSys license to a pure 3-clause OSI-approved BSD
License. We drop the previous license clause requiring modified
versions to be plainly marked. We also update the KWSys copyright to
cover the full development time range.
2009-09-28 11:37:35 -04:00
Bill Hoffman
fe57e7252f
Can not use cmakedefine in kwsys because bootstrap of cmake does not support it.
2009-09-22 15:59:26 -04:00
Bill Hoffman
472966ed5f
Can not use cmakedefine in kwsys because bootstrap of cmake does not support it.
2009-09-22 15:58:13 -04:00
Bill Hoffman
e7601ca600
Put a flag in that will stop system tools from deleting system environment memory on exit, as it can cause gcov to crash the programs.
2009-09-22 14:56:33 -04:00
Brad King
207aab6acf
Define kwsys_ios_binary macro for std::ios::binary
...
The 'binary' openmode does not exist on all compilers. We define macro
<kwsys>_ios_binary, where <kwsys> is the KWSys namespace, to refer to
std::ios::binary if it exists and 0 otherwise. Sample usage:
kwsys_ios::ifstream fin(fn, kwsys_ios::ios::in | kwsys_ios_binary);
2009-08-31 13:00:55 -04:00
Brad King
19d11e2a1f
ENH: Skip KWSys name maros in case of identity
...
All KWSys C symbol names begin with the KWSYS_NAMESPACE defined at
configuration time. For ease of editing we write canonical names with
the prefix 'kwsys' and use macros to map them to the configured prefix
at preprocessing time. In the case of standalone KWSys, the prefix is
'kwsys', so the macros were previously defined to their own names.
We now skip defining the macros in the identity case so that the final
symbol names are never themselves macros. This will allow the symbols
to be further transformed behind the scenes to help linkers in special
cases on some platforms.
2009-04-14 09:35:56 -04:00
Brad King
943108cadf
ENH: C++ configuration should include C configuration.
2005-06-09 08:02:58 -04:00
Brad King
8ddc8accb3
COMP: Added KWSys try-compiles KWSYS_STL_HAS_ALLOCATOR_TEMPLATE and KWSYS_STL_HAS_ALLOCATOR_OBJECTS. Needed for more old-stl support in the hashtable.
2005-04-21 13:47:43 -04:00
Brad King
bddade9696
COMP: Added KWSYS_CXX_HAS_CSTDDEF try-compile to KWSys to provide kwsys/cstddef header (to get size_t for hash_fun.hxx).
2005-04-15 16:00:44 -04:00
Brad King
6c68c81475
ENH: Added KWSys try-compiles KWSYS_STL_HAS_ITERATOR_TRAITS, KWSYS_STL_HAS_ITERATOR_CATEGORY, KWSYS_STL_HAS___ITERATOR_CATEGORY, and KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE to get the hash table to compile on old HP and Sun compilers.
2005-04-15 09:54:03 -04:00
Brad King
7f706ecc98
ENH: Added KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP try-compile to KWSys. Needed to optionally bring hash table comparison operators into the global namespace when argument dependent lookup is not supported.
2005-04-15 08:59:30 -04:00
Brad King
be1084b524
COMP: Added KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT check for non-standard argument to stl allocator<>::max_size method. Needed for kwsys hashtable to compile on Sun CC.
2005-04-13 15:39:03 -04:00
Andy Cedilnik
4a390c174c
ENH: Do kwsys testing as part of cmake testing, command line arguments are not experimental and add simple test for systemtools
2005-04-13 13:57:24 -04:00
Brad King
743ab3a05f
ENH: Adding SGI hash_map and hash_set implementation ported from STL to KWSys. This also adds try-compiles for KWSYS_STL_HAS_ALLOCATOR_REBIND, KWSYS_CXX_HAS_FULL_SPECIALIZATION, KWSYS_CXX_HAS_MEMBER_TEMPLATES, and KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS.
2005-04-13 08:08:54 -04:00
Brad King
65f1e3e1d8
ENH: Added operator!= for stl string and char* when the system does not provide one.
2005-03-29 10:10:25 -05:00
Brad King
22f6d68be3
ENH: Added istream and ostream operators for stl string in KWSys when using old streams that do not provide them.
2005-03-29 08:20:08 -05:00
Brad King
ebbe1ffdd9
COMP: Removing stl string io operators change until the CMake bootstrap script can be fixed.
2005-03-26 09:58:05 -05:00
Brad King
098c33c4da
ENH: Added istream and ostream operators for stl string when using old streams that do not provide them.
2005-03-26 08:19:36 -05:00
Brad King
0fd1c5d809
ENH: Added try-compile KWSYS_STAT_HAS_ST_MTIM. This tests whether struct stat has the extra st_mtim member that has high resolution times.
2005-02-17 10:49:16 -05:00
Brad King
c14915697c
ENH: Renamed KWSYS_IOS_HAVE_* macros to KWSYS_IOS_USE_* to be more readable in the C++ sources.
2003-12-30 17:15:51 -05:00
Brad King
032d1d8652
ENH: Merging changes from KWSys-IOS-bp to KWSys-IOS-b2t-1-mp to main tree. This introduces separate kwsys_ios and kwsys_stl macros needed to support all platforms.
2003-12-23 11:03:33 -05:00
Brad King
ce8a34907a
ENH: Updated copyright.
2003-12-15 16:30:46 -05:00
Brad King
c21ad62987
ENH: Added full configuration of namespace even for Configure.hxx macro definitions.
2003-06-19 18:57:11 -04:00
Brad King
3651096aad
ENH: Added KWSYS_FORCE_OLD_STREAMS option to force use of non-ansi stream headers even if they are available.
2003-05-12 13:43:03 -04:00
Brad King
b910480e32
ENH: Added wrappers around the std stream headers to make them look like ansi streams on all platforms.
2003-05-12 13:15:49 -04:00
Brad King
43419192cb
ENH: Reduced header dependencies and cleaned up inclusion of standard headers.
2003-05-08 14:46:23 -04:00
Brad King
7dff3a7f69
ENH: Added kwsys library for platform-independent system tools.
2003-04-08 13:10:44 -04:00