SOURCES: dwi-qof.patch - fixed

qboosh qboosh at pld-linux.org
Sat Sep 15 02:23:10 CEST 2007


Author: qboosh                       Date: Sat Sep 15 00:23:10 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixed

---- Files affected:
SOURCES:
   dwi-qof.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/dwi-qof.patch
diff -u SOURCES/dwi-qof.patch:1.1 SOURCES/dwi-qof.patch:1.2
--- SOURCES/dwi-qof.patch:1.1	Wed Feb 22 13:50:15 2006
+++ SOURCES/dwi-qof.patch	Sat Sep 15 02:23:05 2007
@@ -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.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/dwi-qof.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list