[llvm-commits] CVS: llvm/configure configure.ac
John Criswell
criswell at choi.cs.uiuc.edu
Tue Jun 24 17:11:03 PDT 2003
Changes in directory llvm:
configure updated: 1.1.2.2 -> 1.1.2.3
configure.ac updated: 1.1.2.2 -> 1.1.2.3
---
Log message:
Added options for purify.
---
Diffs of the changes:
Index: llvm/configure
diff -u llvm/configure:1.1.2.2 llvm/configure:1.1.2.3
--- llvm/configure:1.1.2.2 Tue Jun 24 16:19:14 2003
+++ llvm/configure Tue Jun 24 17:10:24 2003
@@ -1022,6 +1022,7 @@
--with-papi Location of PAPI
--with-objroot Location where object files should be placed
(default is .)
+ --with-purify Location of purify program
Some influential environment variables:
CXX C++ compiler command
@@ -4296,7 +4297,7 @@
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4299 "configure"' > conftest.$ac_ext
+ echo '#line 4300 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -4846,7 +4847,7 @@
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
compiler_c_o=no
-if { (eval echo configure:4849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+if { (eval echo configure:4850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s out/conftest.err; then
@@ -6677,7 +6678,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 6680 "configure"
+#line 6681 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -6775,7 +6776,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 6778 "configure"
+#line 6779 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11552,6 +11553,13 @@
else
OBJROOT=.
+
+fi;
+
+# Check whether --with-purify or --without-purify was given.
+if test "${with_purify+set}" = set; then
+ withval="$with_purify"
+ PURIFY=$withval
fi;
Index: llvm/configure.ac
diff -u llvm/configure.ac:1.1.2.2 llvm/configure.ac:1.1.2.3
--- llvm/configure.ac:1.1.2.2 Tue Jun 24 16:19:14 2003
+++ llvm/configure.ac Tue Jun 24 17:10:24 2003
@@ -231,5 +231,6 @@
AC_ARG_WITH(bcrepos,AC_HELP_STRING([--with-bcrepos],[Location of Bytecode Repository]),AC_SUBST(BCR,[$withval]),AC_SUBST(BCR,[/home/vadve/lattner/LLVMPrograms]))
AC_ARG_WITH(papi,AC_HELP_STRING([--with-papi],[Location of PAPI]),AC_SUBST(PAPIDIR,[$withval]),AC_SUBST(PAPIDIR,[/home/vadve/shared/papi-2.3.4.1]))
AC_ARG_WITH(objroot,AC_HELP_STRING([--with-objroot],[Location where object files should be placed (default is .)]),AC_SUBST(OBJROOT,[$withval]),AC_SUBST(OBJROOT,[.]))
+AC_ARG_WITH(purify,AC_HELP_STRING([--with-purify],[Location of purify program]),AC_SUBST(PURIFY,[$withval]))
AC_OUTPUT(Makefile.config)
More information about the llvm-commits
mailing list