[llvm-commits] CVS: llvm/autoconf/configure.ac

Evan Cheng evan.cheng at apple.com
Tue Jun 20 15:16:46 PDT 2006



Changes in directory llvm/autoconf:

configure.ac updated: 1.235 -> 1.236
---
Log message:

Added --with-extra-options=opts to specify additional options to build LLVM and run tests.

---
Diffs of the changes:  (+10 -0)

 configure.ac |   10 ++++++++++
 1 files changed, 10 insertions(+)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.235 llvm/autoconf/configure.ac:1.236
--- llvm/autoconf/configure.ac:1.235	Tue Jun 20 12:44:40 2006
+++ llvm/autoconf/configure.ac	Tue Jun 20 17:16:32 2006
@@ -325,6 +325,16 @@
   *) AC_MSG_ERROR([Invalid path for --with-llvmgccdir. Provide full path]) ;;
 esac
 
+dnl Specify extra build options
+AC_ARG_WITH(extra-options,
+  AS_HELP_STRING([--with-extra-options],
+                 [Specify addtional options to compile LLVM with]),,
+                 extraopts=default)
+case "$extraopts" in
+  default) EXTRA_OPTIONS= ;;
+  *) EXTRA_OPTIONS=$extraopts ;;
+esac
+AC_SUBST(EXTRA_OPTIONS,$EXTRA_OPTIONS)
 
 dnl===-----------------------------------------------------------------------===
 dnl===






More information about the llvm-commits mailing list