For PR876:
Fix problem setting the USE_{program} variable. It should be set to a
Makefile variable definition line, not just "1". Problem noted by
Kenneth Hoste.

llvm-svn: 29682
diff --git a/llvm/autoconf/m4/find_std_program.m4 b/llvm/autoconf/m4/find_std_program.m4
index 05d3bf77c..c789df8 100644
--- a/llvm/autoconf/m4/find_std_program.m4
+++ b/llvm/autoconf/m4/find_std_program.m4
@@ -64,7 +64,7 @@
             AC_SUBST(allcapsname()[_BIN],${binval})
             AC_SUBST(allcapsname()[_INC],${incval})
             AC_SUBST(allcapsname()[_LIB],${libval})
-            AC_SUBST([USE_]allcapsname(),[1])
+            AC_SUBST([USE_]allcapsname(),["USE_]allcapsname()[ = 1"])
             AC_MSG_RESULT([found via --with options])
           else
             AC_MSG_RESULT([failed])