Commit Graph

30 Commits

Author SHA1 Message Date
Fumitoshi Ukai
3b0372bd70 glog: release 0.3.4
migrate to https://github.com/google/glog
use autoconf 2.69 / automake 1.14.1
2015-03-09 11:45:07 +09:00
478a80caa0 Attempt to improve mingw-w64 support
- Set -Isrc/windows for mingw
- Check existence of sigaction, pread, and pwrite
- Provide alternative implementation of pread and pwrite
- Eliminate symlink code for OS_WINDOWS
- Don't check /proc/self/fd if the OS isn't linux
- Don't use MSVC specific declarations in port.h for mingw



git-svn-id: https://google-glog.googlecode.com/svn/trunk@135 eb4d4688-79bd-11dd-afb4-1d65580434c0
2013-02-18 10:56:53 +00:00
0b0b022be1 Release glog 0.3.3
git-svn-id: https://google-glog.googlecode.com/svn/trunk@132 eb4d4688-79bd-11dd-afb4-1d65580434c0
2013-02-01 06:20:46 +00:00
3aa45ed56e Eliminate use of strstream based on internal changes
http://code.google.com/p/google-glog/issues/detail?id=110


git-svn-id: https://google-glog.googlecode.com/svn/trunk@119 eb4d4688-79bd-11dd-afb4-1d65580434c0
2013-01-09 16:06:21 +00:00
96dac4fd02 Fixed files to support FreeBSD amd64 based on patches at:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/glog/files/

Since FreeBSD do not have gettid system call unlikely to MacOSX, I
modified utilities.h not to use that on FreeBSD:
* FreeBSD lacks gettid syscall.
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/syscalls.master?rev=1.276;content-type=text%2Fplain
* MacOSX gettid == 286.
http://www.opensource.apple.com/source/xnu/xnu-1504.3.12/bsd/kern/syscalls.master
   
As for the fix of stacktrace, we use a different approach.
Even in FreeBSD, package gcc44/gcc46 has unwind.h.
As a result, checking unwind.h should be natural solution.

This patch was given by yyanagisawa



git-svn-id: https://google-glog.googlecode.com/svn/trunk@116 eb4d4688-79bd-11dd-afb4-1d65580434c0
2012-11-22 12:09:13 +00:00
475ec9b9c4 Add --disable-rtti
git-svn-id: https://google-glog.googlecode.com/svn/trunk@109 eb4d4688-79bd-11dd-afb4-1d65580434c0
2012-02-24 07:28:50 +00:00
7e0a53c87f Release 0.3.2.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@108 eb4d4688-79bd-11dd-afb4-1d65580434c0
2012-01-12 08:49:31 +00:00
204ef03af8 Add files left behind by certain tests to CLEANFILES.
Remove autogen.sh, since you can just use autoreconf instead.

Ran autoreconf and fixed a couple of issues that popped up in
configure.ac and m4/ac_rwlock.m4.  This updates the configuration
files to automake/aclocal 1.11.1 (from 1.10.1) and to autoconf 2.65
(from 2.61).


git-svn-id: https://google-glog.googlecode.com/svn/trunk@93 eb4d4688-79bd-11dd-afb4-1d65580434c0
2011-05-11 02:47:46 +00:00
6aa35189f5 Release 0.3.1.
This line, and those below, will be ignored--

M    configure
M    ChangeLog
M    configure.ac
M    packages/deb/changelog


git-svn-id: https://google-glog.googlecode.com/svn/trunk@89 eb4d4688-79bd-11dd-afb4-1d65580434c0
2010-06-15 06:30:24 +00:00
1f8dac87fc Move TEST_SRC_DIR from googletest.h to config.h.
Now test passes out side tree.


git-svn-id: https://google-glog.googlecode.com/svn/trunk@85 eb4d4688-79bd-11dd-afb4-1d65580434c0
2010-05-28 03:56:29 +00:00
f31f51085c Improve libunwind detection.
http://code.google.com/p/google-glog/issues/detail?id=42


git-svn-id: https://google-glog.googlecode.com/svn/trunk@84 eb4d4688-79bd-11dd-afb4-1d65580434c0
2010-05-28 03:45:27 +00:00
e912f200f0 Fix --enable-frame-pointers.
http://code.google.com/p/google-glog/issues/detail?id=44


