Some changes to get code to compile on Solaris.

* configure.in: g-wrap 1.9.6 can define the module-dir as
	  share/guile/site -- we want to make sure to get rid of
	  the /site when computing the libdir from this.  Otherwise
	  the runtime will fail to find the g-wrap runtime libraries.
	* src/gnome-utils/gnc-currency-edit.c:
	* src/business/business-gnome/business-urls.c:
	  include <strings.h> to compile on Solaris.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12154 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins
2005-12-09 18:28:42 +00:00
parent 9cff7ffb23
commit e72d156c03
4 changed files with 13 additions and 1 deletions

View File

@@ -1,3 +1,13 @@
2005-12-09 Derek Atkins <derek@ihtfp.com>
* configure.in: g-wrap 1.9.6 can define the module-dir as
share/guile/site -- we want to make sure to get rid of
the /site when computing the libdir from this. Otherwise
the runtime will fail to find the g-wrap runtime libraries.
* src/gnome-utils/gnc-currency-edit.c:
* src/business/business-gnome/business-urls.c:
include <strings.h> to compile on Solaris.
2005-12-08 Christian Stimming <stimming@tuhh.de>
* src/report/standard-reports/income-statement.scm, *.scm:

View File

@@ -242,7 +242,7 @@ AC_MSG_RESULT($G_WRAP_LINK_ARGS)
AC_MSG_CHECKING(for g-wrap module directory)
G_WRAP_MODULE_DIR=`${G_WRAP_CONFIG} --guile-module-directory`
G_WRAP_LIB_DIR=`echo $G_WRAP_MODULE_DIR | sed -e 's|share/guile|lib|'`
G_WRAP_LIB_DIR=`echo $G_WRAP_MODULE_DIR | sed -e 's|share/guile.*$|lib|'`
AC_MSG_RESULT($G_WRAP_MODULE_DIR)
AC_GWRAP_CHECK_GUILE($G_WRAP_MODULE_DIR)

View File

@@ -26,6 +26,7 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <strings.h> /* index() on Solaris */
#include "gnc-html.h"
#include "gnc-ui-util.h"

View File

@@ -59,6 +59,7 @@
#include <gtk/gtk.h>
#include <string.h>
#include <strings.h> /* for index() on Solaris */
#include <ctype.h>
#include <stdio.h>