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

2007-06-28 Thread David Greene


Changes in directory llvm/autoconf:

configure.ac updated: 1.271 -> 1.272
---
Log message:

Add support for building with _GLIBCXX_DEBUG.  New configure option
--enable-expensive-checks allows the developer to enable runtime
checking that can greatly increase compile time.  Currently it only
turns on _GLIBCXX_DEBUG.  Other expensive debugging checks added later
should be controlled by this configure option.

This patch also updates llvm-config with a --cppflags option to inform
llvm-gcc how to build itself so that it is compatible with an llvm that
was built with _GLIBCXX_DEBUG.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.271 llvm/autoconf/configure.ac:1.272
--- llvm/autoconf/configure.ac:1.271Thu May 17 13:06:19 2007
+++ llvm/autoconf/configure.ac  Thu Jun 28 14:36:07 2007
@@ -274,6 +274,17 @@
   AC_SUBST(DISABLE_ASSERTIONS,[[DISABLE_ASSERTIONS=1]])
 fi
 
+dnl --enable-expensive-checks : check whether they want to turn on expensive 
debug checks:
+AC_ARG_ENABLE(expensive-checks,AS_HELP_STRING(
+  [--enable-expensive-checks,Compile with expensive debug checks enabled 
(default is NO)]),, enableval="no")
+if test ${enableval} = "yes" ; then
+  AC_SUBST(ENABLE_EXPENSIVE_CHECKS,[[ENABLE_EXPENSIVE_CHECKS=1]])
+  AC_SUBST(EXPENSIVE_CHECKS,[[yes]])
+else
+  AC_SUBST(ENABLE_EXPENSIVE_CHECKS,[[]])
+  AC_SUBST(EXPENSIVE_CHECKS,[[no]])
+fi
+
 dnl --enable-debug-runtime : should runtime libraries have debug symbols?
 AC_ARG_ENABLE(debug-runtime,
AS_HELP_STRING([--enable-debug-runtime,Build runtime libs with debug 
symbols (default is NO)]),,enableval=no)



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-05-17 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.270 -> 1.271
---
Log message:

Make Perl a required dependency and cause configure script to fail if it
is not found.


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

 configure.ac |1 +
 1 files changed, 1 insertion(+)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.270 llvm/autoconf/configure.ac:1.271
--- llvm/autoconf/configure.ac:1.270Mon May  7 23:22:59 2007
+++ llvm/autoconf/configure.ac  Thu May 17 13:06:19 2007
@@ -495,6 +495,7 @@
 AC_SUBST(PERL)
 if test x"$PERL" = xnone; then
AC_SUBST(HAVE_PERL,0)
+   AC_MSG_ERROR([perl is required but was not found, please install it])
 else
AC_SUBST(HAVE_PERL,1)
 fi



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-05-07 Thread Tanya Lattner


Changes in directory llvm/autoconf:

configure.ac updated: 1.269 -> 1.270
---
Log message:

Bump version number in cvs


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.269 llvm/autoconf/configure.ac:1.270
--- llvm/autoconf/configure.ac:1.269Sat Apr 21 16:28:12 2007
+++ llvm/autoconf/configure.ac  Mon May  7 23:22:59 2007
@@ -31,7 +31,7 @@
 
dnl===---===
 dnl Initialize autoconf and define the package name, version number and
 dnl email address for reporting bugs.
-AC_INIT([[llvm]],[[2.0cvs]],[EMAIL PROTECTED])
+AC_INIT([[llvm]],[[2.1cvs]],[EMAIL PROTECTED])
 
 dnl Provide a copyright substitution and ensure the copyright notice is 
included
 dnl in the output of --version option of the generated configure script.



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-04-21 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.268 -> 1.269
---
Log message:

Add support for determining which languages the llvm-gcc front end 
supports.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.268 llvm/autoconf/configure.ac:1.269
--- llvm/autoconf/configure.ac:1.268Mon Apr  2 10:40:39 2007
+++ llvm/autoconf/configure.ac  Sat Apr 21 16:28:12 2007
@@ -767,6 +767,7 @@
 
 dnl Since we have a sane llvm-gcc, identify it and its sub-tools 
 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
+  AC_MSG_CHECKING([llvm-gcc component support])
   llvmcc1path=`"$LLVMGCC" --print-prog-name=cc1`
   AC_SUBST(LLVMCC1,$llvmcc1path)
   llvmcc1pluspath=`"$LLVMGCC" --print-prog-name=cc1plus`
@@ -779,6 +780,9 @@
   llvmgccmajvers=[`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`]
   AC_SUBST(LLVMGCC_VERSION,$llvmgccversion)
   AC_SUBST(LLVMGCC_MAJVERS,$llvmgccmajvers)
+  llvmgcclangs=[`"$LLVMGCC" -v --help 2>&1 | grep '^Configured with:' | sed 
's/^.*--enable-languages=\([^ -]*\).*/\1/'`]
+  AC_SUBST(LLVMGCC_LANGS,$llvmgcclangs)
+  AC_MSG_RESULT([ok])
 fi
 
 dnl Propagate the shared library extension that the libltdl checks did to 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-04-02 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.267 -> 1.268
---
Log message:

Check for .svn directories too to determine if a debug build is appropriate.


---
Diffs of the changes:  (+3 -3)

 configure.ac |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.267 llvm/autoconf/configure.ac:1.268
--- llvm/autoconf/configure.ac:1.267Thu Mar 29 10:37:57 2007
+++ llvm/autoconf/configure.ac  Mon Apr  2 10:40:39 2007
@@ -235,13 +235,13 @@
   AC_SUBST(LLVM_CROSS_COMPILING, [0])
 fi
 
-dnl Check to see if there's a "CVS" directory indicating that this build is
-dnl being done from a CVS checkout. This sets up several defaults for the
+dnl Check to see if there's a "CVS" (or .svn) directory indicating that this 
+dnl build is being done from a checkout. This sets up several defaults for the
 dnl command line switches. When we build with a CVS directory, we get a 
 dnl debug with assertions turned on. Without, we assume a source release and we
 dnl get an optimized build without assertions. See --enable-optimized and
 dnl --enable-assertions below
-if test -d "CVS" -o -d "${srcdir}/CVS"; then
+if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn"; 
then
   cvsbuild="yes"
   optimize="no"
   AC_SUBST(CVSBUILD,[[CVSBUILD=1]])



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-03-29 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.266 -> 1.267
---
Log message:

For PR1283: http://llvm.org/PR1283 :
Change the llvm-gcc sanity check to look for "target datalayout" instead
of "implementation". The implementation keyword is no longer generated
by llvm or llvm-gcc.


---
Diffs of the changes:  (+2 -1)

 configure.ac |3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.266 llvm/autoconf/configure.ac:1.267
--- llvm/autoconf/configure.ac:1.266Wed Mar 21 16:38:25 2007
+++ llvm/autoconf/configure.ac  Thu Mar 29 10:37:57 2007
@@ -757,7 +757,8 @@
 [llvm_cv_llvmgcc_sanity="no"
 if test -x "$LLVMGCC" ; then
   cp /dev/null conftest.c
-  "$LLVMGCC" -emit-llvm -S -o - conftest.c | grep implementation > /dev/null 
2>&1
+  "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
+  grep 'target datalayout =' > /dev/null 2>&1
   if test $? -eq 0 ; then
 llvm_cv_llvmgcc_sanity="yes"
   fi



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-03-21 Thread Anton Korobeynikov


Changes in directory llvm/autoconf:

configure.ac updated: 1.265 -> 1.266
---
Log message:

Let the new backend begin!


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.265 llvm/autoconf/configure.ac:1.266
--- llvm/autoconf/configure.ac:1.265Fri Feb 16 13:11:06 2007
+++ llvm/autoconf/configure.ac  Wed Mar 21 16:38:25 2007
@@ -376,7 +376,7 @@
   done 
   ;;
 esac
-TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD"
+TARGETS_TO_BUILD="CBackend MSIL $TARGETS_TO_BUILD"
 AC_SUBST(TARGETS_TO_BUILD,$TARGETS_TO_BUILD)
 
 dnl Prevent the CBackend from using printf("%a") for floating point so older



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-02-16 Thread Anton Korobeynikov


Changes in directory llvm/autoconf:

configure.ac updated: 1.264 -> 1.265
---
Log message:

Add possibility to set memory limit for binaries run via libSystem. This 
is especially needed for bugpoint. This partly implements PR688: 
http://llvm.org/PR688 


---
Diffs of the changes:  (+2 -1)

 configure.ac |3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.264 llvm/autoconf/configure.ac:1.265
--- llvm/autoconf/configure.ac:1.264Sun Jan 21 00:41:11 2007
+++ llvm/autoconf/configure.ac  Fri Feb 16 13:11:06 2007
@@ -709,7 +709,8 @@
 
dnl===---===
 
 AC_CHECK_FUNCS([backtrace ceilf floorf roundf rintf nearbyintf getcwd ])
-AC_CHECK_FUNCS([getpagesize getrusage gettimeofday isatty mkdtemp mkstemp ])
+AC_CHECK_FUNCS([getpagesize getrusage getrlimit setrlimit gettimeofday])
+AC_CHECK_FUNCS([isatty mkdtemp mkstemp ])
 AC_CHECK_FUNCS([mktemp realpath sbrk setrlimit strdup strerror strerror_r ])
 AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zone_statistics ])
 AC_CHECK_FUNCS([setjmp longjmp sigsetjmp siglongjmp])



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-01-20 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.263 -> 1.264
---
Log message:

Fix the TARGET_HAS_JIT settings. Sparc doesn't, x86_64 does, ARM doesn't.


---
Diffs of the changes:  (+3 -3)

 configure.ac |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.263 llvm/autoconf/configure.ac:1.264
--- llvm/autoconf/configure.ac:1.263Sun Jan 21 00:31:55 2007
+++ llvm/autoconf/configure.ac  Sun Jan 21 00:41:11 2007
@@ -294,12 +294,12 @@
 else
   case "$llvm_cv_target_arch" in
 x86) AC_SUBST(TARGET_HAS_JIT,1) ;;
-Sparc)   AC_SUBST(TARGET_HAS_JIT,1) ;;
+Sparc)   AC_SUBST(TARGET_HAS_JIT,0) ;;
 PowerPC) AC_SUBST(TARGET_HAS_JIT,1) ;;
-x86_64)  AC_SUBST(TARGET_HAS_JIT,0) ;;
+x86_64)  AC_SUBST(TARGET_HAS_JIT,1) ;;
 Alpha)   AC_SUBST(TARGET_HAS_JIT,1) ;;
 IA64)AC_SUBST(TARGET_HAS_JIT,0) ;;
-ARM) AC_SUBST(TARGET_HAS_JIT,1) ;;
+ARM) AC_SUBST(TARGET_HAS_JIT,0) ;;
 *)   AC_SUBST(TARGET_HAS_JIT,0) ;;
   esac
 fi



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-01-20 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.262 -> 1.263
---
Log message:

Add support for the ARM target in the target configuration processing.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.262 llvm/autoconf/configure.ac:1.263
--- llvm/autoconf/configure.ac:1.262Sat Jan 20 14:43:35 2007
+++ llvm/autoconf/configure.ac  Sun Jan 21 00:31:55 2007
@@ -213,6 +213,7 @@
   powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
   alpha*-*)   llvm_cv_target_arch="Alpha" ;;
   ia64-*) llvm_cv_target_arch="IA64" ;;
+  arm-*)  llvm_cv_target_arch="ARM" ;;
   *)  llvm_cv_target_arch="Unknown" ;;
 esac])
 
@@ -298,6 +299,7 @@
 x86_64)  AC_SUBST(TARGET_HAS_JIT,0) ;;
 Alpha)   AC_SUBST(TARGET_HAS_JIT,1) ;;
 IA64)AC_SUBST(TARGET_HAS_JIT,0) ;;
+ARM) AC_SUBST(TARGET_HAS_JIT,1) ;;
 *)   AC_SUBST(TARGET_HAS_JIT,0) ;;
   esac
 fi
@@ -356,6 +358,7 @@
   PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
   Alpha)   TARGETS_TO_BUILD="Alpha" ;;
   IA64)TARGETS_TO_BUILD="IA64" ;;
+  ARM) TARGETS_TO_BUILD="ARM" ;;
   *)   AC_MSG_ERROR([Can not set target to build]) ;;
 esac 
 ;;
@@ -367,6 +370,7 @@
 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
 alpha)   TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
 ia64)TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;
+arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
 *) AC_MSG_ERROR([Unrecognized target $a_target]) ;;
   esac
   done 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-01-20 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.261 -> 1.262
---
Log message:

For PR808: http://llvm.org/PR808 :
Add support for NetBSD.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.261 llvm/autoconf/configure.ac:1.262
--- llvm/autoconf/configure.ac:1.261Sat Jan 20 01:40:26 2007
+++ llvm/autoconf/configure.ac  Sat Jan 20 14:43:35 2007
@@ -131,6 +131,11 @@
 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
 llvm_cv_os_type="OpenBSD" 
 llvm_cv_platform_type="Unix" ;;
+  *-*-netbsd*) 
+llvm_cv_link_all_option="-Wl,--whole-archive"
+llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
+llvm_cv_os_type="NetBSD" 
+llvm_cv_platform_type="Unix" ;;
   *-*-hpux*) 
 llvm_cv_link_all_option="-Wl,--whole-archive"
 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-01-19 Thread Anton Korobeynikov


Changes in directory llvm/autoconf:

configure.ac updated: 1.260 -> 1.261
---
Log message:

Cleanup


---
Diffs of the changes:  (+17 -17)

 configure.ac |   34 +-
 1 files changed, 17 insertions(+), 17 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.260 llvm/autoconf/configure.ac:1.261
