zpu: simple fn with stack slots compile
[llvm/zpu.git] / autoconf / m4 / config_project.m4
blobeea7faf165c240fa25b93e85d9b76b18fe41003d
2 # Provide the arguments and other processing needed for an LLVM project
4 AC_DEFUN([LLVM_CONFIG_PROJECT],
5   [AC_ARG_WITH([llvmsrc],
6     AS_HELP_STRING([--with-llvmsrc],[Location of LLVM Source Code]),
7     [llvm_src="$withval"],[llvm_src="]$1["])
8   AC_SUBST(LLVM_SRC,$llvm_src)
9   AC_ARG_WITH([llvmobj],
10     AS_HELP_STRING([--with-llvmobj],[Location of LLVM Object Code]),
11     [llvm_obj="$withval"],[llvm_obj="]$2["])
12   AC_SUBST(LLVM_OBJ,$llvm_obj)
13   AC_CONFIG_COMMANDS([setup],,[llvm_src="${LLVM_SRC}"])