~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to projects/sample/autoconf/m4/config_project.m4

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Provide the arguments and other processing needed for an LLVM project
 
3
#
 
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}"])
 
14
])