--- llvm/autoconf/configure.ac:1.260Fri Jan 19 11:25:17 2007
+++ llvm/autoconf/configure.ac  Sat Jan 20 01:40:26 2007
@@ -636,7 +636,7 @@
 [
   AC_SUBST(USE_UDIS86, [1])
   case "$withval" in
-/usr/lib) ;;
+/usr/lib|yes) ;;
 *) LDFLAGS="$LDFLAGS -L${withval}" ;;
   esac
   AC_CHECK_LIB(udis86, ud_init, [], [
@@ -718,22 +718,22 @@
 AC_FUNC_ISNAN
 AC_FUNC_ISINF
 
-dnl Check for mmap and mprotect support. We need both to do the JIT and for
-dnl bytecode loading, etc. We also need to know if /dev/zero is required to
-dnl be opened for allocating RWX memory.
-AC_FUNC_MMAP
-AC_FUNC_MMAP_FILE
-AC_NEED_DEV_ZERO_FOR_MMAP
-AC_CHECK_FUNC(mprotect,,
-  AC_MSG_ERROR([Function mprotect() required but not found]))
-
-if test "$ac_cv_func_mmap_fixed_mapped" = "no"
-then
-  AC_MSG_WARN([mmap() of a fixed address required but not supported])
-fi
-if test "$ac_cv_func_mmap_file" = "no"
-then
-  AC_MSG_WARN([mmap() of files required but not found])
+dnl Check for mmap support.We also need to know if /dev/zero is required to 
+dnl be opened for allocating RWX memory.  
+dnl Make sure we aren't attempting to configure for an unknown system
+if test "$llvm_cv_platform_type" = "Unix" ; then
+  AC_FUNC_MMAP 
+  AC_FUNC_MMAP_FILE
+  AC_NEED_DEV_ZERO_FOR_MMAP
+
+  if test "$ac_cv_func_mmap_fixed_mapped" = "no"
+  then
+AC_MSG_WARN([mmap() of a fixed address required but not supported])
+  fi
+  if test "$ac_cv_func_mmap_file" = "no"
+  then
+AC_MSG_WARN([mmap() of files required but not found])
+  fi
 fi
 
 
dnl===---===



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-01-19 Thread Anton Korobeynikov


Changes in directory llvm/autoconf:

configure.ac updated: 1.259 -> 1.260
---
Log message:

Adding disassembler interface and external hook to udis86 library.


---
Diffs of the changes:  (+21 -2)

 configure.ac |   23 +--
 1 files changed, 21 insertions(+), 2 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.259 llvm/autoconf/configure.ac:1.260
--- llvm/autoconf/configure.ac:1.259Tue Jan 16 20:14:46 2007
+++ llvm/autoconf/configure.ac  Fri Jan 19 11:25:17 2007
@@ -35,8 +35,8 @@
 
 dnl Provide a copyright substitution and ensure the copyright notice is 
included
 dnl in the output of --version option of the generated configure script.
-AC_SUBST(LLVM_COPYRIGHT,["Copyright (c) 2003-2005 University of Illinois at 
Urbana-Champaign."])
-AC_COPYRIGHT([Copyright (c) 2003-2005 University of Illinois at 
Urbana-Champaign.])
+AC_SUBST(LLVM_COPYRIGHT,["Copyright (c) 2003-2007 University of Illinois at 
Urbana-Champaign."])
+AC_COPYRIGHT([Copyright (c) 2003-2007 University of Illinois at 
Urbana-Champaign.])
 
 dnl Indicate that we require autoconf 2.59 or later. Ths is needed because we
 dnl use some autoconf macros only available in 2.59.
@@ -629,6 +629,25 @@
[Have pthread_mutex_lock]))
 fi
 
+dnl Allow extra x86-disassembler library
+AC_ARG_WITH(udis86,
+  AS_HELP_STRING([--with-udis86=],
+[Use udis86 external x86 disassembler library]),
+[
+  AC_SUBST(USE_UDIS86, [1])
+  case "$withval" in
+/usr/lib) ;;
+*) LDFLAGS="$LDFLAGS -L${withval}" ;;
+  esac
+  AC_CHECK_LIB(udis86, ud_init, [], [
+echo "Error! You need to have libudis86 around."
+exit -1
+  ])
+],
+AC_SUBST(USE_UDIS86, [0]))
+AC_DEFINE_UNQUOTED([USE_UDIS86],$USE_UDIS86,
+   [Define if use udis86 library])
+
 
dnl===---===
 dnl===
 dnl=== SECTION 6: Check for header files



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-01-16 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.258 -> 1.259
---
Log message:

For PR1074: http://llvm.org/PR1074 :
Adjust configuration for Stacker's new name: llvm-stacker. 


---
Diffs of the changes:  (+11 -11)

 configure.ac |   22 +++---
 1 files changed, 11 insertions(+), 11 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.258 llvm/autoconf/configure.ac:1.259
--- llvm/autoconf/configure.ac:1.258Fri Jan 12 12:22:38 2007
+++ llvm/autoconf/configure.ac  Tue Jan 16 20:14:46 2007
@@ -66,17 +66,17 @@
 do
   if test -d ${srcdir}/projects/${i} ; then
 case ${i} in
-  "CVS") ;;
-  "sample")   AC_CONFIG_SUBDIRS([projects/sample]);;
-  "Stacker")  AC_CONFIG_SUBDIRS([projects/Stacker])   ;;
-  "privbracket")  AC_CONFIG_SUBDIRS([projects/privbracket]) ;;
-  "llvm-test")AC_CONFIG_SUBDIRS([projects/llvm-test]) ;;
-  "llvm-reopt")   AC_CONFIG_SUBDIRS([projects/llvm-reopt]);;
-  "llvm-gcc") AC_CONFIG_SUBDIRS([projects/llvm-gcc])  ;;
-  "llvm-java")AC_CONFIG_SUBDIRS([projects/llvm-java]) ;;
-  "llvm-tv")  AC_CONFIG_SUBDIRS([projects/llvm-tv])   ;;
-  "llvm-poolalloc") AC_CONFIG_SUBDIRS([projects/llvm-poolalloc]) ;;
-  "llvm-kernel")  AC_CONFIG_SUBDIRS([projects/llvm-kernel]) ;;
+  CVS) ;;
+  sample)   AC_CONFIG_SUBDIRS([projects/sample]);;
+  privbracket)  AC_CONFIG_SUBDIRS([projects/privbracket]) ;;
+  llvm-stacker) AC_CONFIG_SUBDIRS([projects/llvm-stacker]) ;;
+  llvm-test)AC_CONFIG_SUBDIRS([projects/llvm-test]) ;;
+  llvm-reopt)   AC_CONFIG_SUBDIRS([projects/llvm-reopt]);;
+  llvm-gcc) AC_CONFIG_SUBDIRS([projects/llvm-gcc])  ;;
+  llvm-java)AC_CONFIG_SUBDIRS([projects/llvm-java]) ;;
+  llvm-tv)  AC_CONFIG_SUBDIRS([projects/llvm-tv])   ;;
+  llvm-poolalloc) AC_CONFIG_SUBDIRS([projects/llvm-poolalloc]) ;;
+  llvm-kernel)  AC_CONFIG_SUBDIRS([projects/llvm-kernel]) ;;
   *)  
 AC_MSG_WARN([Unknown project (${i}) won't be configured automatically])
 ;;



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-01-12 Thread Jeff Cohen


Changes in directory llvm/autoconf:

configure.ac updated: 1.257 -> 1.258
---
Log message:

'==' is not a legal test operator on BSD.  Use '='.


---
Diffs of the changes:  (+6 -6)

 configure.ac |   12 ++--
 1 files changed, 6 insertions(+), 6 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.257 llvm/autoconf/configure.ac:1.258
--- llvm/autoconf/configure.ac:1.257Thu Dec 21 16:55:41 2006
+++ llvm/autoconf/configure.ac  Fri Jan 12 12:22:38 2007
@@ -444,7 +444,7 @@
 if test "$GRAPHVIZ" != "echo Graphviz" ; then
   AC_DEFINE([HAVE_GRAPHVIZ],[1],[Define if the Graphviz program is available])
   dnl If we're targeting for mingw we should emit windows paths, not msys
-  if test "$llvm_cv_os_type" == "MingW" ; then
+  if test "$llvm_cv_os_type" = "MingW" ; then
 GRAPHVIZ=`echo $GRAPHVIZ | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
   fi
   AC_DEFINE_UNQUOTED([LLVM_PATH_GRAPHVIZ],"$GRAPHVIZ${EXEEXT}",
@@ -454,7 +454,7 @@
 if test "$DOT" != "echo dot" ; then
   AC_DEFINE([HAVE_DOT],[1],[Define if the dot program is available])
   dnl If we're targeting for mingw we should emit windows paths, not msys
-  if test "$llvm_cv_os_type" == "MingW" ; then
+  if test "$llvm_cv_os_type" = "MingW" ; then
 DOT=`echo $DOT | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
   fi
   AC_DEFINE_UNQUOTED([LLVM_PATH_DOT],"$DOT${EXEEXT}",
@@ -464,7 +464,7 @@
 if test "$GV" != "echo gv" ; then
   AC_DEFINE([HAVE_GV],[1],[Define if the gv program is available])
   dnl If we're targeting for mingw we should emit windows paths, not msys
-  if test "$llvm_cv_os_type" == "MingW" ; then
+  if test "$llvm_cv_os_type" = "MingW" ; then
 GV=`echo $GV | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
   fi
   AC_DEFINE_UNQUOTED([LLVM_PATH_GV],"$GV${EXEEXT}",
@@ -474,7 +474,7 @@
 if test "$DOTTY" != "echo dotty" ; then
   AC_DEFINE([HAVE_DOTTY],[1],[Define if the dotty program is available])
   dnl If we're targeting for mingw we should emit windows paths, not msys
-  if test "$llvm_cv_os_type" == "MingW" ; then
+  if test "$llvm_cv_os_type" = "MingW" ; then
 DOTTY=`echo $DOTTY | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
   fi
   AC_DEFINE_UNQUOTED([LLVM_PATH_DOTTY],"$DOTTY${EXEEXT}",
@@ -600,7 +600,7 @@
 dnl libelf is for sparc only; we can ignore it if we don't have it
 AC_CHECK_LIB(elf, elf_begin)
 AC_CHECK_LIB(m,sin)
-if test "$llvm_cv_os_type" == "MingW" ; then
+if test "$llvm_cv_os_type" = "MingW" ; then
   AC_CHECK_LIB(imagehlp, main)
   AC_CHECK_LIB(psapi, main)
 fi
@@ -758,7 +758,7 @@
 # Translate the various configuration directories and other basic
 # information into substitutions that will end up in Makefile.config.in 
 # that these configured values can be used by the makefiles
-if test "${prefix}" == "NONE" ; then
+if test "${prefix}" = "NONE" ; then
   prefix="/usr/local"
 fi
 eval LLVM_PREFIX="${prefix}";



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-12-21 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.256 -> 1.257
---
Log message:

Add a new variable, LLVMGCCLIBEXEC to get the libexec directory where the
cc1 and cc1plus executables live.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.256 llvm/autoconf/configure.ac:1.257
--- llvm/autoconf/configure.ac:1.256Sat Dec 16 16:07:52 2006
+++ llvm/autoconf/configure.ac  Thu Dec 21 16:55:41 2006
@@ -743,6 +743,8 @@
   AC_SUBST(LLVMCC1PLUS,$llvmcc1pluspath)
   llvmgccdir=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
   AC_SUBST(LLVMGCCDIR,$llvmgccdir)
+  llvmgcclibexec=`echo "$llvmcc1path" | sed 's,/cc1,,'`
+  AC_SUBST(LLVMGCCLIBEXEC,$llvmgcclibexec)
   llvmgccversion=[`"$LLVMGCC" -dumpversion 2>&1 | sed 's/^\([0-9.]*\).*/\1/'`]
   llvmgccmajvers=[`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`]
   AC_SUBST(LLVMGCC_VERSION,$llvmgccversion)



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-12-16 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.255 -> 1.256
---
Log message:

Allow an --enable-pic option to turn on -fPIC compiler option when building.
The default is disabled until we know this doesn't break anyone.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.255 llvm/autoconf/configure.ac:1.256
--- llvm/autoconf/configure.ac:1.255Sun Dec 10 17:12:42 2006
+++ llvm/autoconf/configure.ac  Sat Dec 16 16:07:52 2006
@@ -322,6 +322,20 @@
 esac
 AC_DEFINE_UNQUOTED([ENABLE_THREADS],$ENABLE_THREADS,[Define if threads 
enabled])
 
+dnl Allow building with position independent code
+AC_ARG_ENABLE(pic,
+  AS_HELP_STRING([--enable-pic],
+ [Build LLVM with Position Independent Code (default is NO)]),,
+ enableval=default)
+case "$enableval" in
+  yes) AC_SUBST(ENABLE_PIC,[1]) ;;
+  no)  AC_SUBST(ENABLE_PIC,[0]) ;;
+  default) AC_SUBST(ENABLE_PIC,[0]) ;;
+  *) AC_MSG_ERROR([Invalid setting for --enable-pic. Use "yes" or "no"]) ;;
+esac
+AC_DEFINE_UNQUOTED([ENABLE_PIC],$ENABLE_PIC,
+   [Define if position independent code is enabled])
+
 dnl Allow specific targets to be specified for building (or not)
 TARGETS_TO_BUILD=""
 AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-12-07 Thread Reid Spencer
How about cleaning up the rest of it? There are checks to determine
sanity all for the purpose of producing the message you deleted.

REid.

On Thu, 2006-12-07 at 23:04 -0600, Chris Lattner wrote:
> 
> Changes in directory llvm/autoconf:
> 
> configure.ac updated: 1.253 -> 1.254
> ---
> Log message:
> 
> this warning is obsolete with llvmgcc3 being gone
> 
> 
> ---
> Diffs of the changes:  (+0 -8)
> 
>  configure.ac |8 
>  1 files changed, 8 deletions(-)
> 
> 
> Index: llvm/autoconf/configure.ac
> diff -u llvm/autoconf/configure.ac:1.253 llvm/autoconf/configure.ac:1.254
> --- llvm/autoconf/configure.ac:1.253  Thu Nov 30 18:37:14 2006
> +++ llvm/autoconf/configure.acThu Dec  7 23:03:54 2006
> @@ -834,11 +834,3 @@
>  dnl Finally, crank out the output
>  AC_OUTPUT
>  
> -dnl Warn loudly if llvm-gcc was not obviously working
> -if test "$llvm_cv_llvmgcc_sanity" = "no" ; then
> - AC_MSG_WARN([* llvm-gcc/llvm-g++ was not found, or does not appear to 
> be ])
> - AC_MSG_WARN([* working. Please make sure you have llvm-gcc and llvm-g++ 
> in])
> - AC_MSG_WARN([* your path before configuring LLVM. The runtime 
> libraries])
> - AC_MSG_WARN([* (llvm/runtime) will not be built but you should be able 
> to])
> - AC_MSG_WARN([* build the llvm tools.])
> -fi
> 
> 
> 
> ___
> llvm-commits mailing list
> llvm-commits@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-12-07 Thread Chris Lattner
On Thu, 7 Dec 2006, Reid Spencer wrote:

> How about cleaning up the rest of it? There are checks to determine
> sanity all for the purpose of producing the message you deleted.

I think that makes a lot of sense, but I don't really feel confident 
removing the rest (inexperience with configure).  In particular, we 
currently still need LLVMGCC_VERSION/LLVMGCC_MAJVERS to be computed which 
depends on sanity, no?

I think it makes sense for llvm to still detect llvm-gcc (for use with 
llvm/test and llvm-test) but not require it.

-Chris

> On Thu, 2006-12-07 at 23:04 -0600, Chris Lattner wrote:
>>
>> Changes in directory llvm/autoconf:
>>
>> configure.ac updated: 1.253 -> 1.254
>> ---
>> Log message:
>>
>> this warning is obsolete with llvmgcc3 being gone
>>
>>
>> ---
>> Diffs of the changes:  (+0 -8)
>>
>>  configure.ac |8 
>>  1 files changed, 8 deletions(-)
>>
>>
>> Index: llvm/autoconf/configure.ac
>> diff -u llvm/autoconf/configure.ac:1.253 llvm/autoconf/configure.ac:1.254
>> --- llvm/autoconf/configure.ac:1.253 Thu Nov 30 18:37:14 2006
>> +++ llvm/autoconf/configure.ac   Thu Dec  7 23:03:54 2006
>> @@ -834,11 +834,3 @@
>>  dnl Finally, crank out the output
>>  AC_OUTPUT
>>
>> -dnl Warn loudly if llvm-gcc was not obviously working
>> -if test "$llvm_cv_llvmgcc_sanity" = "no" ; then
>> - AC_MSG_WARN([* llvm-gcc/llvm-g++ was not found, or does not appear to 
>> be ])
>> - AC_MSG_WARN([* working. Please make sure you have llvm-gcc and 
>> llvm-g++ in])
>> - AC_MSG_WARN([* your path before configuring LLVM. The runtime 
>> libraries])
>> - AC_MSG_WARN([* (llvm/runtime) will not be built but you should be able 
>> to])
>> - AC_MSG_WARN([* build the llvm tools.])
>> -fi
>>
>>
>>
>> ___
>> llvm-commits mailing list
>> llvm-commits@cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-12-07 Thread Chris Lattner


Changes in directory llvm/autoconf:

configure.ac updated: 1.253 -> 1.254
---
Log message:

this warning is obsolete with llvmgcc3 being gone


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

 configure.ac |8 
 1 files changed, 8 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.253 llvm/autoconf/configure.ac:1.254
--- llvm/autoconf/configure.ac:1.253Thu Nov 30 18:37:14 2006
+++ llvm/autoconf/configure.ac  Thu Dec  7 23:03:54 2006
@@ -834,11 +834,3 @@
 dnl Finally, crank out the output
 AC_OUTPUT
 
-dnl Warn loudly if llvm-gcc was not obviously working
-if test "$llvm_cv_llvmgcc_sanity" = "no" ; then
- AC_MSG_WARN([* llvm-gcc/llvm-g++ was not found, or does not appear to be 
])
- AC_MSG_WARN([* working. Please make sure you have llvm-gcc and llvm-g++ 
in])
- AC_MSG_WARN([* your path before configuring LLVM. The runtime libraries])
- AC_MSG_WARN([* (llvm/runtime) will not be built but you should be able 
to])
- AC_MSG_WARN([* build the llvm tools.])
-fi



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-30 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.252 -> 1.253
---
Log message:

For PR1019: http://llvm.org/PR1019 :
Add HAVE_PTHREAD to makefiles with support from configure and use it to
determine whether to build examples/ParallelJIT.
Patch by Anton Korobeynikov.


---
Diffs of the changes:  (+5 -1)

 configure.ac |6 +-
 1 files changed, 5 insertions(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.252 llvm/autoconf/configure.ac:1.253
--- llvm/autoconf/configure.ac:1.252Thu Nov 16 21:32:33 2006
+++ llvm/autoconf/configure.ac  Thu Nov 30 18:37:14 2006
@@ -637,7 +637,11 @@
 AC_CHECK_HEADERS([windows.h sys/mman.h sys/param.h sys/resource.h sys/time.h])
 AC_CHECK_HEADERS([sys/types.h malloc/malloc.h mach/mach.h])
 if test "$ENABLE_THREADS" -eq 1 ; then
-  AC_CHECK_HEADERS(pthread.h)
+  AC_CHECK_HEADER(pthread.h,
+  AC_SUBST(HAVE_PTHREAD, 1),
+  AC_SUBST(HAVE_PTHREAD, 0))
+else
+  AC_SUBST(HAVE_PTHREAD, 0)
 fi
 
 
dnl===---===



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-16 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.251 -> 1.252
---
Log message:

Undo removal of the runtime libraries. While this may have been a bit
premature, these libraries will be going away for the 2.0 release. Other
arrangements for profiling, gc, etc. should be made in the next few months.


---
Diffs of the changes:  (+14 -2)

 configure.ac |   16 ++--
 1 files changed, 14 insertions(+), 2 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.251 llvm/autoconf/configure.ac:1.252
--- llvm/autoconf/configure.ac:1.251Thu Nov 16 17:17:26 2006
+++ llvm/autoconf/configure.ac  Thu Nov 16 21:32:33 2006
@@ -268,6 +268,15 @@
   AC_SUBST(DISABLE_ASSERTIONS,[[DISABLE_ASSERTIONS=1]])
 fi
 
+dnl --enable-debug-runtime : should runtime libraries have debug symbols?
+AC_ARG_ENABLE(debug-runtime,
+   AS_HELP_STRING([--enable-debug-runtime,Build runtime libs with debug 
symbols (default is NO)]),,enableval=no)
+if test ${enableval} = "no" ; then
+  AC_SUBST(DEBUG_RUNTIME,[[]])
+else
+  AC_SUBST(DEBUG_RUNTIME,[[DEBUG_RUNTIME=1]])
+fi
+
 dnl --enable-jit: check whether they want to enable the jit
 AC_ARG_ENABLE(jit,
   AS_HELP_STRING(--enable-jit,
@@ -811,6 +820,7 @@
 AC_CONFIG_MAKEFILE(Makefile.common)
 AC_CONFIG_MAKEFILE(examples/Makefile)
 AC_CONFIG_MAKEFILE(lib/Makefile)
+AC_CONFIG_MAKEFILE(runtime/Makefile)
 AC_CONFIG_MAKEFILE(test/Makefile)
 AC_CONFIG_MAKEFILE(test/Makefile.tests)
 AC_CONFIG_MAKEFILE(tools/Makefile)
@@ -823,6 +833,8 @@
 dnl Warn loudly if llvm-gcc was not obviously working
 if test "$llvm_cv_llvmgcc_sanity" = "no" ; then
  AC_MSG_WARN([* llvm-gcc/llvm-g++ was not found, or does not appear to be 
])
- AC_MSG_WARN([* working. Please make sure you have llvm-gcc and llvm-g++ ])
- AC_MSG_WARN([* in your path before configuring LLVM.])
+ AC_MSG_WARN([* working. Please make sure you have llvm-gcc and llvm-g++ 
in])
+ AC_MSG_WARN([* your path before configuring LLVM. The runtime libraries])
+ AC_MSG_WARN([* (llvm/runtime) will not be built but you should be able 
to])
+ AC_MSG_WARN([* build the llvm tools.])
 fi



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-16 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.250 -> 1.251
---
Log message:

In LLVM 2.0 we won't use the runtime libraries as llvm-gcc3 support will
be dropped. This patch pertains to removing the runtime directory from LLVM.


---
Diffs of the changes:  (+2 -14)

 configure.ac |   16 ++--
 1 files changed, 2 insertions(+), 14 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.250 llvm/autoconf/configure.ac:1.251
--- llvm/autoconf/configure.ac:1.250Mon Nov  6 23:31:00 2006
+++ llvm/autoconf/configure.ac  Thu Nov 16 17:17:26 2006
@@ -268,15 +268,6 @@
   AC_SUBST(DISABLE_ASSERTIONS,[[DISABLE_ASSERTIONS=1]])
 fi
 
-dnl --enable-debug-runtime : should runtime libraries have debug symbols?
-AC_ARG_ENABLE(debug-runtime,
-   AS_HELP_STRING([--enable-debug-runtime,Build runtime libs with debug 
symbols (default is NO)]),,enableval=no)
-if test ${enableval} = "no" ; then
-  AC_SUBST(DEBUG_RUNTIME,[[]])
-else
-  AC_SUBST(DEBUG_RUNTIME,[[DEBUG_RUNTIME=1]])
-fi
-
 dnl --enable-jit: check whether they want to enable the jit
 AC_ARG_ENABLE(jit,
   AS_HELP_STRING(--enable-jit,
@@ -820,7 +811,6 @@
 AC_CONFIG_MAKEFILE(Makefile.common)
 AC_CONFIG_MAKEFILE(examples/Makefile)
 AC_CONFIG_MAKEFILE(lib/Makefile)
-AC_CONFIG_MAKEFILE(runtime/Makefile)
 AC_CONFIG_MAKEFILE(test/Makefile)
 AC_CONFIG_MAKEFILE(test/Makefile.tests)
 AC_CONFIG_MAKEFILE(tools/Makefile)
@@ -833,8 +823,6 @@
 dnl Warn loudly if llvm-gcc was not obviously working
 if test "$llvm_cv_llvmgcc_sanity" = "no" ; then
  AC_MSG_WARN([* llvm-gcc/llvm-g++ was not found, or does not appear to be 
])
- AC_MSG_WARN([* working. Please make sure you have llvm-gcc and llvm-g++ 
in])
- AC_MSG_WARN([* your path before configuring LLVM. The runtime libraries])
- AC_MSG_WARN([* (llvm/runtime) will not be built but you should be able 
to])
- AC_MSG_WARN([* build the llvm tools.])
+ AC_MSG_WARN([* working. Please make sure you have llvm-gcc and llvm-g++ ])
+ AC_MSG_WARN([* in your path before configuring LLVM.])
 fi



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-06 Thread Tanya Lattner


Changes in directory llvm/autoconf:

configure.ac updated: 1.249 -> 1.250
---
Log message:

Bumping version number


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.249 llvm/autoconf/configure.ac:1.250
--- llvm/autoconf/configure.ac:1.249Sun Nov  5 11:08:18 2006
+++ llvm/autoconf/configure.ac  Mon Nov  6 23:31:00 2006
@@ -31,7 +31,7 @@
 
dnl===---===
 dnl Initialize autoconf and define the package name, version number and
 dnl email address for reporting bugs.
-AC_INIT([[llvm]],[[1.9cvs]],[EMAIL PROTECTED])
+AC_INIT([[llvm]],[[2.0cvs]],[EMAIL PROTECTED])
 
 dnl Provide a copyright substitution and ensure the copyright notice is 
included
 dnl in the output of --version option of the generated configure script.



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-05 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.248 -> 1.249
---
Log message:

Add a -disable-cbe-printf-a option so that the output of the C Backend
stands a chance of being compiled with a non C99 C compiler. The default
is enabled so you must specifically disable this feature if you want the
CBE output compiled with an older C compiler.


---
Diffs of the changes:  (+17 -1)

 configure.ac |   18 +-
 1 files changed, 17 insertions(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.248 llvm/autoconf/configure.ac:1.249
--- llvm/autoconf/configure.ac:1.248Fri Nov  3 12:04:08 2006
+++ llvm/autoconf/configure.ac  Sun Nov  5 11:08:18 2006
@@ -313,10 +313,11 @@
 AC_ARG_ENABLE(threads,
   AS_HELP_STRING([--enable-threads],
  [Use threads if available (default is YES)]),,
- enableval=yes)
+ enableval=default)
 case "$enableval" in
   yes) AC_SUBST(ENABLE_THREADS,[1]) ;;
   no)  AC_SUBST(ENABLE_THREADS,[0]) ;;
+  default) AC_SUBST(ENABLE_THREADS,[1]) ;;
   *) AC_MSG_ERROR([Invalid setting for --enable-threads. Use "yes" or "no"]) ;;
 esac
 AC_DEFINE_UNQUOTED([ENABLE_THREADS],$ENABLE_THREADS,[Define if threads 
enabled])
@@ -355,6 +356,21 @@
 TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD"
 AC_SUBST(TARGETS_TO_BUILD,$TARGETS_TO_BUILD)
 
+dnl Prevent the CBackend from using printf("%a") for floating point so older
+dnl C compilers that cannot deal with the 0x0p+0 hex floating point format
+dnl can still compile the CBE's output
+AC_ARG_ENABLE([cbe-printf-a],AS_HELP_STRING([--enable-cbe-printf-a],
+  [Enable C Backend output with hex floating point via %a  (default is YES)]),,
+  enableval=default)
+case "$enableval" in
+  yes) AC_SUBST(ENABLE_CBE_PRINTF_A,[1]) ;;
+  no)  AC_SUBST(ENABLE_CBE_PRINTF_A,[0]) ;;
+  default)  AC_SUBST(ENABLE_CBE_PRINTF_A,[1]) ;;
+  *) AC_MSG_ERROR([Invalid setting for --enable-cbe-printf-a. Use "yes" or 
"no"]) ;;
+esac
+AC_DEFINE_UNQUOTED([ENABLE_CBE_PRINTF_A],$ENABLE_CBE_PRINTF_A,
+   [Define if CBE is enabled for printf %a output])
+
 dnl Allow a specific llvm-gcc/llvm-g++ pair to be used with this LLVM config.
 AC_ARG_WITH(llvmgccdir,
   AS_HELP_STRING([--with-llvmgccdir],



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-03 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.247 -> 1.248
---
Log message:

Add a check to see if HUGE_VAL is sane or not.


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

 configure.ac |1 +
 1 files changed, 1 insertion(+)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.247 llvm/autoconf/configure.ac:1.248
--- llvm/autoconf/configure.ac:1.247Mon Oct  2 12:23:42 2006
+++ llvm/autoconf/configure.ac  Fri Nov  3 12:04:08 2006
@@ -630,6 +630,7 @@
 dnl===
 
dnl===---===
 
+AC_HUGE_VAL_CHECK
 AC_TYPE_PID_T
 AC_TYPE_SIZE_T
 AC_TYPE_SIGNAL



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-10-02 Thread Chris Lattner


Changes in directory llvm/autoconf:

configure.ac updated: 1.246 -> 1.247
---
Log message:

Fix misleading warning message


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.246 llvm/autoconf/configure.ac:1.247
--- llvm/autoconf/configure.ac:1.246Thu Sep 14 01:17:21 2006
+++ llvm/autoconf/configure.ac  Mon Oct  2 12:23:42 2006
@@ -816,7 +816,7 @@
 dnl Warn loudly if llvm-gcc was not obviously working
 if test "$llvm_cv_llvmgcc_sanity" = "no" ; then
  AC_MSG_WARN([* llvm-gcc/llvm-g++ was not found, or does not appear to be 
])
- AC_MSG_WARN([* working. Please make sure you have llvmgcc and llvmg++ in])
+ AC_MSG_WARN([* working. Please make sure you have llvm-gcc and llvm-g++ 
in])
  AC_MSG_WARN([* your path before configuring LLVM. The runtime libraries])
  AC_MSG_WARN([* (llvm/runtime) will not be built but you should be able 
to])
  AC_MSG_WARN([* build the llvm tools.])



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-09-13 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.245 -> 1.246
---
Log message:

Add a HAVE_MACH_MACH_H #define to detect the presence of the mach/mach.h
header file on Darwin. 


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.245 llvm/autoconf/configure.ac:1.246
--- llvm/autoconf/configure.ac:1.245Tue Aug 22 17:21:38 2006
+++ llvm/autoconf/configure.ac  Thu Sep 14 01:17:21 2006
@@ -619,7 +619,7 @@
 AC_CHECK_HEADERS([dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h])
 AC_CHECK_HEADERS([malloc.h setjmp.h signal.h stdint.h unistd.h utime.h])
 AC_CHECK_HEADERS([windows.h sys/mman.h sys/param.h sys/resource.h sys/time.h])
-AC_CHECK_HEADERS([sys/types.h malloc/malloc.h])
+AC_CHECK_HEADERS([sys/types.h malloc/malloc.h mach/mach.h])
 if test "$ENABLE_THREADS" -eq 1 ; then
   AC_CHECK_HEADERS(pthread.h)
 fi



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-08-22 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.244 -> 1.245
---
Log message:

Add irix as a (potential) new platform so that Timothy Baldridge can 
(hopefully) provide support for it.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.244 llvm/autoconf/configure.ac:1.245
--- llvm/autoconf/configure.ac:1.244Tue Aug 15 19:45:38 2006
+++ llvm/autoconf/configure.ac  Tue Aug 22 17:21:38 2006
@@ -106,6 +106,11 @@
 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
 llvm_cv_os_type="AIX" 
 llvm_cv_platform_type="Unix" ;;
+  *-*-irix*) 
+llvm_cv_link_all_option="-Wl,--whole-archive"
+llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
+llvm_cv_os_type="IRIX" 
+llvm_cv_platform_type="Unix" ;;
   *-*-cygwin*) 
 llvm_cv_link_all_option="-Wl,--whole-archive"
 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-08-15 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.243 -> 1.244
