summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2007-09-15 00:23:05 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitdd10827965b45320069f0fb3b8df2c4c62a4add8 (patch)
treed5eea6aac06a4deed0bdaa17df1a26e3514c4c0f
parent1e0dee627736d0e34845ce737ceff3253d534379 (diff)
downloaddwi-dd10827965b45320069f0fb3b8df2c4c62a4add8.zip
dwi-dd10827965b45320069f0fb3b8df2c4c62a4add8.tar.gz
- fixed
Changed files: dwi-qof.patch -> 1.2
-rw-r--r--dwi-qof.patch18
1 files changed, 14 insertions, 4 deletions
diff --git a/dwi-qof.patch b/dwi-qof.patch
index ce12c8d..1e5173a 100644
--- a/dwi-qof.patch
+++ b/dwi-qof.patch
@@ -1,11 +1,21 @@
---- dwi-0.6.1/configure.in.orig 2004-07-29 15:49:36.000000000 +0200
-+++ dwi-0.6.1/configure.in 2006-02-22 11:40:41.000000000 +0100
-@@ -66,7 +66,7 @@
+--- dwi-0.6.2/configure.in.orig 2004-07-29 15:49:36.000000000 +0200
++++ dwi-0.6.2/configure.in 2006-02-22 11:40:41.000000000 +0100
+@@ -68,13 +68,16 @@
+ AC_SUBST(QOF_CFLAGS)
+ AC_SUBST(QOF_LIBS)
+
+-if test x$QOF_LIBS = x; then
++AC_ARG_WITH(qof, [ --without-qof disable qof support])
++if test "$with_qof" = "no"; then
++ QOF_LIBS=
++elif test x"$QOF_LIBS" = x; then
+ AC_MSG_WARN([****** QOF libs not found; build without QOF.])
+ else
AC_DEFINE(HAVE_QOF,,We Have Found QOF)
fi
-AM_CONDITIONAL(BUILD_QOF, [test x$HAVE_QOF = x])
-+AM_CONDITIONAL(BUILD_QOF, [test x$HAVE_QOF != x])
++AM_CONDITIONAL(BUILD_QOF, [test x"$QOF_LIBS" != x])
dnl **************************************************************
dnl If ODBC is found on the build system, then use it.