]> git.pld-linux.org Git - packages/dwi.git/blobdiff - dwi-qof.patch
- fixed
[packages/dwi.git] / dwi-qof.patch
index ce12c8d8243c1e6ed4515aef140e550c837561c6..1e5173a3ebf3dde640316c7d581449a7fc22fd65 100644 (file)
@@ -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.
This page took 0.073173 seconds and 4 git commands to generate.