From 9977ea6f3386c9efa31b5d2d98c86957025248cb Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 14 Aug 2006 23:19:57 +0000 Subject: [PATCH] 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 --- autoconf/m4/find_std_program.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoconf/m4/find_std_program.m4 b/autoconf/m4/find_std_program.m4 index 05d3bf77c8e..c789df8e641 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]) -- 2.34.1