configure breaks when generated with later autotools. The attached patch fixes.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [EMAIL PROTECTED]
Boulder, CO 80301              http://www.cora.nwra.com
--- cfengine-2.1.22/configure.ac.ac_msg_result	2007-04-10 15:54:46.000000000 -0600
+++ cfengine-2.1.22/configure.ac	2007-04-10 15:55:46.000000000 -0600
@@ -375,7 +375,7 @@
                             CPPFLAGS="$CPPFLAGS -I$d/include"
                             LDFLAGS="$LDFLAGS -L$d/lib"
                             PCRE_LIB="-lpcreposix"
-                            AC_MSG_RESULT = "$d"
+                            AC_MSG_RESULT($d)
                             break
                         fi
                     done
@@ -386,13 +386,13 @@
                 if test -f "${withval}/include/pcreposix.h" ; then
                     CPPFLAGS="$CPPFLAGS -I${withval}/include"
                     LDFLAGS="$LDFLAGS -L${withval}/lib"
-                    AC_MSG_RESULT = "${withval}"
+                    AC_MSG_RESULT(${withval})
                 else
                     AC_MSG_ERROR(Cannot find PCRE)
                 fi
                 fi
             else
-                AC_MSG_RESULT = "yes"
+                AC_MSG_RESULT(yes)
             fi
             LIBS="$LIBS -lpcreposix"
             AC_DEFINE(USE_PCRE, 1, [Define if PCRE is available.])
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to