git-svn-id: https://google-glog.googlecode.com/svn/trunk@80 eb4d4688-79bd-11dd-afb4-1d65580434c0
2010-05-28 03:28:41 +00:00
65e631e038 The test for gflags works correctly on OpenBSD.
http://code.google.com/p/google-glog/issues/detail?id=49


git-svn-id: https://google-glog.googlecode.com/svn/trunk@78 eb4d4688-79bd-11dd-afb4-1d65580434c0
2010-05-28 03:12:15 +00:00
7e610f65f5 Release 0.3.0.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@71 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-07-31 05:27:23 +00:00
4cd8381429 Add m4/pc_from_ucontext.m4. It supports NetBSD and OpenBSD as well.
Also, update the version of acx_pthread.m4


git-svn-id: https://google-glog.googlecode.com/svn/trunk@55 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-07-08 15:41:38 +00:00
94a3b0ed4f Add -lgflags into LD_FLAGS when gflags is detected and --with-gflags isn't specified. Thanks kzk for this patch!
git-svn-id: https://google-glog.googlecode.com/svn/trunk@49 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-04-22 04:28:59 +00:00
ca448a53a0 Release 0.2.1.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@48 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-04-10 16:27:12 +00:00
e334c48314 Generation of pkg-config metadata file.
Thanks Tomasz for this contribution!


git-svn-id: https://google-glog.googlecode.com/svn/trunk@46 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-04-10 05:49:58 +00:00
315d590cdc Apply patch given by maw (thanks!). The patch was modified a bit using AC_ARG_WITH.
- Fix build problems when building with gtest.
- --with-gflags support.


git-svn-id: https://google-glog.googlecode.com/svn/trunk@42 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-04-07 06:33:09 +00:00
c545928d5c Release 0.2.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@36 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-23 19:18:59 +00:00
c3441fb6ba Better Cygwin support.
- configure.ac: Add -lpthread only if acx_pthread_ok is yes. In cygwin, we use Windows' thread so that we don't need -lpthread.
- base/mutex.h: Define NOMINMAX before we include windows.h.
- glog/*.h: Make sure that dllimport doesn't appear in cygwin. Note that windows.h may define _WIN32 macro.
- utilities.h: Define OS_CYGWIN.


git-svn-id: https://google-glog.googlecode.com/svn/trunk@30 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-22 18:22:48 +00:00
eecffc5aa5 Introduce mock-log.h for unittests.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@28 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-13 11:49:10 +00:00
cc27d6aa59 Use gtest and gmock if installed.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@26 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-05 06:05:01 +00:00
afd586a5d5 Initial windows support. Now we don't have the stacktrace and several unittests.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@23 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-12-19 15:20:40 +00:00
4f81d0f209 Add -lpthread in addition to -pthread on Linux.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@21 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-11-21 11:22:51 +00:00
5cecb10919 Release 0.1.2.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@20 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-11-19 05:34:01 +00:00
f9b58c5198 Re-organize the way to produce stacktrace.
Since we introduced the API to set signal handler and print a
stacktrace, we should avoid glibc's backtrace, which may call malloc.
Basically, we choose the way to produce a stacktrace as same as
perftools.

Also, I removed GetStackFrames, which is not used and not implemented
with glibc.


git-svn-id: https://google-glog.googlecode.com/svn/trunk@16 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-11-17 07:58:10 +00:00
91d9fd8814 Add InstallFailureSignalHandler(). The function installs a signal handler that
will dump useful information when the program crashes on certain signals such
as SIGSEGV.
Also, changed the version of autoconf (2.59 => 2.61).


git-svn-id: https://google-glog.googlecode.com/svn/trunk@11 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-10-30 10:33:45 +00:00
364832195d Use dladdr to get symbols for environments which doesn't use ELF and
has execinfo.h (e.g., MacOSX 10.5). Though dladdr may not be async
signal safe, it's OK since glog's stacktrace doesn't depend on signals.


git-svn-id: https://google-glog.googlecode.com/svn/trunk@7 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-10-17 11:52:32 +00:00
b8b4db46fe glog 0.1
git-svn-id: https://google-glog.googlecode.com/svn/trunk@2 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-10-07 05:43:05 +00:00