---
Log message:

Add llvm.spec to the list of files to be configured.
Remove the search for etags. Nothing in LLVM uses it any more.


---
Diffs of the changes:  (+3 -1)

 configure.ac |4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.243 llvm/autoconf/configure.ac:1.244
--- llvm/autoconf/configure.ac:1.243Fri Aug  4 13:18:08 2006
+++ llvm/autoconf/configure.ac  Tue Aug 15 19:45:38 2006
@@ -464,7 +464,6 @@
 dnl something if the tool was available. 
 AC_PATH_PROG(BZIP2,[bzip2],[echo "Skipped: bzip2 not found"])
 AC_PATH_PROG(DOXYGEN,[doxygen],[echo "Skipped: doxygen not found"])
-AC_PATH_PROG(ETAGS,[etags],[echo "Skipped: etags not found"])
 AC_PATH_PROG(GROFF,[groff],[echo "Skipped: groff not found"])
 AC_PATH_PROG(GZIP,[gzip],[echo "Skipped: gzip not found"])
 AC_PATH_PROG(POD2HTML,[pod2html],[echo "Skipped: pod2html not found"])
@@ -784,6 +783,9 @@
 dnl Configure the makefile's configuration data
 AC_CONFIG_FILES([Makefile.config])
 
+dnl Configure the RPM spec file for LLVM
+AC_CONFIG_FILES([llvm.spec])
+
 dnl Configure doxygen's configuration file
 AC_CONFIG_FILES([docs/doxygen.cfg])
 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-07-28 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.241 -> 1.242
---
Log message:

Fix the --with-extra-options to use the correct variable.


---
Diffs of the changes:  (+3 -3)

 configure.ac |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.241 llvm/autoconf/configure.ac:1.242
--- llvm/autoconf/configure.ac:1.241Fri Jul 28 00:05:00 2006
+++ llvm/autoconf/configure.ac  Fri Jul 28 17:50:07 2006
@@ -337,10 +337,10 @@
 AC_ARG_WITH(extra-options,
   AS_HELP_STRING([--with-extra-options],
  [Specify addtional options to compile LLVM with]),,
- extraopts=default)
-case "$extraopts" in
+ withval=default)
+case "$withval" in
   default) EXTRA_OPTIONS= ;;
-  *) EXTRA_OPTIONS=$extraopts ;;
+  *) EXTRA_OPTIONS=$withval ;;
 esac
 AC_SUBST(EXTRA_OPTIONS,$EXTRA_OPTIONS)
 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-07-27 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.240 -> 1.241
---
Log message:

For PR848: http://llvm.org/PR848 :
1. Get the path to the pwd binary (/bin/pwd usually) from configure.
2. Use that path to run pwd in all path variables set in Makefile.config.in
The hope is that these changes will resolve symlinks to physical paths. This 
should work on all platforms where the binary pwd defaults to printing 
physical paths. The shell version of pwd generally doesn't (it will print
the symlink path).


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

 configure.ac |1 +
 1 files changed, 1 insertion(+)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.240 llvm/autoconf/configure.ac:1.241
--- llvm/autoconf/configure.ac:1.240Thu Jul 27 18:00:30 2006
+++ llvm/autoconf/configure.ac  Fri Jul 28 00:05:00 2006
@@ -374,6 +374,7 @@
 AC_PATH_PROG(RM,   [rm],   [rm])
 AC_PATH_PROG(SED,  [sed],  [sed])
 AC_PATH_PROG(TAR,  [tar],  [gtar])
+AC_PATH_PROG(BINPWD,[pwd],  [pwd])
 
 dnl Looking for misc. graph plotting software
 AC_PATH_PROG(GRAPHVIZ, [Graphviz], [echo Graphviz])



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-07-27 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.239 -> 1.240
---
Log message:

Changes to support cross-compiling LLVM. The GenLibDeps.pl script needs to
have a compile-host version of "nm", not build-host. In order to effect this
we must use autoconf to determine the correct "nm" to use and propagate that
through the makefiles, through llvm-config and finally to GenLibDeps.pl as
an optional argument. 
Patch contributed by Anton Korobeynikov. Thanks!


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.239 llvm/autoconf/configure.ac:1.240
--- llvm/autoconf/configure.ac:1.239Wed Jul 26 23:58:33 2006
+++ llvm/autoconf/configure.ac  Thu Jul 27 18:00:30 2006
@@ -357,6 +357,9 @@
 AC_PROG_FLEX
 AC_PROG_BISON
 
+AC_PROG_NM
+AC_SUBST(NM)
+
 dnl Check for the tools that the makefiles require
 AC_CHECK_GNU_MAKE
 AC_PROG_LN_S



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-07-26 Thread Chris Lattner


Changes in directory llvm/autoconf:

configure.ac updated: 1.238 -> 1.239
---
Log message:

Bump version #


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.238 llvm/autoconf/configure.ac:1.239
--- llvm/autoconf/configure.ac:1.238Wed Jul 26 16:14:56 2006
+++ llvm/autoconf/configure.ac  Wed Jul 26 23:58:33 2006
@@ -31,7 +31,7 @@
 
dnl===---===
 dnl Initialize autoconf and define the package name, version number and
 dnl email address for reporting bugs.
-AC_INIT([[llvm]],[[1.8cvs]],[EMAIL PROTECTED])
+AC_INIT([[llvm]],[[1.9cvs]],[EMAIL PROTECTED])
 
 dnl Provide a copyright substitution and ensure the copyright notice is 
included
 dnl in the output of --version option of the generated configure script.



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-07-26 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.237 -> 1.238
---
Log message:

For PR814: http://llvm.org/PR814 :
Provide support for making cross-compiling builds. See the PR for details.
Patch provided by Anton Korobeynikov. Thanks, Anton!


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

 configure.ac |   12 ++--
 1 files changed, 10 insertions(+), 2 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.237 llvm/autoconf/configure.ac:1.238
--- llvm/autoconf/configure.ac:1.237Thu Jul  6 02:45:49 2006
+++ llvm/autoconf/configure.ac  Wed Jul 26 16:14:56 2006
@@ -98,9 +98,9 @@
 
 dnl Determine the platform type and cache its value. This helps us configure
 dnl the System library to the correct build platform.
-AC_CACHE_CHECK([type of operating system we're on],
+AC_CACHE_CHECK([type of operating system we're going to host on],
[llvm_cv_os_type],
-[case $build in
+[case $host in
   *-*-aix*) 
 llvm_cv_os_type="AIX" 
 llvm_cv_platform_type="Unix" ;;
@@ -188,6 +188,14 @@
 dnl Check for the endianness of the target
 AC_C_BIGENDIAN(AC_SUBST([ENDIAN],[big]),AC_SUBST([ENDIAN],[little]))
 
+dnl Check for build platform executable suffix if we're crosscompiling
+if test "$cross_compiling" = yes; then
+  AC_SUBST(LLVM_CROSS_COMPILING, [1])  
+  AC_BUILD_EXEEXT
+else
+  AC_SUBST(LLVM_CROSS_COMPILING, [0])
+fi
+
 dnl Check to see if there's a "CVS" directory indicating that this build is
 dnl being done from a CVS checkout. This sets up several defaults for the
 dnl command line switches. When we build with a CVS directory, we get a 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-07-06 Thread Evan Cheng


Changes in directory llvm/autoconf:

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

Fixed a typo.

---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.236 llvm/autoconf/configure.ac:1.237
--- llvm/autoconf/configure.ac:1.236Tue Jun 20 17:16:32 2006
+++ llvm/autoconf/configure.ac  Thu Jul  6 02:45:49 2006
@@ -282,7 +282,7 @@
 
 dnl Allow specific targets to be specified for building (or not)
 TARGETS_TO_BUILD=""
-AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-target],
+AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],
 [Build specific host targets: all,host-only,{target-name} (default=all)]),,
 enableval=all)
 case "$enableval" in



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-06-20 Thread Evan Cheng


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.235Tue 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===



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-06-20 Thread John Criswell


Changes in directory llvm/autoconf:

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

Added the privbracket project to the list of projects to auto-configure.



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

 configure.ac |1 +
 1 files changed, 1 insertion(+)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.234 llvm/autoconf/configure.ac:1.235
--- llvm/autoconf/configure.ac:1.234Mon Jun  5 11:11:07 2006
+++ llvm/autoconf/configure.ac  Tue Jun 20 12:44:40 2006
@@ -69,6 +69,7 @@
   "CVS") ;;
   "sample")   AC_CONFIG_SUBDIRS([projects/sample]);;
   "Stacker")  AC_CONFIG_SUBDIRS([projects/Stacker])   ;;
+  "privbracket")  AC_CONFIG_SUBDIRS([projects/privbracket]) ;;
   "llvm-test")AC_CONFIG_SUBDIRS([projects/llvm-test]) ;;
   "llvm-reopt")   AC_CONFIG_SUBDIRS([projects/llvm-reopt]);;
   "llvm-gcc") AC_CONFIG_SUBDIRS([projects/llvm-gcc])  ;;



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-06-05 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.233 -> 1.234
---
Log message:

For PR633: http://llvm.cs.uiuc.edu/PR633 :
Add configure checks for setjmp/longjmp for Chris. I can't believe this easy
PR has been outstanding for so long. If I don't get to something, please
remind me! :)


---
Diffs of the changes:  (+4 -3)

 configure.ac |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.233 llvm/autoconf/configure.ac:1.234
--- llvm/autoconf/configure.ac:1.233Mon Jun  5 10:54:38 2006
+++ llvm/autoconf/configure.ac  Mon Jun  5 11:11:07 2006
@@ -562,9 +562,9 @@
 AC_HEADER_TIME
 
 AC_CHECK_HEADERS([dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h])
-AC_CHECK_HEADERS([malloc.h signal.h stdint.h unistd.h utime.h windows.h])
-AC_CHECK_HEADERS([sys/mman.h sys/param.h sys/resource.h sys/time.h 
sys/types.h])
-AC_CHECK_HEADERS([malloc/malloc.h])
+AC_CHECK_HEADERS([malloc.h setjmp.h signal.h stdint.h unistd.h utime.h])
+AC_CHECK_HEADERS([windows.h sys/mman.h sys/param.h sys/resource.h sys/time.h])
+AC_CHECK_HEADERS([sys/types.h malloc/malloc.h])
 if test "$ENABLE_THREADS" -eq 1 ; then
   AC_CHECK_HEADERS(pthread.h)
 fi
@@ -594,6 +594,7 @@
 AC_CHECK_FUNCS([getpagesize getrusage gettimeofday isatty mkdtemp mkstemp ])
 AC_CHECK_FUNCS([mktemp realpath sbrk setrlimit strdup strerror strerror_r ])
 AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zone_statistics ])
+AC_CHECK_FUNCS([_setjmp _longjmp setjmp longjmp sigsetjmp siglongjmp])
 AC_C_PRINTF_A
 AC_FUNC_ALLOCA
 AC_FUNC_RAND48



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-06-05 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.232 -> 1.233
---
Log message:

Some enhancements for gv/graphviz/dot/dotty support and better handling of
paths under MingW.


---
Diffs of the changes:  (+26 -5)

 configure.ac |   31 ++-
 1 files changed, 26 insertions(+), 5 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.232 llvm/autoconf/configure.ac:1.233
--- llvm/autoconf/configure.ac:1.232Fri Jun  2 18:13:18 2006
+++ llvm/autoconf/configure.ac  Mon Jun  5 10:54:38 2006
@@ -357,19 +357,41 @@
 AC_PATH_PROG(GRAPHVIZ, [Graphviz], [echo Graphviz])
 if test "$GRAPHVIZ" != "echo Graphviz" ; then
   AC_DEFINE([HAVE_GRAPHVIZ],[1],[Define if the Graphviz program is available])
