[Gnucash-changes] r11821 - gnucash/branches/cashutil - check if gsf installed without goffice

Neil Williams codehelp at cvs.gnucash.org
Thu Nov 3 15:06:56 EST 2005


Author: codehelp
Date: 2005-11-03 15:06:55 -0500 (Thu, 03 Nov 2005)
New Revision: 11821

Modified:
   gnucash/branches/cashutil/configure.in
Log:
check if gsf installed without goffice

Modified: gnucash/branches/cashutil/configure.in
===================================================================
--- gnucash/branches/cashutil/configure.in	2005-11-03 20:05:49 UTC (rev 11820)
+++ gnucash/branches/cashutil/configure.in	2005-11-03 20:06:55 UTC (rev 11821)
@@ -454,6 +454,11 @@
 
 if test x"$LIBGOFFICE_LIBS" = x; then
   AC_MSG_RESULT([No, GOffice not found, will build using internal goffice library.])
+  if test x"$LIBGSF_LIBS" != x; then
+    AC_MSG_NOTICE([Sorry, the internal goffice code cannot build with libgsf >= $GSF_REQUIRED.])
+    AC_MSG_ERROR([Please either install goffice or downgrade libgsf to earlier than $GSF_REQUIRED])
+    exit 1
+  fi
 else
   AC_MSG_RESULT([Yes, using GOffice])
   AC_DEFINE(HAVE_GOFFICE,,[We have found an external GOffice])



More information about the gnucash-changes mailing list