patches/gnucash-05-solaris-guile.diff
author nonsea
Thu, 19 Nov 2009 01:09:26 +0000
changeset 2245 722683eaaa08
child 3561 e00d7784d938
permissions -rw-r--r--
2009-11-19 Halton Huo <[email protected]> * patches/gnucash-05-solaris-guile.diff: Added missing patch.

Index: gnucash/macros/gnome-guile-checks.m4
===================================================================
--- gnucash/macros/gnome-guile-checks.m4	(revision 18412)
+++ gnucash/macros/gnome-guile-checks.m4	(working copy)
@@ -62,10 +62,12 @@
 
 	if test "x$BUILD_GUILE" = "xyes"; then
 		AC_MSG_CHECKING(for guile libraries)
-		GUILE_LIBS="`$name_build_guile link`"
+		#GUILE_LIBS="`$name_build_guile link`"
+		GUILE_LIBS="-D_REENTRANT -lguile -lltdl -lgmp -lsocket -lnsl -lm -lltdl"
 		AC_MSG_RESULT($GUILE_LIBS)
 		AC_MSG_CHECKING(for guile headers)
-		GUILE_INCS="`$name_build_guile compile`"
+		#GUILE_INCS="`$name_build_guile compile`"
+		GUILE_INCS="-I/usr/include/gmp"
 		AC_MSG_RESULT($GUILE_INCS)
 	else
 		GUILE_LIBS="$GNOME_LIBDIR"