While building from trunk, I got a warning from ./configure:

    ./configure: line 14956: test: =: unary operator expected

The line in question is this:

        if test $WITH_SQL = 1; then

Basically, the WITH_SQL variable isn't properly initialized.  Here's a
trivial patch to configure.ac to fix this:


[~/cfengine/cfengine3/trunk]$ svn diff configure.ac
Index: configure.ac
===================================================================
--- configure.ac        (revision 850)
+++ configure.ac        (working copy)
@@ -104,6 +104,8 @@

  if test "x$with_sql" != xno; then
     WITH_SQL=1
+else
+   WITH_SQL=0
  fi

  if test $WITH_SQL = 1; then


-- 
Jesse Becker
NHGRI Linux support (Digicon Contractor)
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to