[llvm-commits] CVS: llvm/autoconf/m4/find_std_program.m4

Reid Spencer reid at x10sys.com
Mon Aug 14 16:20:11 PDT 2006



Changes in directory llvm/autoconf/m4:

find_std_program.m4 updated: 1.4 -> 1.5
---
Log message:

For PR876: http://llvm.org/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.


---
Diffs of the changes:  (+1 -1)

 find_std_program.m4 |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/m4/find_std_program.m4
diff -u llvm/autoconf/m4/find_std_program.m4:1.4 llvm/autoconf/m4/find_std_program.m4:1.5
--- llvm/autoconf/m4/find_std_program.m4:1.4	Mon Aug 14 18:15:03 2006
+++ llvm/autoconf/m4/find_std_program.m4	Mon Aug 14 18:19:57 2006
@@ -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])






More information about the llvm-commits mailing list