aboutsummaryrefslogtreecommitdiff
path: root/autoconf/m4
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-14 23:19:57 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-14 23:19:57 +0000
commit9977ea6f3386c9efa31b5d2d98c86957025248cb (patch)
treecd1ca443bf64ee187ece38dfdda1eb1f180f6977 /autoconf/m4
parentcc2665d4313e42894f063b61aafa3b76f618603f (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/m4')
-rw-r--r--autoconf/m4/find_std_program.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/m4/find_std_program.m4 b/autoconf/m4/find_std_program.m4
index 05d3bf77c8..c789df8e64 100644
--- a/autoconf/m4/find_std_program.m4
+++ b/autoconf/m4/find_std_program.m4
@@ -64,7 +64,7 @@ elif test "${binval}" != "nada" ; then
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])