Using gflags within a project which uses CMake for its build system is easy. Therefore, simply add the following CMake code to your CMakeLists.txt file.
+
Using gflags within a project which uses CMake for its build system is easy. Therefore, simply add the following CMake code to your CMakeLists.txt file.
find_package (gflags REQUIRED)
diff --git a/third_party/gflags/src/gflags.h.in b/third_party/gflags/src/gflags.h.in
index 0324d390..08b1a1be 100644
--- a/third_party/gflags/src/gflags.h.in
+++ b/third_party/gflags/src/gflags.h.in
@@ -546,7 +546,7 @@ inline clstring* dont_pass0toDEFINE_string(char *stringspot,
// great together!
// The weird 'using' + 'extern' inside the fLS namespace is to work around
// an unknown compiler bug/issue with the gcc 4.2.1 on SUSE 10. See
-// http://code.google.com/p/google-gflags/issues/detail?id=20
+// https://code.google.com/p/google-gflags/issues/detail?id=20
#define DEFINE_string(name, val, txt) \
namespace fLS { \
using ::fLS::clstring; \
diff --git a/third_party/gflags/src/mutex.h b/third_party/gflags/src/mutex.h
index 0bdd9d5f..0f5fef6c 100644
--- a/third_party/gflags/src/mutex.h
+++ b/third_party/gflags/src/mutex.h
@@ -51,7 +51,7 @@
// in the code below.
//
// CYGWIN NOTE: Cygwin support for rwlock seems to be buggy:
-// http://www.cygwin.com/ml/cygwin/2008-12/msg00017.html
+// https://www.cygwin.com/ml/cygwin/2008-12/msg00017.html
// Because of that, we might as well use windows locks for
// cygwin. They seem to be more reliable than the cygwin pthreads layer.
//
diff --git a/third_party/gflags/src/windows_port.h b/third_party/gflags/src/windows_port.h
index c8ff24f8..e5281c98 100644
--- a/third_party/gflags/src/windows_port.h
+++ b/third_party/gflags/src/windows_port.h
@@ -34,7 +34,7 @@
* easier to compile this code under VC++.
*
* Several of these are taken from glib:
- * http://developer.gnome.org/doc/API/glib/glib-windows-compatability-functions.html
+ * https://developer.gnome.org/doc/API/glib/glib-windows-compatability-functions.html
*/
#ifndef GFLAGS_WINDOWS_PORT_H_
@@ -80,7 +80,7 @@ inline void setenv(const char* name, const char* value, int) {
// We handle this by setting it to "0" and the NUL-ing out the \0.
// That is, we putenv("FOO=0") and then find out where in memory the
// putenv wrote "FOO=0", and change it in-place to "FOO=\0".
- // c.f. http://svn.apache.org/viewvc/stdcxx/trunk/tests/src/environ.cpp?r1=611451&r2=637508&pathrev=637508
+ // c.f. https://svn.apache.org/viewvc/stdcxx/trunk/tests/src/environ.cpp?r1=611451&r2=637508&pathrev=637508
static const char* const kFakeZero = "0";
if (*value == '\0')
value = kFakeZero;
diff --git a/third_party/gflags/test/gflags_unittest.cc b/third_party/gflags/test/gflags_unittest.cc
index 80f7398a..4be945c9 100644
--- a/third_party/gflags/test/gflags_unittest.cc
+++ b/third_party/gflags/test/gflags_unittest.cc
@@ -535,7 +535,7 @@ TEST(SetFlagValueTest, OrdinaryValues) {
// Tests that flags can be set to exceptional values.
// Note: apparently MINGW doesn't parse inf and nan correctly:
-// http://www.mail-archive.com/bug-gnulib@gnu.org/msg09573.html
+// https://www.mail-archive.com/bug-gnulib@gnu.org/msg09573.html
// This url says FreeBSD also has a problem, but I didn't see that.
TEST(SetFlagValueTest, ExceptionalValues) {
#if defined(isinf) && !defined(__MINGW32__)
diff --git a/third_party/glog/COPYING b/third_party/glog/COPYING
index 38396b58..107760f8 100644
--- a/third_party/glog/COPYING
+++ b/third_party/glog/COPYING
@@ -30,7 +30,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
A function gettimeofday in utilities.cc is based on
-http://www.google.com/codesearch/p?hl=en#dR3YEbitojA/COPYING&q=GetSystemTimeAsFileTime%20license:bsd
+https://www.google.com/codesearch/p?hl=en#dR3YEbitojA/COPYING&q=GetSystemTimeAsFileTime%20license:bsd
The license of this code is:
diff --git a/third_party/glog/INSTALL b/third_party/glog/INSTALL
index 0babe243..1c9182a6 100644
--- a/third_party/glog/INSTALL
+++ b/third_party/glog/INSTALL
@@ -25,7 +25,7 @@ InstallFailureSignalHandler(), we strongly recommend you install
libunwind before trying to configure or install google glog.
libunwind can be found at
- http://download.savannah.nongnu.org/releases/libunwind/libunwind-snap-070410.tar.gz
+ https://download.savannah.nongnu.org/releases/libunwind/libunwind-snap-070410.tar.gz
Even if you already have libunwind installed, you will probably still
need to install from the snapshot to get the latest version.
diff --git a/third_party/glog/README.windows b/third_party/glog/README.windows
index 74ff6904..4cc29925 100644
--- a/third_party/glog/README.windows
+++ b/third_party/glog/README.windows
@@ -18,8 +18,8 @@ I have little experience with Windows programming, so there may be
better ways to set this up than I've done! If you run across any
problems, please post to the google-glog Google Group, or report
them on the google-glog Google Code site:
- http://groups.google.com/group/google-glog
- http://code.google.com/p/google-glog/issues/list
+ https://groups.google.com/group/google-glog
+ https://code.google.com/p/google-glog/issues/list
-- Shinichiro Hamaji
diff --git a/third_party/glog/doc/glog.html b/third_party/glog/doc/glog.html
index 8b200bac..0ce1dd88 100644
--- a/third_party/glog/doc/glog.html
+++ b/third_party/glog/doc/glog.html
@@ -5,7 +5,7 @@
How To Use Google Logging Library (glog)
-