goffice r2253 - trunk
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2253 - trunk
- Date: Sat, 25 Oct 2008 23:11:57 +0000 (UTC)
Author: mortenw
Date: Sat Oct 25 23:11:57 2008
New Revision: 2253
URL: http://svn.gnome.org/viewvc/goffice?rev=2253&view=rev
Log:
2008-10-25 Morten Welinder <terra gnome org>
* configure.in (long double): Add --without-long-double option.
Fixes #557045. Patch by Halton Huo.
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/configure.in
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Oct 25 23:11:57 2008
@@ -12,6 +12,9 @@
Jody:
* Patch foocanvas to work around behaviour change in gtk 2.14.
+Halton Huo:
+ * Add --without-long-double option. [#557045]
+
Morten:
* Fix go_url_resolve_relative. [#550898]
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Sat Oct 25 23:11:57 2008
@@ -436,8 +436,13 @@
GOFFICE_CHECK_FUNC(atanh)
float_msg=no
-AC_C_LONG_DOUBLE
-if test $ac_cv_c_long_double = yes; then
+AC_ARG_WITH(long-double,
+ [ --without-long-double disable support for long double],
+ , [ with_long_double=yes])
+
+if test "x$with_long_double" = "xyes"; then
+ AC_C_LONG_DOUBLE
+ if test $ac_cv_c_long_double = yes; then
have_mandatory_funcs=yes
need_sunmath=0
ss_cc=`which $CC`
@@ -518,6 +523,7 @@
AC_MSG_WARN([Long double support disabled because of library problems])
fi
unset have_mandatory_funcs
+ fi
fi
AC_SUBST(EXTRA_LIBS)
AC_SUBST(EXTRA_INCLUDES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]