-  AC_DEFINE_UNQUOTED([LLVM_PATH_GRAPHVIZ],"$GRAPHVIZ",
+  dnl If we're targeting for mingw we should emit windows paths, not msys
+  if test "$llvm_cv_os_type" == "MingW" ; then
+GRAPHVIZ=`echo $GRAPHVIZ | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
+  fi
+  AC_DEFINE_UNQUOTED([LLVM_PATH_GRAPHVIZ],"$GRAPHVIZ${EXEEXT}",
[Define to path to Graphviz program if found or 'echo Graphviz' otherwise])
 fi
-AC_PATH_PROG(GV, [gv], [echo gv])
+AC_PATH_PROG(DOT, [dot], [echo dot])
+if test "$DOT" != "echo dot" ; then
+  AC_DEFINE([HAVE_DOT],[1],[Define if the dot program is available])
+  dnl If we're targeting for mingw we should emit windows paths, not msys
+  if test "$llvm_cv_os_type" == "MingW" ; then
+DOT=`echo $DOT | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
+  fi
+  AC_DEFINE_UNQUOTED([LLVM_PATH_DOT],"$DOT${EXEEXT}",
+   [Define to path to dot program if found or 'echo dot' otherwise])
+fi
+AC_PATH_PROGS(GV, [gv gsview32], [echo gv])
 if test "$GV" != "echo gv" ; then
   AC_DEFINE([HAVE_GV],[1],[Define if the gv program is available])
-  AC_DEFINE_UNQUOTED([LLVM_PATH_GV],"$GV",
+  dnl If we're targeting for mingw we should emit windows paths, not msys
+  if test "$llvm_cv_os_type" == "MingW" ; then
+GV=`echo $GV | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
+  fi
+  AC_DEFINE_UNQUOTED([LLVM_PATH_GV],"$GV${EXEEXT}",
[Define to path to gv program if found or 'echo gv' otherwise])
 fi
 AC_PATH_PROG(DOTTY, [dotty], [echo dotty])
 if test "$DOTTY" != "echo dotty" ; then
   AC_DEFINE([HAVE_DOTTY],[1],[Define if the dotty program is available])
-  AC_DEFINE_UNQUOTED([LLVM_PATH_DOTTY],"$DOTTY",
+  dnl If we're targeting for mingw we should emit windows paths, not msys
+  if test "$llvm_cv_os_type" == "MingW" ; then
+DOTTY=`echo $DOTTY | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
+  fi
+  AC_DEFINE_UNQUOTED([LLVM_PATH_DOTTY],"$DOTTY${EXEEXT}",
[Define to path to dotty program if found or 'echo dotty' otherwise])
 fi
 
@@ -390,7 +412,6 @@
 dnl nothing. This just lets the build output show that we could have done 
 dnl something if the tool was available. 
 AC_PATH_PROG(BZIP2,[bzip2],[echo "Skipped: bzip2 not found"])
-AC_PATH_PROG(DOT,[dot],[echo "Skipped: dot not found"])
 AC_PATH_PROG(DOXYGEN,[doxygen],[echo "Skipped: doxygen not found"])
 AC_PATH_PROG(ETAGS,[etags],[echo "Skipped: etags not found"])
 AC_PATH_PROG(GROFF,[groff],[echo "Skipped: groff not found"])



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-06-02 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.231 -> 1.232
---
Log message:

For PR798: http://llvm.cs.uiuc.edu/PR798 :
Have configure find the "dotty" program and adjust configuration.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.231 llvm/autoconf/configure.ac:1.232
--- llvm/autoconf/configure.ac:1.231Thu Jun  1 14:03:21 2006
+++ llvm/autoconf/configure.ac  Fri Jun  2 18:13:18 2006
@@ -352,6 +352,8 @@
 AC_PATH_PROG(RM,   [rm],   [rm])
 AC_PATH_PROG(SED,  [sed],  [sed])
 AC_PATH_PROG(TAR,  [tar],  [gtar])
+
+dnl Looking for misc. graph plotting software
 AC_PATH_PROG(GRAPHVIZ, [Graphviz], [echo Graphviz])
 if test "$GRAPHVIZ" != "echo Graphviz" ; then
   AC_DEFINE([HAVE_GRAPHVIZ],[1],[Define if the Graphviz program is available])
@@ -364,6 +366,12 @@
   AC_DEFINE_UNQUOTED([LLVM_PATH_GV],"$GV",
[Define to path to gv program if found or 'echo gv' otherwise])
 fi
+AC_PATH_PROG(DOTTY, [dotty], [echo dotty])
+if test "$DOTTY" != "echo dotty" ; then
+  AC_DEFINE([HAVE_DOTTY],[1],[Define if the dotty program is available])
+  AC_DEFINE_UNQUOTED([LLVM_PATH_DOTTY],"$DOTTY",
+   [Define to path to dotty program if found or 'echo dotty' otherwise])
+fi
 
 dnl Look for a sufficiently recent version of Perl.
 LLVM_PROG_PERL([5.006])



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-06-01 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.230 -> 1.231
---
Log message:

Provide configuration support and usage for MINGW32 platform


---
Diffs of the changes:  (+2 -4)

 configure.ac |6 ++
 1 files changed, 2 insertions(+), 4 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.230 llvm/autoconf/configure.ac:1.231
--- llvm/autoconf/configure.ac:1.230Thu Jun  1 12:44:29 2006
+++ llvm/autoconf/configure.ac  Thu Jun  1 14:03:21 2006
@@ -487,10 +487,8 @@
 AC_CHECK_LIB(elf, elf_begin)
 AC_CHECK_LIB(m,sin)
 if test "$llvm_cv_os_type" == "MingW" ; then
-  AC_CHECK_HEADERS([windows.h])
-  AC_CHECK_HEADERS([imagehlp.h psapi.h])
-  AC_CHECK_LIB(imagehlp,[SymGetOptions])
-  AC_CHECK_LIB(psapi,[GetProcessMemoryInfo])
+  AC_CHECK_LIB(imagehlp, main)
+  AC_CHECK_LIB(psapi, main)
 fi
 
 dnl lt_dlopen may be required for plugin support.



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-06-01 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.229 -> 1.230
---
Log message:

Make sure windows.h is #included first.


---
Diffs of the changes:  (+2 -1)

 configure.ac |3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.229 llvm/autoconf/configure.ac:1.230
--- llvm/autoconf/configure.ac:1.229Thu Jun  1 12:16:20 2006
+++ llvm/autoconf/configure.ac  Thu Jun  1 12:44:29 2006
@@ -487,7 +487,8 @@
 AC_CHECK_LIB(elf, elf_begin)
 AC_CHECK_LIB(m,sin)
 if test "$llvm_cv_os_type" == "MingW" ; then
-  AC_CHECK_HEADERS([windows.h imagehlp.h psapi.h])
+  AC_CHECK_HEADERS([windows.h])
+  AC_CHECK_HEADERS([imagehlp.h psapi.h])
   AC_CHECK_LIB(imagehlp,[SymGetOptions])
   AC_CHECK_LIB(psapi,[GetProcessMemoryInfo])
 fi



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-06-01 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.228 -> 1.229
---
Log message:

Make sure that when checking for MINGW32 libraries we ask for windows.h


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.228 llvm/autoconf/configure.ac:1.229
--- llvm/autoconf/configure.ac:1.228Thu Jun  1 11:55:59 2006
+++ llvm/autoconf/configure.ac  Thu Jun  1 12:16:20 2006
@@ -487,7 +487,7 @@
 AC_CHECK_LIB(elf, elf_begin)
 AC_CHECK_LIB(m,sin)
 if test "$llvm_cv_os_type" == "MingW" ; then
-  AC_CHECK_HEADERS([imagehlp.h psapi.h])
+  AC_CHECK_HEADERS([windows.h imagehlp.h psapi.h])
   AC_CHECK_LIB(imagehlp,[SymGetOptions])
   AC_CHECK_LIB(psapi,[GetProcessMemoryInfo])
 fi



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-06-01 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.227 -> 1.228
---
Log message:

Provide support for detecting if the Win32 imaghlp and psapi libraries
are available. These libraries are used in lib/System and should be 
included on the link line or if not available generate an error when
building lib/System.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.227 llvm/autoconf/configure.ac:1.228
--- llvm/autoconf/configure.ac:1.227Sun May 21 05:40:20 2006
+++ llvm/autoconf/configure.ac  Thu Jun  1 11:55:59 2006
@@ -486,6 +486,11 @@
 dnl libelf is for sparc only; we can ignore it if we don't have it
 AC_CHECK_LIB(elf, elf_begin)
 AC_CHECK_LIB(m,sin)
+if test "$llvm_cv_os_type" == "MingW" ; then
+  AC_CHECK_HEADERS([imagehlp.h psapi.h])
+  AC_CHECK_LIB(imagehlp,[SymGetOptions])
+  AC_CHECK_LIB(psapi,[GetProcessMemoryInfo])
+fi
 
 dnl lt_dlopen may be required for plugin support.
 AC_SEARCH_LIBS(lt_dlopen,ltdl,AC_DEFINE([HAVE_LT_DLOPEN],[1],



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-05-21 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.226 -> 1.227
---
Log message:

For PR784: http://llvm.cs.uiuc.edu/PR784 :
Support Win32 platforms for llvm-gcc path. Patch by Anton Korobeynikov


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.226 llvm/autoconf/configure.ac:1.227
--- llvm/autoconf/configure.ac:1.226Tue May 16 03:53:32 2006
+++ llvm/autoconf/configure.ac  Sun May 21 05:40:20 2006
@@ -320,7 +320,7 @@
 withval=default)
 case "$withval" in
   default) WITH_LLVMGCCDIR=default ;;
-  /*)  WITH_LLVMGCCDIR=$withval ;;
+  /* | [[A-Za-z]]:[[\\/]]*)  WITH_LLVMGCCDIR=$withval ;;
   *) AC_MSG_ERROR([Invalid path for --with-llvmgccdir. Provide full path]) ;;
 esac
 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-05-16 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.225 -> 1.226
---
Log message:

Make sure to default ${prefix} to /usr/local if the user didn't specify it.
This assists with getting around configure's late binding values so that
our LLVM variables don't end up with a "NONE" prefix.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.225 llvm/autoconf/configure.ac:1.226
--- llvm/autoconf/configure.ac:1.225Sun May 14 17:18:28 2006
+++ llvm/autoconf/configure.ac  Tue May 16 03:53:32 2006
@@ -632,6 +632,9 @@
 # Translate the various configuration directories and other basic
 # information into substitutions that will end up in Makefile.config.in 
 # that these configured values can be used by the makefiles
+if test "${prefix}" == "NONE" ; then
+  prefix="/usr/local"
+fi
 eval LLVM_PREFIX="${prefix}";
 eval LLVM_BINDIR="${prefix}/bin";
 eval LLVM_LIBDIR="${prefix}/lib";



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-05-14 Thread Rafael Espindola


Changes in directory llvm/autoconf:

configure.ac updated: 1.224 -> 1.225
---
Log message:

added a skeleton of the ARM backend


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.224 llvm/autoconf/configure.ac:1.225
--- llvm/autoconf/configure.ac:1.224Mon May  8 19:31:01 2006
+++ llvm/autoconf/configure.ac  Sun May 14 17:18:28 2006
@@ -285,7 +285,7 @@
 [Build specific host targets: all,host-only,{target-name} (default=all)]),,
 enableval=all)
 case "$enableval" in
-  all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64" ;;
+  all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM" ;;
   host-only)
 case "$llvm_cv_target_arch" in
   x86) TARGETS_TO_BUILD="X86" ;;



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-05-08 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.223 -> 1.224
---
Log message:

Use the -dumpversion option to llvm-gcc which gives us just the version # 
and is unlikely to change in future releases. This also simplifies the 
parsing of the full and major llvm-gcc version numbers in the script.


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.223 llvm/autoconf/configure.ac:1.224
--- llvm/autoconf/configure.ac:1.223Thu Apr 27 02:49:24 2006
+++ llvm/autoconf/configure.ac  Mon May  8 19:31:01 2006
@@ -619,7 +619,7 @@
   AC_SUBST(LLVMCC1PLUS,$llvmcc1pluspath)
   llvmgccdir=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
   AC_SUBST(LLVMGCCDIR,$llvmgccdir)
-  llvmgccversion=[`"$LLVMGCC" -v 2>&1 | grep '^gcc version' | sed 's/^gcc 
version \([0-9.]*\).*/\1/'`]
+  llvmgccversion=[`"$LLVMGCC" -dumpversion 2>&1 | sed 's/^\([0-9.]*\).*/\1/'`]
   llvmgccmajvers=[`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`]
   AC_SUBST(LLVMGCC_VERSION,$llvmgccversion)
   AC_SUBST(LLVMGCC_MAJVERS,$llvmgccmajvers)



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-04-27 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.222 -> 1.223
---
Log message:

For PR747: http://llvm.cs.uiuc.edu/PR747 :
If we fail to find a required program, simply set that program to echo
out something that tells the user the situation. That is, instead of just
"true runtest" we now get "echo 'Skipped: runtest not found'".


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.222 llvm/autoconf/configure.ac:1.223
--- llvm/autoconf/configure.ac:1.222Thu Apr 20 17:15:30 2006
+++ llvm/autoconf/configure.ac  Thu Apr 27 02:49:24 2006
@@ -381,17 +381,17 @@
 dnl are not found then they are set to "true" which always succeeds but does
 dnl nothing. This just lets the build output show that we could have done 
 dnl something if the tool was available. 
-AC_PATH_PROG(BZIP2,[bzip2],[true bzip2])
-AC_PATH_PROG(DOT,[dot],[true dot])
-AC_PATH_PROG(DOXYGEN,[doxygen],[true doxygen])
-AC_PATH_PROG(ETAGS,[etags],[true etags])
-AC_PATH_PROG(GROFF,[groff],[true groff])
-AC_PATH_PROG(GZIP,[gzip],[true gzip])
-AC_PATH_PROG(POD2HTML,[pod2html],[true pod2html])
-AC_PATH_PROG(POD2MAN,[pod2man],[true pod2man])
-AC_PATH_PROG(RUNTEST,[runtest],[true runtest])
+AC_PATH_PROG(BZIP2,[bzip2],[echo "Skipped: bzip2 not found"])
+AC_PATH_PROG(DOT,[dot],[echo "Skipped: dot not found"])
+AC_PATH_PROG(DOXYGEN,[doxygen],[echo "Skipped: doxygen not found"])
+AC_PATH_PROG(ETAGS,[etags],[echo "Skipped: etags not found"])
+AC_PATH_PROG(GROFF,[groff],[echo "Skipped: groff not found"])
+AC_PATH_PROG(GZIP,[gzip],[echo "Skipped: gzip not found"])
+AC_PATH_PROG(POD2HTML,[pod2html],[echo "Skipped: pod2html not found"])
+AC_PATH_PROG(POD2MAN,[pod2man],[echo "Skipped: pod2man not found"])
+AC_PATH_PROG(RUNTEST,[runtest],[echo "Skipped: runtest not found"])
 DJ_AC_PATH_TCLSH
-AC_PATH_PROG(ZIP,[zip],[true zip])
+AC_PATH_PROG(ZIP,[zip],[echo "Skipped: zip not found"])
 
 dnl Determine if the linker supports the -R option.
 AC_LINK_USE_R



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-04-20 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.221 -> 1.222
---
Log message:

Configure llvm-config in tools, not utils.


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.221 llvm/autoconf/configure.ac:1.222
--- llvm/autoconf/configure.ac:1.221Thu Apr 20 12:01:07 2006
+++ llvm/autoconf/configure.ac  Thu Apr 20 17:15:30 2006
@@ -700,7 +700,7 @@
 AC_CONFIG_FILES([docs/doxygen.cfg])
 
 dnl Do the first stage of configuration for llvm-config.in.
-AC_CONFIG_FILES([utils/llvm-config/llvm-config.in])
+AC_CONFIG_FILES([tools/llvm-config/llvm-config.in])
 
 dnl Do special configuration of Makefiles
 AC_CONFIG_COMMANDS([setup],,[llvm_src="${srcdir}"])



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-04-20 Thread Chris Lattner


Changes in directory llvm/autoconf:

configure.ac updated: 1.220 -> 1.221
---
Log message:

Never build SparcV9


---
Diffs of the changes:  (+3 -3)

 configure.ac |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.220 llvm/autoconf/configure.ac:1.221
--- llvm/autoconf/configure.ac:1.220Wed Apr 19 18:47:16 2006
+++ llvm/autoconf/configure.ac  Thu Apr 20 12:01:07 2006
@@ -285,12 +285,12 @@
 [Build specific host targets: all,host-only,{target-name} (default=all)]),,
 enableval=all)
 case "$enableval" in
