summaryrefslogtreecommitdiff
path: root/autoconf/m4/find_std_program.m4
Commit message (Collapse)AuthorAge
* For PR876:Reid Spencer2006-08-14
| | | | | | | | | 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
* For PR876:Reid Spencer2006-08-14
| | | | | | | | Fix problem noticed by Kenneth Hoste. The wrong name for a variable was being set and subsequently uses of the correct name were empty. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29681 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of bash specific syntax for variable dereferencing, replacing itReid Spencer2005-07-25
| | | | | | | with the more crufty (but more widely available) "eval" command. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22509 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a parameter to the FIND_STD_PROGRAM macro that allows an alternate nameReid Spencer2005-07-17
| | | | | | | | | for the command line options. This helps with situations where the executable name sought is too generic and a more meaningful name needs to be used for the command line options. It also helps satisfy picky project leaders. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22461 91177308-0d34-0410-b5e6-96231b3b80d8
* Add two new checks for use in LLVM configuration files:Reid Spencer2005-07-17
* FIND_STD_PROGRAM will find a program in the path or using --with options and verify that the path/bin/program is executable. Also allows checking for include files and libraries. If found, USE_PROGRAM is set, otherwise its not set. Also sets PROGRAM_BIN (bin directory), and PROGRAM_DIR (top level directory). If headers are found, sets PROGRAM_INC. If libraries are found, sets PROGRAM_LIB. * CHECK_PROGRAM_SANITY can be used to run a program with some option that only produces information output and requires no input. If the output matches a regular expression, the program passes the sanity check. Otherwise, an error occurs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22458 91177308-0d34-0410-b5e6-96231b3b80d8