summaryrefslogtreecommitdiff
path: root/src/config.h.in
AgeCommit message (Collapse)AuthorFilesLines
2014-03-19Use OS_WINDOWS #define instead of _WIN32 and WINDOWS.Andreas Schuh1-2/+5
The OS_WINDOWS #define has previously been used in gflags.cc before the CMake migration.
2014-03-19Remove GFLAGS_NAMESPACE and version macros from public headers again.Andreas Schuh1-3/+6
2014-03-19Replace GFLAGS_HAVE_* #defines by HAVE_* again.Andreas Schuh1-52/+12
2014-03-18Fix DLL build on Windows and use PathMatchSpec instead of fnmatch.Andreas Schuh1-4/+112
Expose as few system variables as possible through public interface. Perform STRIP_FLAGS_HELP test using CMake instead of Bash. Change file path separator used by gflags_reporting.cc to backslash on Windwos.
2014-03-17Fix VS security warnings using SafeGetEnv and SafeFOpen utility functions.Andreas Schuh1-8/+0
2014-03-15Fix build with Xcode 5, system checks, set LANGUAGE to CXX.Andreas Schuh1-29/+2
2014-03-14Issue #73 Merge gflags_config.h into gflags_declare.h. Configuration of ↵Andreas Schuh1-2/+0
gflags.h no longer needed.
2014-03-14Fix build on Windows using Visual Studio. Add gflags_config.h.Andreas Schuh1-26/+12
2013-05-22Add missing windows portability definitions.Andreas Schuh1-2/+7
2013-04-21Move public header files to src/ subdirectory. Copy them to ↵Andreas Schuh1-0/+5
<prefix>/include/<ns>/ upon installation.
2013-04-21Add CMakeLists.txt and adapt source files accordingly.Andreas Schuh1-83/+57
2011-07-29mingw fixes:Craig Silverstein1-0/+6
1) mingw needs an #include to have access to mkdir. 2) It needs to always #include port.h (this is an identical bit of code, in configure.ac, that I have in other opensource projects for mingw support.) 3) I moved some code from port.cc to port.h, so I didn't have to add logic to link in port.cc for mingw. Last change before new release! (*knock on wood*) Submitting TBR so I can get the release out today. This isn't exactly a trivial change, so I'm chary to submit TBR, but it's pretty isolated to windows and mingw, and I've tested on those platforms to make sure they compile and all tests pass. DELTA=70 (37 added, 30 deleted, 3 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=2823 git-svn-id: https://gflags.googlecode.com/svn/trunk@54 6586e3c6-dcc4-952a-343f-ff74eb82781d
2011-07-29Some reorganization that results from a new method I'm moving to toCraig Silverstein1-9/+0
maintaining this opensource tree. Some of this reorganization is entirely a result of reorganization: blank lines in a few different places, etc. Here are the others: 1) I've added a new file, util.h, with lots of new, helpful routines, most notably StringPrintf (printf returning a string). I've also moved some routines from the .cc and unittest.cc file here, such as the CHECK macros, testing framework, and #ifdefs for 16-bit ints. Quite a bit of code was rewritten to use these new routines. 2) I noticed that the special-case setenv() code was only needed for windows systems, so I moved it to port.h/cc. 3) I also had to add a new vsnprintf wrapper in port.h/cc, to support StringPrintf. 4) A few places I used an old name, commandlineflags, instead of gflags. Most or all of these should be fixed now. 5) Some of my copyright dates weren't quite right. Fixed them up. 6) In some .cc files, I added using directives to not have to use std:: so much. 7) I've added a minor new test, adding 10000 or so flags to see how the system scales. 8) Some compile-warning fixes, such as int -> size_t when appropriate, and better protected #defines in mutex.h 9) The .h files gained some logic defining GFLAGS_DLL_DECL. This is true even for .h files outside the windows directory, which will never have these dll issues. But one big advantage of my new organization is auto-generating the windows versions of these files from the unix versions, so there's some unnecessary (but harmless) duplication as a result. 10) Fixed a bug in rpm.sh which would cause an unnecessary crash when dpkg was missing. git-svn-id: https://gflags.googlecode.com/svn/trunk@52 6586e3c6-dcc4-952a-343f-ff74eb82781d
2010-11-16 * Use our own string typedef so macro is never confused (csilvers)Craig Silverstein1-0/+4
* Set up configure.ac to give proper library version numbers (csilvers) * Update from autoconf 2.64 to 2.65. Also hermeticize libtool a bit git-svn-id: https://gflags.googlecode.com/svn/trunk@42 6586e3c6-dcc4-952a-343f-ff74eb82781d
2009-11-10 * PORTING: Add windows (MSVC) support (csilvers)Craig Silverstein1-0/+10
* Comment danger of using GetAllFlags in validators (wojtekm) * Add python support for gnu_getopt (hobe) * DEFINE_list now accepts a list as a default (dsturtevant) * TMPDIR -> TEST_TMPDIR in Makefile, fixing objcopy behavior (csilvers) * Fix the 'cp' command to use $(top_srcdir) in the Makefile (csilvers) git-svn-id: https://gflags.googlecode.com/svn/trunk@34 6586e3c6-dcc4-952a-343f-ff74eb82781d
2009-09-11Thu Sep 10 12:53:04 2009 Google Inc. <opensource@google.com>Craig Silverstein1-0/+6
* google-gflags: version 1.2 * PORTABILITY: can now build and run tests under mingw (csilvers) * Using a string arg for a bool flag is a compile-time error (rbayardo) * Add --helpxml to gflags.py (salcianu) * Protect against a hypothetical global d'tor mutex problem (csilvers) * BUGFIX: can now define a flag after 'using namespace google' (hamaji) git-svn-id: https://gflags.googlecode.com/svn/trunk@32 6586e3c6-dcc4-952a-343f-ff74eb82781d
2009-04-15Tue Apr 14 12:35:25 2009 Google Inc. <opensource@google.com>Craig Silverstein1-9/+0
* google-gflags: version 1.1 * Add both foo and nofoo for boolean flags, with --undefok (andychu) * Better document how validators work (wojtekm) * Improve binary-detection for bash-completion (mtamsky) * Python: Add a concept of "key flags", used with --help (salcianu) * Python: Robustify flag_values (salcianu) * Python: Add a new DEFINE_bool alias (keir, andrewliu) * Python: Do module introspection based on module name (dsturtevant) * Fix autoconf a bit better, especially on windows and solaris (ajenjo) * BUG FIX: gflags_nothreads was linking against the wrong lib (ajenjo) * BUG FIX: threads-detection failed on FreeBSD; replace it (ajenjo) * PORTABILITY: Quiet an internal compiler error with SUSE 10 (csilvers) * PORTABILITY: Update deb.sh for more recenty debuilds (csilvers) * PORTABILITY: #include more headers to satify new gcc's (csilvers) * INSTALL: Updated to autoconf 2.61 and libtool 1.5.26 (csilvers) git-svn-id: https://gflags.googlecode.com/svn/trunk@29 6586e3c6-dcc4-952a-343f-ff74eb82781d
2008-08-21Tue Aug 19 16:15:48 2008 Google Inc. <opensource@google.com>Craig Silverstein1-0/+12
* google-gflags: version 1.0rc1 * Move #include files from google/ to gflags/ (csilvers) * Small optimizations to reduce binary (library) size (jyrki) * BUGFIX: forgot a std:: in one of the .h files (csilvers) * Speed up locking by making sure calls are inlined (ajenjo) * 64-BIT COMPATIBILITY: Use %PRId64 instead of %lld (csilvers) * PORTABILITY: fix Makefile to work with Cygwin (ajenjo) * PORTABILITY: fix code to compile under Visual Studio (ajenjo) * PORTABILITY: fix code to compile under Solaris 10 with CC (csilvers) git-svn-id: https://gflags.googlecode.com/svn/trunk@25 6586e3c6-dcc4-952a-343f-ff74eb82781d
2007-04-20Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com>Craig Silverstein1-0/+6
* google-gflags: version 0.4 * Remove is_default from GetCommandLineFlagInfo (csilvers) * Portability fixes: includes, strtoll, gcc4.3 errors (csilvers) * A few doc typo cleanups (csilvers) git-svn-id: https://gflags.googlecode.com/svn/trunk@13 6586e3c6-dcc4-952a-343f-ff74eb82781d
2007-03-28Wed Mar 28 12:15:56 2007 Google Inc. <opensource@google.com>Craig Silverstein1-0/+80
* google-gflags: version 0.3 * python portability fix: use popen instead of subprocess (csilvers) * Add is_default to CommandLineFlagInfo (pchien) * Make docs a bit prettier (csilvers) * Actually include the python files in the distribution! :-/ (csilvers) git-svn-id: https://gflags.googlecode.com/svn/trunk@11 6586e3c6-dcc4-952a-343f-ff74eb82781d