-  all) TARGETS_TO_BUILD="X86 Sparc SparcV9 PowerPC Alpha IA64" ;;
+  all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64" ;;
   host-only)
 case "$llvm_cv_target_arch" in
   x86) TARGETS_TO_BUILD="X86" ;;
   x86_64)  TARGETS_TO_BUILD="X86" ;;
-  Sparc)   TARGETS_TO_BUILD="Sparc SparcV9" ;;
+  Sparc)   TARGETS_TO_BUILD="Sparc" ;;
   PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
   Alpha)   TARGETS_TO_BUILD="Alpha" ;;
   IA64)TARGETS_TO_BUILD="IA64" ;;
@@ -301,7 +301,7 @@
   case "$a_target" in
 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
 x86_64)  TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
-sparc)   TARGETS_TO_BUILD="Sparc SparcV9 $TARGETS_TO_BUILD" ;;
+sparc)   TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
 alpha)   TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
 ia64)TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-04-19 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.219 -> 1.220
---
Log message:

Allow OpenBSD to be recognized as a UNIX platform.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.219 llvm/autoconf/configure.ac:1.220
--- llvm/autoconf/configure.ac:1.219Thu Apr 13 22:01:27 2006
+++ llvm/autoconf/configure.ac  Wed Apr 19 18:47:16 2006
@@ -112,6 +112,9 @@
   *-*-freebsd*) 
 llvm_cv_os_type="FreeBSD" 
 llvm_cv_platform_type="Unix" ;;
+  *-*-openbsd*) 
+llvm_cv_os_type="OpenBSD" 
+llvm_cv_platform_type="Unix" ;;
   *-*-hpux*) 
 llvm_cv_os_type="HP-UX" 
 llvm_cv_platform_type="Unix" ;;



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-04-13 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.218 -> 1.219
---
Log message:

Ahem. HEAD -> 1.8cvs not 1.7 (I'm an idiot).


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.218 llvm/autoconf/configure.ac:1.219
--- llvm/autoconf/configure.ac:1.218Thu Apr 13 21:55:43 2006
+++ llvm/autoconf/configure.ac  Thu Apr 13 22:01:27 2006
@@ -31,7 +31,7 @@
 
dnl===---===
 dnl Initialize autoconf and define the package name, version number and
 dnl email address for reporting bugs.
-AC_INIT([[llvm]],[[1.7]],[EMAIL PROTECTED])
+AC_INIT([[llvm]],[[1.8cvs]],[EMAIL PROTECTED])
 
 dnl Provide a copyright substitution and ensure the copyright notice is 
included
 dnl in the output of --version option of the generated configure script.



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-04-13 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.217 -> 1.218
---
Log message:

remove the "cvs" part of the version number for the release branch.


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.217 llvm/autoconf/configure.ac:1.218
--- llvm/autoconf/configure.ac:1.217Sun Apr  9 15:42:14 2006
+++ llvm/autoconf/configure.ac  Thu Apr 13 21:55:43 2006
@@ -31,7 +31,7 @@
 
dnl===---===
 dnl Initialize autoconf and define the package name, version number and
 dnl email address for reporting bugs.
-AC_INIT([[llvm]],[[1.7cvs]],[EMAIL PROTECTED])
+AC_INIT([[llvm]],[[1.7]],[EMAIL PROTECTED])
 
 dnl Provide a copyright substitution and ensure the copyright notice is 
included
 dnl in the output of --version option of the generated configure script.



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-04-09 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.216 -> 1.217
---
Log message:

Change the assertions defaults:
1. Assertions now default to on for all builds
2. If you want them disabled you must (a) --disable-assertions to configure
   or DISABLE_ASSERTIONS=1 to make.


---
Diffs of the changes:  (+4 -6)

 configure.ac |   10 --
 1 files changed, 4 insertions(+), 6 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.216 llvm/autoconf/configure.ac:1.217
--- llvm/autoconf/configure.ac:1.216Fri Apr  7 20:41:26 2006
+++ llvm/autoconf/configure.ac  Sun Apr  9 15:42:14 2006
@@ -193,12 +193,10 @@
 if test -d "CVS" -o -d "${srcdir}/CVS"; then
   cvsbuild="yes"
   optimize="no"
-  asserts="yes"
   AC_SUBST(CVSBUILD,[[CVSBUILD=1]])
 else
   cvsbuild="no"
   optimize="yes"
-  asserts="no"
 fi
 
 
dnl===---===
@@ -218,11 +216,11 @@
 
 dnl --enable-assertions : check whether they want to turn on assertions or not:
 AC_ARG_ENABLE(assertions,AS_HELP_STRING(
-  [--enable-assertions,Compile with assertion checks enabled (default is 
NO)]),, enableval=$asserts)
-if test ${enableval} = "no" ; then
-  AC_SUBST(ENABLE_ASSERTIONS,[[]])
+  [--enable-assertions,Compile with assertion checks enabled (default is 
YES)]),, enableval="yes")
+if test ${enableval} = "yes" ; then
+  AC_SUBST(DISABLE_ASSERTIONS,[[]])
 else
-  AC_SUBST(ENABLE_ASSERTIONS,[[ENABLE_ASSERTIONS=1]])
+  AC_SUBST(DISABLE_ASSERTIONS,[[DISABLE_ASSERTIONS=1]])
 fi
 
 dnl --enable-debug-runtime : should runtime libraries have debug symbols?



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-04-07 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.215 -> 1.216
---
Log message:

Ensure that the automatic "CVS build" detection works for both 
objdir == srcdir and objdir != srcdir.


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.215 llvm/autoconf/configure.ac:1.216
--- llvm/autoconf/configure.ac:1.215Fri Apr  7 11:01:51 2006
+++ llvm/autoconf/configure.ac  Fri Apr  7 20:41:26 2006
@@ -190,7 +190,7 @@
 dnl debug with assertions turned on. Without, we assume a source release and we
 dnl get an optimized build without assertions. See --enable-optimized and
 dnl --enable-assertions below
-if test -d "CVS" ; then
+if test -d "CVS" -o -d "${srcdir}/CVS"; then
   cvsbuild="yes"
   optimize="no"
   asserts="yes"



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-04-07 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.214 -> 1.215
---
Log message:

For PR723: http://llvm.cs.uiuc.edu/PR723 :
Support detection of a "CVS" directory at configure time to distinguish
whether this is a release build or a "from tree" build. This knowledge is
used to set the defaults for --enable-optimzied and --enable-assertions 
options.


---
Diffs of the changes:  (+28 -2)

 configure.ac |   30 --
 1 files changed, 28 insertions(+), 2 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.214 llvm/autoconf/configure.ac:1.215
--- llvm/autoconf/configure.ac:1.214Thu Apr  6 17:00:36 2006
+++ llvm/autoconf/configure.ac  Fri Apr  7 11:01:51 2006
@@ -184,6 +184,23 @@
 dnl Check for the endianness of the target
 AC_C_BIGENDIAN(AC_SUBST([ENDIAN],[big]),AC_SUBST([ENDIAN],[little]))
 
+dnl Check to see if there's a "CVS" directory indicating that this build is
+dnl being done from a CVS checkout. This sets up several defaults for the
+dnl command line switches. When we build with a CVS directory, we get a 
+dnl debug with assertions turned on. Without, we assume a source release and we
+dnl get an optimized build without assertions. See --enable-optimized and
+dnl --enable-assertions below
+if test -d "CVS" ; then
+  cvsbuild="yes"
+  optimize="no"
+  asserts="yes"
+  AC_SUBST(CVSBUILD,[[CVSBUILD=1]])
+else
+  cvsbuild="no"
+  optimize="yes"
+  asserts="no"
+fi
+
 
dnl===---===
 dnl===
 dnl=== SECTION 3: Command line arguments for the configure script.
@@ -191,14 +208,23 @@
 
dnl===---===
 
 dnl --enable-optimized : check whether they want to do an optimized build:
-AC_ARG_ENABLE(optimized,
-  AS_HELP_STRING([--enable-optimized,Compile with optimizations 
enabled (default is NO)]),,enableval=no)
+AC_ARG_ENABLE(optimized, AS_HELP_STRING(
+ [--enable-optimized,Compile with optimizations enabled (default is 
NO)]),,enableval=$optimize)
 if test ${enableval} = "no" ; then
   AC_SUBST(ENABLE_OPTIMIZED,[[]])
 else
   AC_SUBST(ENABLE_OPTIMIZED,[[ENABLE_OPTIMIZED=1]])
 fi
 
+dnl --enable-assertions : check whether they want to turn on assertions or not:
+AC_ARG_ENABLE(assertions,AS_HELP_STRING(
+  [--enable-assertions,Compile with assertion checks enabled (default is 
NO)]),, enableval=$asserts)
+if test ${enableval} = "no" ; then
+  AC_SUBST(ENABLE_ASSERTIONS,[[]])
+else
+  AC_SUBST(ENABLE_ASSERTIONS,[[ENABLE_ASSERTIONS=1]])
+fi
+
 dnl --enable-debug-runtime : should runtime libraries have debug symbols?
 AC_ARG_ENABLE(debug-runtime,
AS_HELP_STRING([--enable-debug-runtime,Build runtime libs with debug 
symbols (default is NO)]),,enableval=no)



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-04-06 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.213 -> 1.214
---
Log message:

For support of new GCC v4, obtain the full and major versions of the 
llvm-gcc command. This will help distinguish which version is being used
so the makefiles can accommodate.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.213 llvm/autoconf/configure.ac:1.214
--- llvm/autoconf/configure.ac:1.213Thu Mar 23 17:21:29 2006
+++ llvm/autoconf/configure.ac  Thu Apr  6 17:00:36 2006
@@ -592,6 +592,10 @@
   AC_SUBST(LLVMCC1PLUS,$llvmcc1pluspath)
   llvmgccdir=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
   AC_SUBST(LLVMGCCDIR,$llvmgccdir)
+  llvmgccversion=[`"$LLVMGCC" -v 2>&1 | grep '^gcc version' | sed 's/^gcc 
version \([0-9.]*\).*/\1/'`]
+  llvmgccmajvers=[`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`]
+  AC_SUBST(LLVMGCC_VERSION,$llvmgccversion)
+  AC_SUBST(LLVMGCC_MAJVERS,$llvmgccmajvers)
 fi
 
 dnl Propagate the shared library extension that the libltdl checks did to 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-03-23 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.212 -> 1.213
---
Log message:

Update to llvm-config tool, by Erik Kidd:

1. Check for Perl and only build llvm-config if its available.
2. Add some virtual components
3. Don't depend on "standard" location for Perl, but configured location
4. Document the tool with a POD file.

This version is now ready for testing by users.


---
Diffs of the changes:  (+16 -7)

 configure.ac |   23 ---
 1 files changed, 16 insertions(+), 7 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.212 llvm/autoconf/configure.ac:1.213
--- llvm/autoconf/configure.ac:1.212Wed Mar 22 09:59:55 2006
+++ llvm/autoconf/configure.ac  Thu Mar 23 17:21:29 2006
@@ -218,13 +218,13 @@
   AC_SUBST(JIT,[[]])
 else
   case "$llvm_cv_target_arch" in
-x86) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
-Sparc)   AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
-PowerPC) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
-x86_64)  AC_SUBST(JIT,[[]]) ;;
-Alpha)   AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
-IA64)AC_SUBST(JIT,[[]]) ;;
-*)   AC_SUBST(JIT,[[]]) ;;
+x86) AC_SUBST(TARGET_HAS_JIT,1) ;;
+Sparc)   AC_SUBST(TARGET_HAS_JIT,1) ;;
+PowerPC) AC_SUBST(TARGET_HAS_JIT,1) ;;
+x86_64)  AC_SUBST(TARGET_HAS_JIT,0) ;;
+Alpha)   AC_SUBST(TARGET_HAS_JIT,1) ;;
+IA64)AC_SUBST(TARGET_HAS_JIT,0) ;;
+*)   AC_SUBST(TARGET_HAS_JIT,0) ;;
   esac
 fi
 
@@ -338,6 +338,15 @@
[Define to path to gv program if found or 'echo gv' otherwise])
 fi
 
