gobject-introspection r711 - in trunk: . girepository
- From: tko svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r711 - in trunk: . girepository
- Date: Wed, 15 Oct 2008 20:44:29 +0000 (UTC)
Author: tko
Date: Wed Oct 15 20:44:29 2008
New Revision: 711
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=711&view=rev
Log:
2008-10-15 Tommi Komulainen <tommi komulainen iki fi>
Bug 556400 â Fails to build on OS X 10.4
* configure.ac: check for functions backtrace and backtrace_symbols
* girepository/girparser.c (backtrace_stderr): Comment out
implementation if the functions are not available.
* gcov.mak (clean-gcov, clean-gcno): always call 'find' with a
directory for better portability
Modified:
trunk/ChangeLog
trunk/configure.ac
trunk/gcov.mak
trunk/girepository/girparser.c
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Wed Oct 15 20:44:29 2008
@@ -124,6 +124,7 @@
# Checks for library functions.
AC_FUNC_STRTOD
AC_CHECK_FUNCS([memchr strchr strspn strstr strtol strtoull])
+AC_CHECK_FUNCS([backtrace backtrace_symbols])
# Python
Modified: trunk/gcov.mak
==============================================================================
--- trunk/gcov.mak (original)
+++ trunk/gcov.mak Wed Oct 15 20:44:29 2008
@@ -2,10 +2,10 @@
if GI_GCOV_ENABLED
clean-gcov:
- find -name "*.gcda" -o -name "*.gcov" -delete
+ find . -name "*.gcda" -o -name "*.gcov" -delete
clean-gcno:
- find -name "*.gcno" -delete
+ find . -name "*.gcno" -delete
gcov-all:
@for dir in $(GCOV_DIRS); do \
Modified: trunk/girepository/girparser.c
==============================================================================
--- trunk/girepository/girparser.c (original)
+++ trunk/girepository/girparser.c Wed Oct 15 20:44:29 2008
@@ -180,7 +180,7 @@
static void
backtrace_stderr (void)
{
-#ifndef _WIN32
+#if defined(HAVE_BACKTRACE) && defined(HAVE_BACKTRACE_SYMBOLS)
void *array[50];
int size;
char **strings;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]