[llvm-commits] CVS: llvm/Makefile.config.in configure
Evan Cheng
evan.cheng at apple.com
Tue Jun 20 15:16:45 PDT 2006
Changes in directory llvm:
Makefile.config.in updated: 1.58 -> 1.59
configure updated: 1.238 -> 1.239
---
Log message:
Added --with-extra-options=opts to specify additional options to build LLVM and run tests.
---
Diffs of the changes: (+21 -1)
Makefile.config.in | 3 +++
configure | 19 ++++++++++++++++++-
2 files changed, 21 insertions(+), 1 deletion(-)
Index: llvm/Makefile.config.in
diff -u llvm/Makefile.config.in:1.58 llvm/Makefile.config.in:1.59
--- llvm/Makefile.config.in:1.58 Wed May 31 20:09:43 2006
+++ llvm/Makefile.config.in Tue Jun 20 17:16:32 2006
@@ -103,6 +103,9 @@
# Targets that we should build
TARGETS_TO_BUILD=@TARGETS_TO_BUILD@
+# Extra options to compile LLVM with
+EXTRA_OPTIONS=@EXTRA_OPTIONS@
+
# Endian-ness of the target
ENDIAN=@ENDIAN@
Index: llvm/configure
diff -u llvm/configure:1.238 llvm/configure:1.239
--- llvm/configure:1.238 Tue Jun 20 12:44:37 2006
+++ llvm/configure Tue Jun 20 17:16:32 2006
@@ -477,7 +477,7 @@
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CVSBUILD ENABLE_OPTIMIZED DISABLE_ASSERTIONS DEBUG_RUNTIME JIT TARGET_HAS_JIT ENABLE_DOXYGEN ENABLE_THREADS TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP MKDIR MV RANLIB ac_ct_RANLIB RM SED TAR GRAPHVIZ DOT GV DOTTY PERL HAVE_PERL INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOXYGEN ETAGS GROFF GZIP POD2HTML POD2MAN RUNTEST TCLSH !
ZIP EGREP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 LLVMCC1PLUS LLVMGCCDIR LLVMGCC_VERSION LLVMGCC_MAJVERS SHLIBEXT LLVM_PREFIX LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CVSBUILD ENABLE_OPTIMIZED DISABLE_ASSERTIONS DEBUG_RUNTIME JIT TARGET_HAS_JIT ENABLE_DOXYGEN ENABLE_THREADS TARGETS_TO_BUILD EXTRA_OPTIONS CPP CXX CXXFLAGS ac_ct_CXX LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP MKDIR MV RANLIB ac_ct_RANLIB RM SED TAR GRAPHVIZ DOT GV DOTTY PERL HAVE_PERL INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOXYGEN ETAGS GROFF GZIP POD2HTML POD2MAN !
RUNTEST TCLSH ZIP EGREP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 LLVMCC1PLUS LLVMGCCDIR LLVMGCC_VERSION LLVMGCC_MAJVERS SHLIBEXT LLVM_PREFIX LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@@ -1057,6 +1057,7 @@
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-llvmgccdir Specify location of llvm-gcc install dir (default
searches PATH)
+ --with-extra-options Specify addtional options to compile LLVM with
--with-tclinclude directory where tcl headers are
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-pic try to use only PIC/non-PIC objects [default=use
@@ -3163,6 +3164,21 @@
+# Check whether --with-extra-options or --without-extra-options was given.
+if test "${with_extra_options+set}" = set; then
+ extraopts="$with_extra_options"
+
+else
+ extraopts=default
+fi;
+case "$extraopts" in
+ default) EXTRA_OPTIONS= ;;
+ *) EXTRA_OPTIONS=$extraopts ;;
+esac
+EXTRA_OPTIONS=$EXTRA_OPTIONS
+
+
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -31891,6 +31907,7 @@
s, at ENABLE_DOXYGEN@,$ENABLE_DOXYGEN,;t t
s, at ENABLE_THREADS@,$ENABLE_THREADS,;t t
s, at TARGETS_TO_BUILD@,$TARGETS_TO_BUILD,;t t
+s, at EXTRA_OPTIONS@,$EXTRA_OPTIONS,;t t
s, at CPP@,$CPP,;t t
s, at CXX@,$CXX,;t t
s, at CXXFLAGS@,$CXXFLAGS,;t t
More information about the llvm-commits
mailing list