+dnl Look for a sufficiently recent version of Perl.
+LLVM_PROG_PERL([5.006])
+AC_SUBST(PERL)
+if test x"$PERL" = xnone; then
+   AC_SUBST(HAVE_PERL,0)
+else
+   AC_SUBST(HAVE_PERL,1)
+fi
+
 dnl Find the install program
 AC_PROG_INSTALL
 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-03-22 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.211 -> 1.212
---
Log message:

These changes are necessary to support the new llvm-config tool. llvm-config
is a handy tool for users of LLVM who want to be able to quickly get 
information about LLVM's configuration. It is intended to be used in the
command line of other tools. Documentation will be forthcoming in a 
subsequent patch.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.211 llvm/autoconf/configure.ac:1.212
--- llvm/autoconf/configure.ac:1.211Sun Feb 26 23:39:00 2006
+++ llvm/autoconf/configure.ac  Wed Mar 22 09:59:55 2006
@@ -659,6 +659,9 @@
 dnl Configure doxygen's configuration file
 AC_CONFIG_FILES([docs/doxygen.cfg])
 
+dnl Do the first stage of configuration for llvm-config.in.
+AC_CONFIG_FILES([utils/llvm-config/llvm-config.in])
+
 dnl Do special configuration of Makefiles
 AC_CONFIG_COMMANDS([setup],,[llvm_src="${srcdir}"])
 AC_CONFIG_MAKEFILE(Makefile)



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-02-26 Thread Chris Lattner


Changes in directory llvm/autoconf:

configure.ac updated: 1.210 -> 1.211
---
Log message:

Use -emit-llvm -S to get .ll file output from llvm-gcc


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.210 llvm/autoconf/configure.ac:1.211
--- llvm/autoconf/configure.ac:1.210Thu Feb 16 15:11:49 2006
+++ llvm/autoconf/configure.ac  Sun Feb 26 23:39:00 2006
@@ -568,7 +568,7 @@
 [llvm_cv_llvmgcc_sanity="no"
 if test -x "$LLVMGCC" ; then
   cp /dev/null conftest.c
-  "$LLVMGCC" -S -o - conftest.c | grep implementation > /dev/null 2>&1
+  "$LLVMGCC" -emit-llvm -S -o - conftest.c | grep implementation > /dev/null 
2>&1
   if test $? -eq 0 ; then
 llvm_cv_llvmgcc_sanity="yes"
   fi



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-02-16 Thread Chris Lattner


Changes in directory llvm/autoconf:

configure.ac updated: 1.209 -> 1.210
---
Log message:

don't build the skeleton target


---
Diffs of the changes:  (+1 -2)

 configure.ac |3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.209 llvm/autoconf/configure.ac:1.210
--- llvm/autoconf/configure.ac:1.209Wed Feb 15 01:57:42 2006
+++ llvm/autoconf/configure.ac  Thu Feb 16 15:11:49 2006
@@ -258,7 +258,7 @@
 [Build specific host targets: all,host-only,{target-name} (default=all)]),,
 enableval=all)
 case "$enableval" in
-  all) TARGETS_TO_BUILD="X86 Sparc SparcV9 PowerPC Alpha IA64 Skeleton" ;;
+  all) TARGETS_TO_BUILD="X86 Sparc SparcV9 PowerPC Alpha IA64" ;;
   host-only)
 case "$llvm_cv_target_arch" in
   x86) TARGETS_TO_BUILD="X86" ;;
@@ -278,7 +278,6 @@
 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
 alpha)   TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
 ia64)TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;
-skeleton)TARGETS_TO_BUILD="Skeleton $TARGETS_TO_BUILD";;
 *) AC_MSG_ERROR([Unrecognized target $a_target]) ;;
   esac
   done 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-02-15 Thread Reid Spencer
On Wed, 2006-02-15 at 18:42 +1100, [EMAIL PROTECTED] wrote:
> > On Tue, 14 Feb 2006, Reid Spencer wrote:
> >> Rather than just kill this checking, I would prefer it if the aCC
> >> compiler was added to the check for supported compilers. This
> >> configuration check (that you've deleted) can prevent really bad things
> >> happening downstream.
> 
> Not trying to be picky, but what kind of really bad things are we talking
> about? The worst thing I can imagine is that a build fails because there's
> some issue between the source/makefiles and the user's toolchain.

configure by default depends on gcc options in order to test the
capabilities of the system being configured. So, what will happen is
that you'll most likely get a misconfiguration of the HPUX system (lots
of missing capabilities) which could make it impossible to get LLVM
working on that platform.  

Its possible to use another compiler for the configuration checks but
not without a lot of setup that we don't have in the configure.ac script
right now.  

> 
> > FWIW, I agree with reid.
> 
> I did ask..! :) For now, I'll just revert it and add aCC-specific stuff
> later 

Okay, but its  going to require that you ensure the aCC compiler can be
used for all the configuration tests. Please test this thoroughly before
committing it again. In particular you need to make sure that the
include/llvm/Config/config.h.in file is generated correctly for your
HPUX system.

> (the get-rid-of-hash-tables patch is still to come) 

do you mean the configure test for them? or, are you planning to rid
LLVM of hashtables altogether? If the latter, I suggest we talk a bit
about this because hashtables are the right choice in a few places.

> but the
> intention was that with a little bit of work LLVM could be made and kept
> standard-compliant and so "any good compiler" should work, in theory.

Theory is one thing, practice is another.  While its *possible* to
configure for a non-GCC compliant compiler, its not easy.  You need to
understand how autoconf works to do that.

> Should we insist on known-good compilers,

yes.

> abort on known-bad compilers,

yes, but lets just say "non-known-good-compilers"

> spit out scary warning messages, 

warnings should only be done if there's a hope of the configuration and
compilation being done correctly. If not, the correct thing to do is
stop with a hard error. Its better the user understand the problem early
rather than later.

> or something else again?

I'm open to ideas.

> Anyway, for now I'll just revert this. Sorry guys! :)

Thanks. 

Reid


signature.asc
Description: This is a digitally signed message part
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-02-14 Thread Duraid Madina


Changes in directory llvm/autoconf:

configure.ac updated: 1.208 -> 1.209
---
Log message:

reverting previous change, will add support for other compilers later




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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.208 llvm/autoconf/configure.ac:1.209
--- llvm/autoconf/configure.ac:1.208Tue Feb 14 21:15:55 2006
+++ llvm/autoconf/configure.ac  Wed Feb 15 01:57:42 2006
@@ -412,6 +412,17 @@
 ;;
 esac
 
+if test "$GCC" != "yes" && test "$ICC" != "yes"
+then
+  AC_MSG_ERROR([gcc|icc required but not found])
+fi
+
+dnl Ensure that compilation tools are GCC; we use GCC specific extensions
+if test "$GXX" != "yes" && test "$IXX" != "yes"
+then
+  AC_MSG_ERROR([g++|icc required but not found])
+fi
+
 dnl Verify that GCC is version 3.0 or higher
 if test "$GCC" = "yes"
 then



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-02-14 Thread duraid
> On Tue, 14 Feb 2006, Reid Spencer wrote:
>> Rather than just kill this checking, I would prefer it if the aCC
>> compiler was added to the check for supported compilers. This
>> configuration check (that you've deleted) can prevent really bad things
>> happening downstream.

Not trying to be picky, but what kind of really bad things are we talking
about? The worst thing I can imagine is that a build fails because there's
some issue between the source/makefiles and the user's toolchain.

> FWIW, I agree with reid.

I did ask..! :) For now, I'll just revert it and add aCC-specific stuff
later (the get-rid-of-hash-tables patch is still to come) but the
intention was that with a little bit of work LLVM could be made and kept
standard-compliant and so "any good compiler" should work, in theory.
Should we insist on known-good compilers, abort on known-bad compilers,
spit out scary warning messages, or something else again?

Anyway, for now I'll just revert this. Sorry guys! :)

   Duraid


> -Chris
>
>> On Tue, 2006-02-14 at 21:16 -0600, Duraid Madina wrote:
>>>
>>> Changes in directory llvm/autoconf:
>>>
>>> configure.ac updated: 1.207 -> 1.208
>>> ---
>>> Log message:
>>>
>>> previously, configure would die if GCC or ICC was not found. Now it'll
>>> go through, but we do want to know if we're using GCC/ICC since they
>>> share certain funky command line options (for dependency generation
>>> stuff)
>>>
>>>
>>>
>>> ---
>>> Diffs of the changes:  (+0 -11)
>>>
>>>  configure.ac |   11 ---
>>>  1 files changed, 11 deletions(-)
>>>
>>>
>>> Index: llvm/autoconf/configure.ac
>>> diff -u llvm/autoconf/configure.ac:1.207
>>> llvm/autoconf/configure.ac:1.208
>>> --- llvm/autoconf/configure.ac:1.207Sat Feb  4 23:56:51 2006
>>> +++ llvm/autoconf/configure.ac  Tue Feb 14 21:15:55 2006
>>> @@ -412,17 +412,6 @@
>>>  ;;
>>>  esac
>>>
>>> -if test "$GCC" != "yes" && test "$ICC" != "yes"
>>> -then
>>> -  AC_MSG_ERROR([gcc|icc required but not found])
>>> -fi
>>> -
>>> -dnl Ensure that compilation tools are GCC; we use GCC specific
>>> extensions
>>> -if test "$GXX" != "yes" && test "$IXX" != "yes"
>>> -then
>>> -  AC_MSG_ERROR([g++|icc required but not found])
>>> -fi
>>> -
>>>  dnl Verify that GCC is version 3.0 or higher
>>>  if test "$GCC" = "yes"
>>>  then
>>>
>>>
>>>
>>> ___
>>> llvm-commits mailing list
>>> llvm-commits@cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>
> -Chris
>
> --
> http://nondot.org/sabre/
> http://llvm.org/
>


___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-02-14 Thread Reid Spencer
Rather than just kill this checking, I would prefer it if the aCC
compiler was added to the check for supported compilers. This
configuration check (that you've deleted) can prevent really bad things
happening downstream.

REid.

On Tue, 2006-02-14 at 21:16 -0600, Duraid Madina wrote:
> 
> Changes in directory llvm/autoconf:
> 
> configure.ac updated: 1.207 -> 1.208
> ---
> Log message:
> 
> previously, configure would die if GCC or ICC was not found. Now it'll
> go through, but we do want to know if we're using GCC/ICC since they
> share certain funky command line options (for dependency generation
> stuff)
> 
> 
> 
> ---
> Diffs of the changes:  (+0 -11)
> 
>  configure.ac |   11 ---
>  1 files changed, 11 deletions(-)
> 
> 
> Index: llvm/autoconf/configure.ac
> diff -u llvm/autoconf/configure.ac:1.207 llvm/autoconf/configure.ac:1.208
> --- llvm/autoconf/configure.ac:1.207  Sat Feb  4 23:56:51 2006
> +++ llvm/autoconf/configure.acTue Feb 14 21:15:55 2006
> @@ -412,17 +412,6 @@
>  ;;
>  esac
>  
> -if test "$GCC" != "yes" && test "$ICC" != "yes"
> -then
> -  AC_MSG_ERROR([gcc|icc required but not found])
> -fi
> -
> -dnl Ensure that compilation tools are GCC; we use GCC specific extensions
> -if test "$GXX" != "yes" && test "$IXX" != "yes"
> -then
> -  AC_MSG_ERROR([g++|icc required but not found])
> -fi
> -
>  dnl Verify that GCC is version 3.0 or higher
>  if test "$GCC" = "yes"
>  then
> 
> 
> 
> ___
> llvm-commits mailing list
> llvm-commits@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


signature.asc
Description: This is a digitally signed message part
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-02-14 Thread Chris Lattner

On Tue, 14 Feb 2006, Reid Spencer wrote:

Rather than just kill this checking, I would prefer it if the aCC
compiler was added to the check for supported compilers. This
configuration check (that you've deleted) can prevent really bad things
happening downstream.


FWIW, I agree with reid.

-Chris


On Tue, 2006-02-14 at 21:16 -0600, Duraid Madina wrote:


Changes in directory llvm/autoconf:

configure.ac updated: 1.207 -> 1.208
---
Log message:

previously, configure would die if GCC or ICC was not found. Now it'll
go through, but we do want to know if we're using GCC/ICC since they
share certain funky command line options (for dependency generation
stuff)



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

 configure.ac |   11 ---
 1 files changed, 11 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.207 llvm/autoconf/configure.ac:1.208
--- llvm/autoconf/configure.ac:1.207Sat Feb  4 23:56:51 2006
+++ llvm/autoconf/configure.ac  Tue Feb 14 21:15:55 2006
@@ -412,17 +412,6 @@
 ;;
 esac

-if test "$GCC" != "yes" && test "$ICC" != "yes"
-then
-  AC_MSG_ERROR([gcc|icc required but not found])
-fi
-
-dnl Ensure that compilation tools are GCC; we use GCC specific extensions
-if test "$GXX" != "yes" && test "$IXX" != "yes"
-then
-  AC_MSG_ERROR([g++|icc required but not found])
-fi
-
 dnl Verify that GCC is version 3.0 or higher
 if test "$GCC" = "yes"
 then



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




-Chris

--
http://nondot.org/sabre/
http://llvm.org/

___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-02-14 Thread Duraid Madina


Changes in directory llvm/autoconf:

configure.ac updated: 1.207 -> 1.208
---
Log message:

previously, configure would die if GCC or ICC was not found. Now it'll
go through, but we do want to know if we're using GCC/ICC since they
share certain funky command line options (for dependency generation
stuff)



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

 configure.ac |   11 ---
 1 files changed, 11 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.207 llvm/autoconf/configure.ac:1.208
--- llvm/autoconf/configure.ac:1.207Sat Feb  4 23:56:51 2006
+++ llvm/autoconf/configure.ac  Tue Feb 14 21:15:55 2006
@@ -412,17 +412,6 @@
 ;;
 esac
 
-if test "$GCC" != "yes" && test "$ICC" != "yes"
-then
-  AC_MSG_ERROR([gcc|icc required but not found])
-fi
-
-dnl Ensure that compilation tools are GCC; we use GCC specific extensions
-if test "$GXX" != "yes" && test "$IXX" != "yes"
-then
-  AC_MSG_ERROR([g++|icc required but not found])
-fi
-
 dnl Verify that GCC is version 3.0 or higher
 if test "$GCC" = "yes"
 then



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-02-04 Thread Chris Lattner


Changes in directory llvm/autoconf:

configure.ac updated: 1.206 -> 1.207
---
Log message:

SparcV8 -> Sparc


---
Diffs of the changes:  (+3 -3)

 configure.ac |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.206 llvm/autoconf/configure.ac:1.207
--- llvm/autoconf/configure.ac:1.206Mon Jan 23 00:47:56 2006
+++ llvm/autoconf/configure.ac  Sat Feb  4 23:56:51 2006
@@ -258,12 +258,12 @@
 [Build specific host targets: all,host-only,{target-name} (default=all)]),,
 enableval=all)
 case "$enableval" in
-  all) TARGETS_TO_BUILD="X86 SparcV8 SparcV9 PowerPC Alpha IA64 Skeleton" ;;
+  all) TARGETS_TO_BUILD="X86 Sparc SparcV9 PowerPC Alpha IA64 Skeleton" ;;
   host-only)
 case "$llvm_cv_target_arch" in
   x86) TARGETS_TO_BUILD="X86" ;;
   x86_64)  TARGETS_TO_BUILD="X86" ;;
-  Sparc)   TARGETS_TO_BUILD="SparcV8 SparcV9" ;;
+  Sparc)   TARGETS_TO_BUILD="Sparc SparcV9" ;;
   PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
   Alpha)   TARGETS_TO_BUILD="Alpha" ;;
   IA64)TARGETS_TO_BUILD="IA64" ;;
@@ -274,7 +274,7 @@
   case "$a_target" in
 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
 x86_64)  TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
-sparc)   TARGETS_TO_BUILD="SparcV8 SparcV9 $TARGETS_TO_BUILD" ;;
+sparc)   TARGETS_TO_BUILD="Sparc SparcV9 $TARGETS_TO_BUILD" ;;
 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
 alpha)   TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
 ia64)TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-01-22 Thread Duraid Madina


Changes in directory llvm/autoconf:

configure.ac updated: 1.205 -> 1.206
---
Log message:


don't need this any more; the "#define hashes to trees" hack is coming



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

 configure.ac |1 -
 1 files changed, 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.205 llvm/autoconf/configure.ac:1.206
--- llvm/autoconf/configure.ac:1.205Mon Jan 23 00:24:09 2006
+++ llvm/autoconf/configure.ac  Mon Jan 23 00:47:56 2006
@@ -497,7 +497,6 @@
 AC_CHECK_HEADERS([malloc.h signal.h stdint.h unistd.h utime.h windows.h])
 AC_CHECK_HEADERS([sys/mman.h sys/param.h sys/resource.h sys/time.h 
sys/types.h])
 AC_CHECK_HEADERS([malloc/malloc.h])
-AC_CHECK_HEADERS([rw/stdex/hash_map.h rw/stdex/hash_set.h])
 if test "$ENABLE_THREADS" -eq 1 ; then
   AC_CHECK_HEADERS(pthread.h)
 fi



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-01-22 Thread Chris Lattner


Changes in directory llvm/autoconf:

configure.ac updated: 1.204 -> 1.205
---
Log message:

add checks for new functions.  I'd appreciate it if someone could regen
the configure script :)


---
Diffs of the changes:  (+3 -3)

 configure.ac |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.204 llvm/autoconf/configure.ac:1.205
--- llvm/autoconf/configure.ac:1.204Thu Jan 19 02:31:08 2006
+++ llvm/autoconf/configure.ac  Mon Jan 23 00:24:09 2006
@@ -523,9 +523,9 @@
 dnl===
 
dnl===---===
 
-AC_CHECK_FUNCS([backtrace ceil ceilf floor floorf getcwd getpagesize 
getrusage])
-AC_CHECK_FUNCS([gettimeofday isatty mkdtemp mkstemp mktemp ])
-AC_CHECK_FUNCS([realpath sbrk setrlimit strdup strerror strerror_r ])
+AC_CHECK_FUNCS([backtrace ceilf floorf roundf rintf nearbyintf getcwd ])
+AC_CHECK_FUNCS([getpagesize getrusage gettimeofday isatty mkdtemp mkstemp ])
+AC_CHECK_FUNCS([mktemp realpath sbrk setrlimit strdup strerror strerror_r ])
 AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zone_statistics ])
 AC_C_PRINTF_A
 AC_FUNC_ALLOCA



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-01-19 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.203 -> 1.204
---
Log message:

Make sure that libm is used during config tests so that ceil, floor, and
friends are actually detected.


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.203 llvm/autoconf/configure.ac:1.204
--- llvm/autoconf/configure.ac:1.203Thu Jan 19 02:22:40 2006
+++ llvm/autoconf/configure.ac  Thu Jan 19 02:31:08 2006
@@ -450,7 +450,7 @@
 
 dnl libelf is for sparc only; we can ignore it if we don't have it
 AC_CHECK_LIB(elf, elf_begin)
-
+AC_CHECK_LIB(m,sin)
 
 dnl lt_dlopen may be required for plugin support.
 AC_SEARCH_LIBS(lt_dlopen,ltdl,AC_DEFINE([HAVE_LT_DLOPEN],[1],



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-01-19 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.202 -> 1.203
---
Log message:

For PR696: http://llvm.cs.uiuc.edu/PR696 :
Add checks for ceil, ceilf, floor, and floorf


---
Diffs of the changes:  (+2 -2)

 configure.ac |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.202 llvm/autoconf/configure.ac:1.203
--- llvm/autoconf/configure.ac:1.202Tue Dec 20 21:31:53 2005
+++ llvm/autoconf/configure.ac  Thu Jan 19 02:22:40 2006
@@ -523,8 +523,8 @@
 dnl===
 
dnl===---===
 
-AC_CHECK_FUNCS([backtrace getcwd getpagesize getrusage gettimeofday ])
-AC_CHECK_FUNCS([isatty mkdtemp mkstemp mktemp ])
+AC_CHECK_FUNCS([backtrace ceil ceilf floor floorf getcwd getpagesize 
getrusage])
+AC_CHECK_FUNCS([gettimeofday isatty mkdtemp mkstemp mktemp ])
 AC_CHECK_FUNCS([realpath sbrk setrlimit strdup strerror strerror_r ])
 AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zone_statistics ])
 AC_C_PRINTF_A



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2005-12-20 Thread Reid Spencer


Changes in directory llvm/autoconf:

configure.ac updated: 1.201 -> 1.202
---
Log message:

Implement fix for PR471: http://llvm.cs.uiuc.edu/PR471 :
* Add --enable-debug-runtime option, defaults to disabled
* Pass the new config var, DEBUG_RUNTIME, to Makefiles
* Don't use -Wa,-strip-debug if debug-runtime is enabled


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.201 llvm/autoconf/configure.ac:1.202
--- llvm/autoconf/configure.ac:1.201Mon Dec 19 14:27:24 2005
+++ llvm/autoconf/configure.ac  Tue Dec 20 21:31:53 2005
@@ -199,6 +199,15 @@
   AC_SUBST(ENABLE_OPTIMIZED,[[ENABLE_OPTIMIZED=1]])
 fi
 
+dnl --enable-debug-runtime : should runtime libraries have debug symbols?
+AC_ARG_ENABLE(debug-runtime,
+   AS_HELP_STRING([--enable-debug-runtime,Build runtime libs with debug 
symbols (default is NO)]),,enableval=no)
+if test ${enableval} = "no" ; then
+  AC_SUBST(DEBUG_RUNTIME,[[]])
+else
+  AC_SUBST(DEBUG_RUNTIME,[[DEBUG_RUNTIME=1]])
+fi
+
 dnl --enable-jit: check whether they want to enable the jit
 AC_ARG_ENABLE(jit,
   AS_HELP_STRING(--enable-jit,



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2005-12-19 Thread John Criswell


Changes in directory llvm/autoconf:

configure.ac updated: 1.200 -> 1.201
---
Log message:

Added the llvm-kernel project to the list of automatically configured
projects.



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

 configure.ac |1 +
 1 files changed, 1 insertion(+)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.200 llvm/autoconf/configure.ac:1.201
--- llvm/autoconf/configure.ac:1.200Mon Nov 14 01:24:01 2005
+++ llvm/autoconf/configure.ac  Mon Dec 19 14:27:24 2005
@@ -75,6 +75,7 @@
   "llvm-java")AC_CONFIG_SUBDIRS([projects/llvm-java]) ;;
   "llvm-tv")  AC_CONFIG_SUBDIRS([projects/llvm-tv])   ;;
   "llvm-poolalloc") AC_CONFIG_SUBDIRS([projects/llvm-poolalloc]) ;;
+  "llvm-kernel")  AC_CONFIG_SUBDIRS([projects/llvm-kernel]) ;;
   *)  
 AC_MSG_WARN([Unknown project (${i}) won't be configured automatically])
 ;;



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2005-11-13 Thread Chris Lattner


Changes in directory llvm/autoconf:

configure.ac updated: 1.199 -> 1.200
---
Log message:

add malloc_zone_statistics, remove mstats


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.199 llvm/autoconf/configure.ac:1.200
--- llvm/autoconf/configure.ac:1.199Mon Nov 14 00:54:33 2005
+++ llvm/autoconf/configure.ac  Mon Nov 14 01:24:01 2005
@@ -516,7 +516,7 @@
 AC_CHECK_FUNCS([backtrace getcwd getpagesize getrusage gettimeofday ])
 AC_CHECK_FUNCS([isatty mkdtemp mkstemp mktemp ])
 AC_CHECK_FUNCS([realpath sbrk setrlimit strdup strerror strerror_r ])
-AC_CHECK_FUNCS([strtoll strtoq sysconf mstats ])
+AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zone_statistics ])
 AC_C_PRINTF_A
 AC_FUNC_ALLOCA
 AC_FUNC_RAND48



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2005-11-13 Thread Chris Lattner


Changes in directory llvm/autoconf:

configure.ac updated: 1.198 -> 1.199
---
Log message:

add some stuff for mstats on darwin


---
Diffs of the changes:  (+2 -1)

 configure.ac |3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.198 llvm/autoconf/configure.ac:1.199
--- llvm/autoconf/configure.ac:1.198Tue Nov  8 15:13:01 2005
+++ llvm/autoconf/configure.ac  Mon Nov 14 00:54:33 2005
@@ -486,6 +486,7 @@
 AC_CHECK_HEADERS([dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h])
 AC_CHECK_HEADERS([malloc.h signal.h stdint.h unistd.h utime.h windows.h])
 AC_CHECK_HEADERS([sys/mman.h sys/param.h sys/resource.h sys/time.h 
sys/types.h])
+AC_CHECK_HEADERS([malloc/malloc.h])
 AC_CHECK_HEADERS([rw/stdex/hash_map.h rw/stdex/hash_set.h])
 if test "$ENABLE_THREADS" -eq 1 ; then
   AC_CHECK_HEADERS(pthread.h)
@@ -515,7 +516,7 @@
 AC_CHECK_FUNCS([backtrace getcwd getpagesize getrusage gettimeofday ])
 AC_CHECK_FUNCS([isatty mkdtemp mkstemp mktemp ])
 AC_CHECK_FUNCS([realpath sbrk setrlimit strdup strerror strerror_r ])
-AC_CHECK_FUNCS([strtoll strtoq sysconf])
+AC_CHECK_FUNCS([strtoll strtoq sysconf mstats ])
 AC_C_PRINTF_A
 AC_FUNC_ALLOCA
 AC_FUNC_RAND48



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2005-11-08 Thread John Criswell


Changes in directory llvm/autoconf:

configure.ac updated: 1.197 -> 1.198
---
Log message:

Updated version to 1.7cvs.



---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.197 llvm/autoconf/configure.ac:1.198
--- llvm/autoconf/configure.ac:1.197Tue Nov  8 15:11:31 2005
+++ llvm/autoconf/configure.ac  Tue Nov  8 15:13:01 2005
@@ -31,7 +31,7 @@
 
dnl===---===
 dnl Initialize autoconf and define the package name, version number and
 dnl email address for reporting bugs.
-AC_INIT([[llvm]],[[1.6]],[EMAIL PROTECTED])
+AC_INIT([[llvm]],[[1.7cvs]],[EMAIL PROTECTED])
 
 dnl Provide a copyright substitution and ensure the copyright notice is 
included
 dnl in the output of --version option of the generated configure script.



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2005-11-08 Thread John Criswell


Changes in directory llvm/autoconf:

configure.ac updated: 1.196 -> 1.197
---
Log message:

Merged from RELEASE_16.



---
Diffs of the changes:  (+2 -2)

 configure.ac |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.196 llvm/autoconf/configure.ac:1.197
--- llvm/autoconf/configure.ac:1.196Tue Nov  1 14:58:08 2005
+++ llvm/autoconf/configure.ac  Tue Nov  8 15:11:31 2005
@@ -31,12 +31,12 @@
 
dnl===---===
 dnl Initialize autoconf and define the package name, version number and
 dnl email address for reporting bugs.
-AC_INIT([[llvm]],[[1.6cvs]],[EMAIL PROTECTED])
+AC_INIT([[llvm]],[[1.6]],[EMAIL PROTECTED])
 
 dnl Provide a copyright substitution and ensure the copyright notice is 
included
 dnl in the output of --version option of the generated configure script.
 AC_SUBST(LLVM_COPYRIGHT,["Copyright (c) 2003-2005 University of Illinois at 
Urbana-Champaign."])
-AC_COPYRIGHT($LLVM_COPYRIGHT)
+AC_COPYRIGHT([Copyright (c) 2003-2005 University of Illinois at 
Urbana-Champaign.])
 
 dnl Indicate that we require autoconf 2.59 or later. Ths is needed because we
 dnl use some autoconf macros only available in 2.59.



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2005-11-01 Thread Misha Brukman


Changes in directory llvm/autoconf:

configure.ac updated: 1.195 -> 1.196
---
Log message:

Fixed copy-paste typo, patch by Marco Matthies.


---
Diffs of the changes:  (+1 -1)

 configure.ac |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.195 llvm/autoconf/configure.ac:1.196
--- llvm/autoconf/configure.ac:1.195Wed Aug 24 05:43:10 2005
+++ llvm/autoconf/configure.ac  Tue Nov  1 14:58:08 2005
@@ -323,7 +323,7 @@
[Define to path to Graphviz program if found or 'echo Graphviz' otherwise])
 fi
 AC_PATH_PROG(GV, [gv], [echo gv])
-if test "$GRAPHVIZ" != "echo gv" ; then
+if test "$GV" != "echo gv" ; then
   AC_DEFINE([HAVE_GV],[1],[Define if the gv program is available])
   AC_DEFINE_UNQUOTED([LLVM_PATH_GV],"$GV",
[Define to path to gv program if found or 'echo gv' otherwise])



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits