[llvm-commits] CVS: llvm/configure

2005-11-01 Thread Misha Brukman


Changes in directory llvm:

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

Re-generated to fix copy-paste typo noticed by Marco Matthies.


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

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


Index: llvm/configure
diff -u llvm/configure:1.198 llvm/configure:1.199
--- llvm/configure:1.198Wed Aug 24 05:07:21 2005
+++ llvm/configure  Tue Nov  1 15:00:49 2005
@@ -5169,7 +5169,7 @@
 echo "${ECHO_T}no" >&6
 fi
 
-if test "$GRAPHVIZ" != "echo gv" ; then
+if test "$GV" != "echo gv" ; then
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_GV 1



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


[llvm-commits] CVS: llvm/configure

2005-11-08 Thread John Criswell


Changes in directory llvm:

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

Merged from RELEASE_16.


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

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


Index: llvm/configure
diff -u llvm/configure:1.199 llvm/configure:1.200
--- llvm/configure:1.199Tue Nov  1 15:00:49 2005
+++ llvm/configure  Tue Nov  8 15:11:28 2005
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for llvm 1.6cvs.
+# Generated by GNU Autoconf 2.59 for llvm 1.6.
 #
 # Report bugs to <[EMAIL PROTECTED]>.
 #
@@ -8,7 +8,7 @@
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
 #
-# $LLVM_COPYRIGHT
+# Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign.
 ## - ##
 ## M4sh Initialization.  ##
 ## - ##
@@ -425,8 +425,8 @@
 # Identity of this package.
 PACKAGE_NAME='llvm'
 PACKAGE_TARNAME='-llvm-'
-PACKAGE_VERSION='1.6cvs'
-PACKAGE_STRING='llvm 1.6cvs'
+PACKAGE_VERSION='1.6'
+PACKAGE_STRING='llvm 1.6'
 PACKAGE_BUGREPORT='[EMAIL PROTECTED]'
 
 ac_unique_file="lib/VMCore/Module.cpp"
@@ -964,7 +964,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures llvm 1.6cvs to adapt to many kinds of systems.
+\`configure' configures llvm 1.6 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1026,7 +1026,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of llvm 1.6cvs:";;
+ short | recursive ) echo "Configuration of llvm 1.6:";;
esac
   cat <<\_ACEOF
 
@@ -1173,14 +1173,14 @@
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
   cat <<\_ACEOF
-llvm configure 1.6cvs
+llvm configure 1.6
 generated by GNU Autoconf 2.59
 
 Copyright (C) 2003 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.
 
-$LLVM_COPYRIGHT
+Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign.
 _ACEOF
   exit 0
 fi
@@ -1189,7 +1189,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by llvm $as_me 1.6cvs, which was
+It was created by llvm $as_me 1.6, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   $ $0 $@
@@ -31044,7 +31044,7 @@
 } >&5
 cat >&5 <<_CSEOF
 
-This file was extended by llvm $as_me 1.6cvs, which was
+This file was extended by llvm $as_me 1.6, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   CONFIG_FILES= $CONFIG_FILES
@@ -31107,7 +31107,7 @@
 
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-llvm config.status 1.6cvs
+llvm config.status 1.6
 configured by $0, generated by GNU Autoconf 2.59,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/&/g'`\\"
 



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


[llvm-commits] CVS: llvm/configure

2005-11-08 Thread John Criswell


Changes in directory llvm:

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

Updated version to 1.7cvs.


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

 configure |   18 +-
 1 files changed, 9 insertions(+), 9 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.200 llvm/configure:1.201
--- llvm/configure:1.200Tue Nov  8 15:11:28 2005
+++ llvm/configure  Tue Nov  8 15:12:58 2005
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for llvm 1.6.
+# Generated by GNU Autoconf 2.59 for llvm 1.7cvs.
 #
 # Report bugs to <[EMAIL PROTECTED]>.
 #
@@ -425,8 +425,8 @@
 # Identity of this package.
 PACKAGE_NAME='llvm'
 PACKAGE_TARNAME='-llvm-'
-PACKAGE_VERSION='1.6'
-PACKAGE_STRING='llvm 1.6'
+PACKAGE_VERSION='1.7cvs'
+PACKAGE_STRING='llvm 1.7cvs'
 PACKAGE_BUGREPORT='[EMAIL PROTECTED]'
 
 ac_unique_file="lib/VMCore/Module.cpp"
@@ -964,7 +964,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures llvm 1.6 to adapt to many kinds of systems.
+\`configure' configures llvm 1.7cvs to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1026,7 +1026,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of llvm 1.6:";;
+ short | recursive ) echo "Configuration of llvm 1.7cvs:";;
esac
   cat <<\_ACEOF
 
@@ -1173,7 +1173,7 @@
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
   cat <<\_ACEOF
-llvm configure 1.6
+llvm configure 1.7cvs
 generated by GNU Autoconf 2.59
 
 Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1189,7 +1189,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by llvm $as_me 1.6, which was
+It was created by llvm $as_me 1.7cvs, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   $ $0 $@
@@ -31044,7 +31044,7 @@
 } >&5
 cat >&5 <<_CSEOF
 
-This file was extended by llvm $as_me 1.6, which was
+This file was extended by llvm $as_me 1.7cvs, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   CONFIG_FILES= $CONFIG_FILES
@@ -31107,7 +31107,7 @@
 
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-llvm config.status 1.6
+llvm config.status 1.7cvs
 configured by $0, generated by GNU Autoconf 2.59,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/&/g'`\\"
 



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


[llvm-commits] CVS: llvm/configure

2005-11-13 Thread Chris Lattner


Changes in directory llvm:

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

regenerate


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

 configure |  153 +-
 1 files changed, 152 insertions(+), 1 deletion(-)


Index: llvm/configure
diff -u llvm/configure:1.201 llvm/configure:1.202
--- llvm/configure:1.201Tue Nov  8 15:12:58 2005
+++ llvm/configure  Mon Nov 14 00:57:11 2005
@@ -26802,6 +26802,156 @@
 done
 
 
+for ac_header in malloc/malloc.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+else
+  # Is the header compilable?
+echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+{ ac_try='test -z "$ac_c_werror_flag"
+|| test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+{ ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+ac_cpp_err=$ac_c_preproc_warn_flag
+ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+  else
+ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+  yes:no: )
+{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ac_header_preproc=yes
+;;
+  no:yes:* )
+{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite 
headers?" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf 
documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But 
Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be 
Compiled\"" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
+{ echo "$as_me:$LINENO: WARNI

[llvm-commits] CVS: llvm/configure

2005-11-13 Thread Chris Lattner


Changes in directory llvm:

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

regenearte



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

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


Index: llvm/configure
diff -u llvm/configure:1.202 llvm/configure:1.203
--- llvm/configure:1.202Mon Nov 14 00:57:11 2005
+++ llvm/configure  Mon Nov 14 01:25:50 2005
@@ -28048,7 +28048,7 @@
 
 
 
-for ac_func in strtoll strtoq sysconf mstats
+for ac_func in strtoll strtoq sysconf malloc_zone_statistics
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for $ac_func" >&5



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


[llvm-commits] CVS: llvm/configure

2005-12-19 Thread John Criswell


Changes in directory llvm:

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

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


---
Diffs of the changes:  (+34 -29)

 configure |   63 +-
 1 files changed, 34 insertions(+), 29 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.203 llvm/configure:1.204
--- llvm/configure:1.203Mon Nov 14 01:25:50 2005
+++ llvm/configure  Mon Dec 19 14:27:22 2005
@@ -438,6 +438,7 @@
 ac_subdirs_all="$ac_subdirs_all projects/llvm-java"
 ac_subdirs_all="$ac_subdirs_all projects/llvm-tv"
 ac_subdirs_all="$ac_subdirs_all projects/llvm-poolalloc"
+ac_subdirs_all="$ac_subdirs_all projects/llvm-kernel"
 # Factoring default headers for most tests.
 ac_includes_default="\
 #include 
@@ -1605,6 +1606,10 @@
 
 subdirs="$subdirs projects/llvm-poolalloc"
  ;;
+  "llvm-kernel")
+
+subdirs="$subdirs projects/llvm-kernel"
+ ;;
   *)
 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be 
configured automatically" >&5
 echo "$as_me: WARNING: Unknown project (${i}) won't be configured 
automatically" >&2;}
@@ -8356,7 +8361,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 10355 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -10832,7 +10837,7 @@
 
 
 # Provide some information about the compiler.
-echo "$as_me:10835:" \
+echo "$as_me:10840:" \
  "checking for Fortran 77 compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`
 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5
@@ -11889,11 +11894,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:11892: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:11897: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:11896: \$? = $ac_status" >&5
+   echo "$as_me:11901: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -12132,11 +12137,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12135: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12140: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:12139: \$? = $ac_status" >&5
+   echo "$as_me:12144: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -12192,11 +12197,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12195: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12200: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:12199: \$? = $ac_status" >&5
+   echo "$as_me:12204: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -14377,7 +14382,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:16676: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:16675: \$? = $ac_status" >&5
+   echo "$as_me:16680: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -16728,11 +16733,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:16731: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:16736: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:16735: \$? = $ac_status" >&5
+   echo "$as_me:16740: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -18089,7 +18094,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19032: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_s

[llvm-commits] CVS: llvm/configure

2006-01-19 Thread Reid Spencer


Changes in directory llvm:

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

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


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

 configure |   73 ++
 1 files changed, 73 insertions(+)


Index: llvm/configure
diff -u llvm/configure:1.206 llvm/configure:1.207
--- llvm/configure:1.206Thu Jan 19 02:22:40 2006
+++ llvm/configure  Thu Jan 19 02:31:08 2006
@@ -24981,6 +24981,79 @@
 fi
 
 
+echo "$as_me:$LINENO: checking for sin in -lm" >&5
+echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
+if test "${ac_cv_lib_m_sin+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char sin ();
+int
+main ()
+{
+sin ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+{ ac_try='test -z "$ac_c_werror_flag"
+|| test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+{ ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_lib_m_sin=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_m_sin=no
+fi
+rm -f conftest.err conftest.$ac_objext \
+  conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
+echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
+if test $ac_cv_lib_m_sin = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBM 1
+_ACEOF
+
+  LIBS="-lm $LIBS"
+
+fi
+
 
 echo "$as_me:$LINENO: checking for library containing lt_dlopen" >&5
 echo $ECHO_N "checking for library containing lt_dlopen... $ECHO_C" >&6



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


[llvm-commits] CVS: llvm/configure

2006-01-19 Thread Reid Spencer


Changes in directory llvm:

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

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


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

 configure |8 ++--
 1 files changed, 6 insertions(+), 2 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.205 llvm/configure:1.206
--- llvm/configure:1.205Tue Dec 20 21:31:52 2005
+++ llvm/configure  Thu Jan 19 02:22:40 2006
@@ -27752,7 +27752,10 @@
 
 
 
-for ac_func in backtrace getcwd getpagesize getrusage gettimeofday
+
+
+
+for ac_func in backtrace ceil ceilf floor floorf getcwd getpagesize getrusage
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for $ac_func" >&5
@@ -27857,7 +27860,8 @@
 
 
 
-for ac_func in isatty mkdtemp mkstemp mktemp
+
+for ac_func in gettimeofday isatty mkdtemp mkstemp mktemp
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for $ac_func" >&5



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


[llvm-commits] CVS: llvm/configure

2006-01-23 Thread Reid Spencer


Changes in directory llvm:

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

Update for including additional function tests.


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

 configure |  160 +-
 1 files changed, 5 insertions(+), 155 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.207 llvm/configure:1.208
--- llvm/configure:1.207Thu Jan 19 02:31:08 2006
+++ llvm/configure  Mon Jan 23 02:15:53 2006
@@ -27045,157 +27045,6 @@
 
 done
 
-
-
-for ac_header in rw/stdex/hash_map.h rw/stdex/hash_set.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
-  echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
-else
-  # Is the header compilable?
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-  (eval $ac_compile) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-{ ac_try='test -z "$ac_c_werror_flag"
-|| test ! -s conftest.err'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-{ ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-ac_header_compiler=no
-fi
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6
-
-# Is the header present?
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-ac_cpp_err=$ac_c_preproc_warn_flag
-ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-rm -f conftest.err conftest.$ac_ext
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-ac_header_preproc=yes
-;;
-  no:yes:* )
-{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite 
headers?" >&2;}
-{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf 
documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But 
Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be 
Compiled\"" >&2;}
-{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with th

[llvm-commits] CVS: llvm/configure

2006-02-04 Thread Chris Lattner


Changes in directory llvm:

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

SparcV8 -> Sparc


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

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


Index: llvm/configure
diff -u llvm/configure:1.208 llvm/configure:1.209
--- llvm/configure:1.208Mon Jan 23 02:15:53 2006
+++ llvm/configure  Sun Feb  5 00:26:43 2006
@@ -3078,12 +3078,12 @@
   enableval=all
 fi;
 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" ;;
@@ -3096,7 +3096,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/configure

2006-02-14 Thread Duraid Madina


Changes in directory llvm:

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

zap



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

 configure |   14 --
 1 files changed, 14 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.209 llvm/configure:1.210
--- llvm/configure:1.209Sun Feb  5 00:26:43 2006
+++ llvm/configure  Tue Feb 14 21:16:52 2006
@@ -24870,20 +24870,6 @@
 ;;
 esac
 
-if test "$GCC" != "yes" && test "$ICC" != "yes"
-then
-  { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
-echo "$as_me: error: gcc|icc required but not found" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
-if test "$GXX" != "yes" && test "$IXX" != "yes"
-then
-  { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
-echo "$as_me: error: g++|icc required but not found" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
 if test "$GCC" = "yes"
 then
   gccmajor=`$CC --version | head -n 1 | sed 's/[^0-9]*\([0-9.]\).*/\1/'`



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


[llvm-commits] CVS: llvm/configure

2006-02-14 Thread Duraid Madina


Changes in directory llvm:

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

reverting previous change, will add support for other compilers later




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

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


Index: llvm/configure
diff -u llvm/configure:1.210 llvm/configure:1.211
--- llvm/configure:1.210Tue Feb 14 21:16:52 2006
+++ llvm/configure  Wed Feb 15 01:56:38 2006
@@ -24870,6 +24870,20 @@
 ;;
 esac
 
+if test "$GCC" != "yes" && test "$ICC" != "yes"
+then
+  { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
+echo "$as_me: error: gcc|icc required but not found" >&2;}
+   { (exit 1); exit 1; }; }
+fi
+
+if test "$GXX" != "yes" && test "$IXX" != "yes"
+then
+  { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
+echo "$as_me: error: g++|icc required but not found" >&2;}
+   { (exit 1); exit 1; }; }
+fi
+
 if test "$GCC" = "yes"
 then
   gccmajor=`$CC --version | head -n 1 | sed 's/[^0-9]*\([0-9.]\).*/\1/'`



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


[llvm-commits] CVS: llvm/configure

2006-02-16 Thread Chris Lattner


Changes in directory llvm:

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

remove skeleton target


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

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


Index: llvm/configure
diff -u llvm/configure:1.211 llvm/configure:1.212
--- llvm/configure:1.211Wed Feb 15 01:56:38 2006
+++ llvm/configure  Thu Feb 16 15:12:54 2006
@@ -3078,7 +3078,7 @@
   enableval=all
 fi;
 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" ;;
@@ -3100,7 +3100,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";;
 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
 echo "$as_me: error: Unrecognized target $a_target" >&2;}
{ (exit 1); exit 1; }; } ;;



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


[llvm-commits] CVS: llvm/configure

2006-02-26 Thread Chris Lattner


Changes in directory llvm:

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

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


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

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


Index: llvm/configure
diff -u llvm/configure:1.212 llvm/configure:1.213
--- llvm/configure:1.212Thu Feb 16 15:12:54 2006
+++ llvm/configure  Sun Feb 26 23:39:00 2006
@@ -30613,7 +30613,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/configure

2006-04-07 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.216 -> 1.217
---
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:  (+61 -31)

 configure |   92 +-
 1 files changed, 61 insertions(+), 31 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.216 llvm/configure:1.217
--- llvm/configure:1.216Thu Apr  6 17:00:36 2006
+++ llvm/configure  Fri Apr  7 11:01:51 2006
@@ -476,7 +476,7 @@
 # include 
 #endif"
 
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME 
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix 
program_transform_name bindir sbindir libexecdir datadir sysconfdir 
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir 
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 
LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu 
host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX 
LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 
ENABLE_OPTIMIZED DEBUG_RUNTIME JIT TARGET_HAS_JIT ENABLE_DOXYGEN ENABLE_THREADS 
TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX LEXLIB LEX_OUTPUT_ROOT FLEX 
YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP MKDIR MV RANLIB ac_ct_RANLIB RM 
SED TAR GRAPHVIZ GV PERL HAVE_PERL INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 
BZIP2 DOT DOXYGEN ETAGS GROFF GZIP POD2HTML POD2MAN RUNTEST TCLSH ZIP EGREP 
INSTALL_LTDL_TRUE INSTAL!
 L_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR 
ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS 
LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 LLVMCC1PLUS LLVMGCCDIR LLVMGCC_VERSION 
LLVMGCC_MAJVERS SHLIBEXT LLVM_PREFIX LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR 
LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR LLVM_INFODIR LLVM_MANDIR 
LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME 
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix 
program_transform_name bindir sbindir libexecdir datadir sysconfdir 
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir 
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 
LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu 
host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX 
LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 
CVSBUILD ENABLE_OPTIMIZED ENABLE_ASSERTIONS DEBUG_RUNTIME JIT TARGET_HAS_JIT 
ENABLE_DOXYGEN ENABLE_THREADS TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX 
LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP 
MKDIR MV RANLIB ac_ct_RANLIB RM SED TAR GRAPHVIZ GV PERL HAVE_PERL 
INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOT DOXYGEN ETAGS GROFF GZIP 
POD2HTML POD2MAN RUNTEST TCLSH ZIP EGR!
 EP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE 
CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 
FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 
LLVMCC1PLUS LLVMGCCDIR LLVMGCC_VERSION LLVMGCC_MAJVERS SHLIBEXT LLVM_PREFIX 
LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR 
LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 
 # Initialize some variables set by options.
@@ -1035,6 +1035,7 @@
   --disable-FEATURE   do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --enable-optimized
+  --enable-assertions
   --enable-debug-runtime
   --enable-jitEnable Just In Time Compiling (default is YES)
   --enable-doxygenBuild doxygen documentation (default is NO)
@@ -2967,13 +2968,25 @@
 esac
 
 
+if test -d "CVS" ; then
+  cvsbuild="yes"
+  optimize="no"
+  asserts="yes"
+  CVSBUILD=CVSBUILD=1
+
+else
+  cvsbuild="no"
+  optimize="yes"
+  asserts="no"
+fi
+
 
 # Check whether --enable-optimized or --disable-optimized was given.
 if test "${enable_optimized+set}" = set; then
   enableval="$enable_optimized"
 
 else
-  enableval=no
+  enableval=$optimize
 fi;
 if test ${enableval} = "no" ; then
   ENABLE_OPTIMIZED=
@@ -2983,6 +2996,21 @@
 
 fi
 
+# Check whether --enable-assertions or --disable-assertions was given.
+if test "${enable_assertions+set}" = set; then
+  enableval="$enable_assertions"
+
+else
+  enableval=$asserts
+fi;
+if test ${enableval} = "no" ; then
+  ENABLE_ASSERTIONS=
+
+else
+  ENABLE_ASSERTIONS=ENABLE_ASSERTIONS=1
+
+fi
+
 # Check whether --enable-debug-runtime or --disable-debug-runtime was given.
 if test "${enable_debug_runtime+set}" = set; then
   enableval="$enable_debug_runt

[llvm-commits] CVS: llvm/configure

2006-04-07 Thread Reid Spencer


Changes in directory llvm:

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

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


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

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


Index: llvm/configure
diff -u llvm/configure:1.217 llvm/configure:1.218
--- llvm/configure:1.217Fri Apr  7 11:01:51 2006
+++ llvm/configure  Fri Apr  7 20:41:26 2006
@@ -2968,7 +2968,7 @@
 esac
 
 
-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/configure

2006-04-13 Thread Reid Spencer


Changes in directory llvm:

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

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


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

 configure |   18 +-
 1 files changed, 9 insertions(+), 9 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.219 llvm/configure:1.220
--- llvm/configure:1.219Sun Apr  9 15:42:14 2006
+++ llvm/configure  Thu Apr 13 21:55:43 2006
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for llvm 1.7cvs.
+# Generated by GNU Autoconf 2.59 for llvm 1.7.
 #
 # Report bugs to <[EMAIL PROTECTED]>.
 #
@@ -425,8 +425,8 @@
 # Identity of this package.
 PACKAGE_NAME='llvm'
 PACKAGE_TARNAME='-llvm-'
-PACKAGE_VERSION='1.7cvs'
-PACKAGE_STRING='llvm 1.7cvs'
+PACKAGE_VERSION='1.7'
+PACKAGE_STRING='llvm 1.7'
 PACKAGE_BUGREPORT='[EMAIL PROTECTED]'
 
 ac_unique_file="lib/VMCore/Module.cpp"
@@ -965,7 +965,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures llvm 1.7cvs to adapt to many kinds of systems.
+\`configure' configures llvm 1.7 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1027,7 +1027,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of llvm 1.7cvs:";;
+ short | recursive ) echo "Configuration of llvm 1.7:";;
esac
   cat <<\_ACEOF
 
@@ -1176,7 +1176,7 @@
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
   cat <<\_ACEOF
-llvm configure 1.7cvs
+llvm configure 1.7
 generated by GNU Autoconf 2.59
 
 Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1192,7 +1192,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by llvm $as_me 1.7cvs, which was
+It was created by llvm $as_me 1.7, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   $ $0 $@
@@ -31240,7 +31240,7 @@
 } >&5
 cat >&5 <<_CSEOF
 
-This file was extended by llvm $as_me 1.7cvs, which was
+This file was extended by llvm $as_me 1.7, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   CONFIG_FILES= $CONFIG_FILES
@@ -31303,7 +31303,7 @@
 
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-llvm config.status 1.7cvs
+llvm config.status 1.7
 configured by $0, generated by GNU Autoconf 2.59,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/&/g'`\\"
 



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


[llvm-commits] CVS: llvm/configure

2006-04-13 Thread Reid Spencer


Changes in directory llvm:

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

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


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

 configure |   18 +-
 1 files changed, 9 insertions(+), 9 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.220 llvm/configure:1.221
--- llvm/configure:1.220Thu Apr 13 21:55:43 2006
+++ llvm/configure  Thu Apr 13 22:01:27 2006
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for llvm 1.7.
+# Generated by GNU Autoconf 2.59 for llvm 1.8cvs.
 #
 # Report bugs to <[EMAIL PROTECTED]>.
 #
@@ -425,8 +425,8 @@
 # Identity of this package.
 PACKAGE_NAME='llvm'
 PACKAGE_TARNAME='-llvm-'
-PACKAGE_VERSION='1.7'
-PACKAGE_STRING='llvm 1.7'
+PACKAGE_VERSION='1.8cvs'
+PACKAGE_STRING='llvm 1.8cvs'
 PACKAGE_BUGREPORT='[EMAIL PROTECTED]'
 
 ac_unique_file="lib/VMCore/Module.cpp"
@@ -965,7 +965,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures llvm 1.7 to adapt to many kinds of systems.
+\`configure' configures llvm 1.8cvs to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1027,7 +1027,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of llvm 1.7:";;
+ short | recursive ) echo "Configuration of llvm 1.8cvs:";;
esac
   cat <<\_ACEOF
 
@@ -1176,7 +1176,7 @@
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
   cat <<\_ACEOF
-llvm configure 1.7
+llvm configure 1.8cvs
 generated by GNU Autoconf 2.59
 
 Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1192,7 +1192,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by llvm $as_me 1.7, which was
+It was created by llvm $as_me 1.8cvs, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   $ $0 $@
@@ -31240,7 +31240,7 @@
 } >&5
 cat >&5 <<_CSEOF
 
-This file was extended by llvm $as_me 1.7, which was
+This file was extended by llvm $as_me 1.8cvs, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   CONFIG_FILES= $CONFIG_FILES
@@ -31303,7 +31303,7 @@
 
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-llvm config.status 1.7
+llvm config.status 1.8cvs
 configured by $0, generated by GNU Autoconf 2.59,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/&/g'`\\"
 



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


[llvm-commits] CVS: llvm/configure

2006-11-03 Thread Reid Spencer


Changes in directory llvm:

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

Make the huge_val test run a C++ program not C


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

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


Index: llvm/configure
diff -u llvm/configure:1.252 llvm/configure:1.253
--- llvm/configure:1.252Fri Nov  3 12:04:08 2006
+++ llvm/configure  Fri Nov  3 13:49:16 2006
@@ -29183,13 +29183,13 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
 
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-CPPFLAGS=-pedantic
+CXXFLAGS=-pedantic
 if test "$cross_compiling" = yes; then
   ac_cv_huge_val_sanity=yes
 else



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


[llvm-commits] CVS: llvm/configure

2006-11-05 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.253 -> 1.254
---
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:  (+57 -27)

 configure |   84 ++
 1 files changed, 57 insertions(+), 27 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.253 llvm/configure:1.254
--- llvm/configure:1.253Fri Nov  3 13:49:16 2006
+++ llvm/configure  Sun Nov  5 11:08:18 2006
@@ -836,6 +836,7 @@
 ENABLE_DOXYGEN
 ENABLE_THREADS
 TARGETS_TO_BUILD
+ENABLE_CBE_PRINTF_A
 EXTRA_OPTIONS
 CXX
 CXXFLAGS
@@ -1525,6 +1526,8 @@
   --enable-threadsUse threads if available (default is YES)
   --enable-targetsBuild specific host targets:
   all,host-only,{target-name} (default=all)
+  --enable-cbe-printf-a   Enable C Backend output with hex floating point via
+  %a (default is YES)
   --enable-ltdl-install   install libltdl
   --enable-shared[=PKGS]  build shared libraries
   [default=enable_shared_default]
@@ -4628,7 +4631,7 @@
 if test "${enable_threads+set}" = set; then
   enableval=$enable_threads;
 else
-  enableval=yes
+  enableval=default
 fi
 
 case "$enableval" in
@@ -4636,6 +4639,8 @@
  ;;
   no)  ENABLE_THREADS=0
  ;;
+  default) ENABLE_THREADS=1
+ ;;
   *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. 
Use \"yes\" or \"no\"" >&5
 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or 
\"no\"" >&2;}
{ (exit 1); exit 1; }; } ;;
@@ -4688,6 +4693,30 @@
 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
 
 
+# Check whether --enable-cbe-printf-a was given.
+if test "${enable_cbe_printf_a+set}" = set; then
+  enableval=$enable_cbe_printf_a;
+else
+  enableval=default
+fi
+
+case "$enableval" in
+  yes) ENABLE_CBE_PRINTF_A=1
+ ;;
+  no)  ENABLE_CBE_PRINTF_A=0
+ ;;
+  default)  ENABLE_CBE_PRINTF_A=1
+ ;;
+  *) { { echo "$as_me:$LINENO: error: Invalid setting for 
--enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
+echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or 
\"no\"" >&2;}
+   { (exit 1); exit 1; }; } ;;
+esac
+
+cat >>confdefs.h <<_ACEOF
+#define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
+_ACEOF
+
+
 
 # Check whether --with-llvmgccdir was given.
 if test "${with_llvmgccdir+set}" = set; then
@@ -10269,7 +10298,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 12445 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -14131,11 +14160,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14134: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14163: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14138: \$? = $ac_status" >&5
+   echo "$as_me:14167: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14399,11 +14428,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14402: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14431: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14406: \$? = $ac_status" >&5
+   echo "$as_me:14435: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14503,11 +14532,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14506: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14535: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:14510: \$? = $ac_status" >&5
+   echo "$as_me:14539: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -16955,7 +16984,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19455: $lt_compile\"" 

[llvm-commits] CVS: llvm/configure

2006-11-13 Thread Tanya Lattner


Changes in directory llvm:

configure updated: 1.254 -> 1.255
---
Log message:

Updating configure script for 2.0


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

 configure |   18 +-
 1 files changed, 9 insertions(+), 9 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.254 llvm/configure:1.255
--- llvm/configure:1.254Sun Nov  5 11:08:18 2006
+++ llvm/configure  Mon Nov 13 18:59:52 2006
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for llvm 1.9cvs.
+# Generated by GNU Autoconf 2.60 for llvm 2.0cvs.
 #
 # Report bugs to <[EMAIL PROTECTED]>.
 #
@@ -715,8 +715,8 @@
 # Identity of this package.
 PACKAGE_NAME='llvm'
 PACKAGE_TARNAME='-llvm-'
-PACKAGE_VERSION='1.9cvs'
-PACKAGE_STRING='llvm 1.9cvs'
+PACKAGE_VERSION='2.0cvs'
+PACKAGE_STRING='llvm 2.0cvs'
 PACKAGE_BUGREPORT='[EMAIL PROTECTED]'
 
 ac_unique_file="lib/VMCore/Module.cpp"
@@ -1445,7 +1445,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures llvm 1.9cvs to adapt to many kinds of systems.
+\`configure' configures llvm 2.0cvs to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1511,7 +1511,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of llvm 1.9cvs:";;
+ short | recursive ) echo "Configuration of llvm 2.0cvs:";;
esac
   cat <<\_ACEOF
 
@@ -1633,7 +1633,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-llvm configure 1.9cvs
+llvm configure 2.0cvs
 generated by GNU Autoconf 2.60
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1649,7 +1649,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by llvm $as_me 1.9cvs, which was
+It was created by llvm $as_me 2.0cvs, which was
 generated by GNU Autoconf 2.60.  Invocation command line was
 
   $ $0 $@
@@ -33847,7 +33847,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by llvm $as_me 1.9cvs, which was
+This file was extended by llvm $as_me 2.0cvs, which was
 generated by GNU Autoconf 2.60.  Invocation command line was
 
   CONFIG_FILES= $CONFIG_FILES
@@ -33900,7 +33900,7 @@
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-llvm config.status 1.9cvs
+llvm config.status 2.0cvs
 configured by $0, generated by GNU Autoconf 2.60,
   with options \\"`echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/&/g'`\\"
 



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


[llvm-commits] CVS: llvm/configure

2006-12-07 Thread Reid Spencer


Changes in directory llvm:

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

Regenerate.


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

 configure |   12 
 1 files changed, 12 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.258 llvm/configure:1.259
--- llvm/configure:1.258Thu Nov 30 18:37:14 2006
+++ llvm/configure  Thu Dec  7 23:06:28 2006
@@ -34929,15 +34929,3 @@
 fi
 
 
-if test "$llvm_cv_llvmgcc_sanity" = "no" ; then
- { echo "$as_me:$LINENO: WARNING: * llvm-gcc/llvm-g++ was not found, or 
does not appear to be " >&5
-echo "$as_me: WARNING: * llvm-gcc/llvm-g++ was not found, or does not 
appear to be " >&2;}
- { echo "$as_me:$LINENO: WARNING: * working. Please make sure you have 
llvm-gcc and llvm-g++ in" >&5
-echo "$as_me: WARNING: * working. Please make sure you have llvm-gcc and 
llvm-g++ in" >&2;}
- { echo "$as_me:$LINENO: WARNING: * your path before configuring LLVM. The 
runtime libraries" >&5
-echo "$as_me: WARNING: * your path before configuring LLVM. The runtime 
libraries" >&2;}
- { echo "$as_me:$LINENO: WARNING: * (llvm/runtime) will not be built but 
you should be able to" >&5
-echo "$as_me: WARNING: * (llvm/runtime) will not be built but you should 
be able to" >&2;}
- { echo "$as_me:$LINENO: WARNING: * build the llvm tools." >&5
-echo "$as_me: WARNING: * build the llvm tools." >&2;}
-fi



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


[llvm-commits] CVS: llvm/configure

2007-01-12 Thread Jeff Cohen


Changes in directory llvm:

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

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


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

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


Index: llvm/configure
diff -u llvm/configure:1.262 llvm/configure:1.263
--- llvm/configure:1.262Thu Dec 21 16:55:41 2006
+++ llvm/configure  Fri Jan 12 12:22:38 2007
@@ -7119,7 +7119,7 @@
 #define HAVE_GRAPHVIZ 1
 _ACEOF
 
-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
 
@@ -7175,7 +7175,7 @@
 #define HAVE_DOT 1
 _ACEOF
 
-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
 
@@ -7236,7 +7236,7 @@
 #define HAVE_GV 1
 _ACEOF
 
-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
 
@@ -7292,7 +7292,7 @@
 #define HAVE_DOTTY 1
 _ACEOF
 
-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
 
@@ -26899,7 +26899,7 @@
 
 fi
 
-if test "$llvm_cv_os_type" == "MingW" ; then
+if test "$llvm_cv_os_type" = "MingW" ; then
 
 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
@@ -33343,7 +33343,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/configure

2007-01-16 Thread Reid Spencer


Changes in directory llvm:

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

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


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

 configure |   26 +-
 1 files changed, 13 insertions(+), 13 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.263 llvm/configure:1.264
--- llvm/configure:1.263Fri Jan 12 12:22:38 2007
+++ llvm/configure  Tue Jan 16 20:14:46 2007
@@ -938,8 +938,8 @@
 F77
 FFLAGS'
 ac_subdirs_all='projects/sample
-projects/Stacker
 projects/privbracket
+projects/llvm-stacker
 projects/llvm-test
 projects/llvm-reopt
 projects/llvm-gcc
@@ -2060,26 +2060,26 @@
 do
   if test -d ${srcdir}/projects/${i} ; then
 case ${i} in
-  "CVS") ;;
-  "sample")   subdirs="$subdirs projects/sample"
+  CVS) ;;
+  sample)   subdirs="$subdirs projects/sample"
 ;;
-  "Stacker")  subdirs="$subdirs projects/Stacker"
-   ;;
-  "privbracket")  subdirs="$subdirs projects/privbracket"
+  privbracket)  subdirs="$subdirs projects/privbracket"
+ ;;
+  llvm-stacker) subdirs="$subdirs projects/llvm-stacker"
  ;;
-  "llvm-test")subdirs="$subdirs projects/llvm-test"
+  llvm-test)subdirs="$subdirs projects/llvm-test"
  ;;
-  "llvm-reopt")   subdirs="$subdirs projects/llvm-reopt"
+  llvm-reopt)   subdirs="$subdirs projects/llvm-reopt"
 ;;
-  "llvm-gcc") subdirs="$subdirs projects/llvm-gcc"
+  llvm-gcc) subdirs="$subdirs projects/llvm-gcc"
   ;;
-  "llvm-java")subdirs="$subdirs projects/llvm-java"
+  llvm-java)subdirs="$subdirs projects/llvm-java"
  ;;
-  "llvm-tv")  subdirs="$subdirs projects/llvm-tv"
+  llvm-tv)  subdirs="$subdirs projects/llvm-tv"
;;
-  "llvm-poolalloc") subdirs="$subdirs projects/llvm-poolalloc"
+  llvm-poolalloc) subdirs="$subdirs projects/llvm-poolalloc"
  ;;
-  "llvm-kernel")  subdirs="$subdirs projects/llvm-kernel"
+  llvm-kernel)  subdirs="$subdirs projects/llvm-kernel"
  ;;
   *)
 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be 
configured automatically" >&5



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


[llvm-commits] CVS: llvm/configure

2007-01-19 Thread Reid Spencer


Changes in directory llvm:

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

Add the check for udis86 to support disassembly.

Regenerated for Anton Korobeynikov.


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

 configure |  173 +++---
 1 files changed, 145 insertions(+), 28 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.264 llvm/configure:1.265
--- llvm/configure:1.264Tue Jan 16 20:14:46 2007
+++ llvm/configure  Fri Jan 19 11:41:47 2007
@@ -9,7 +9,7 @@
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
 #
-# Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign.
+# Copyright (c) 2003-2007 University of Illinois at Urbana-Champaign.
 ## - ##
 ## M4sh Initialization.  ##
 ## - ##
@@ -897,6 +897,7 @@
 ETAGSFLAGS
 LLVMGCC
 LLVMGXX
+USE_UDIS86
 HAVE_PTHREAD
 HUGE_VAL_SANITY
 ALLOCA
@@ -1554,6 +1555,7 @@
   --with-pic  try to use only PIC/non-PIC objects [default=use
   both]
   --with-tags[=TAGS]  include additional configurations [automatic]
+  --with-udis86=Use udis86 external x86 disassembler library
 
 Some influential environment variables:
   CC  C compiler command
@@ -1646,7 +1648,7 @@
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.
 
-Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign.
+Copyright (c) 2003-2007 University of Illinois at Urbana-Champaign.
 _ACEOF
   exit
 fi
@@ -2008,7 +2010,7 @@
 
 
 
-LLVM_COPYRIGHT="Copyright (c) 2003-2005 University of Illinois at 
Urbana-Champaign."
+LLVM_COPYRIGHT="Copyright (c) 2003-2007 University of Illinois at 
Urbana-Champaign."
 
 
 
@@ -10327,7 +10329,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 12476 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -14189,11 +14191,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14192: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14194: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14196: \$? = $ac_status" >&5
+   echo "$as_me:14198: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14457,11 +14459,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14460: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14462: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14464: \$? = $ac_status" >&5
+   echo "$as_me:14466: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14561,11 +14563,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14564: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14566: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:14568: \$? = $ac_status" >&5
+   echo "$as_me:14570: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -17013,7 +17015,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19486: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:19488: \$? = $ac_status" >&5
+   echo "$as_me:19490: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -19585,11 +19587,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:19588: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:19590: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$

[llvm-commits] CVS: llvm/configure

2007-01-19 Thread Reid Spencer


Changes in directory llvm:

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

Regenerate for Anton Korobeynikov.


---
Diffs of the changes:  (+12 -115)

 configure |  127 +-
 1 files changed, 12 insertions(+), 115 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.265 llvm/configure:1.266
--- llvm/configure:1.265Fri Jan 19 11:41:47 2007
+++ llvm/configure  Sat Jan 20 01:48:49 2007
@@ -27586,7 +27586,7 @@
   USE_UDIS86=1
 
   case "$withval" in
-/usr/lib) ;;
+/usr/lib|yes) ;;
 *) LDFLAGS="$LDFLAGS -L${withval}" ;;
   esac
 
@@ -32717,6 +32717,7 @@
 
 
 
+if test "$llvm_cv_platform_type" = "Unix" ; then
 
 
 for ac_header in stdlib.h unistd.h
@@ -33183,7 +33184,7 @@
 fi
 rm -f conftest.mmap
 
-{ echo "$as_me:$LINENO: checking for mmap of files" >&5
+  { echo "$as_me:$LINENO: checking for mmap of files" >&5
 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
 if test "${ac_cv_func_mmap_file+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -33275,7 +33276,7 @@
 
 fi
 
-{ echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
+  { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -33296,121 +33297,17 @@
 _ACEOF
 
 fi
-{ echo "$as_me:$LINENO: checking for mprotect" >&5
-echo $ECHO_N "checking for mprotect... $ECHO_C" >&6; }
-if test "${ac_cv_func_mprotect+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-/* Define mprotect to an innocuous variant, in case  declares 
mprotect.
-   For example, HP-UX 11i  declares gettimeofday.  */
-#define mprotect innocuous_mprotect
-
-/* System header to define __stub macros and hopefully few prototypes,
-which can conflict with char mprotect (); below.
-Prefer  to  if __STDC__ is defined, since
- exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include 
-#else
-# include 
-#endif
-
-#undef mprotect
 
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char mprotect ();
-/* The GNU C library defines this for functions which it implements
-to always fail with ENOSYS.  Some functions are actually named
-something starting with __ and the normal name is an alias.  */
-#if defined __stub_mprotect || defined __stub___mprotect
-choke me
-#endif
-
-int
-main ()
-{
-return mprotect ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-{ ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  ac_cv_func_mprotect=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-   ac_cv_func_mprotect=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext \
-  conftest$ac_exeext conftest.$ac_ext
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
-echo "${ECHO_T}$ac_cv_func_mprotect" >&6; }
-if test $ac_cv_func_mprotect = yes; then
-  :
-else
-  { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" 
>&5
-echo "$as_me: error: Function mprotect() required but not found" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
-
-if test "$ac_cv_func_mmap_fixed_mapped" = "no"
-then
-  { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not 
supported" >&5
+  if test "$ac_cv_func_mmap_fixed_mapped" = "no"
+  then
+{ echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but 
not supported" >&5
 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" 

[llvm-commits] CVS: llvm/configure

2007-01-20 Thread Reid Spencer


Changes in directory llvm:

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

For PR808: http://llvm.org/PR808 :
Regenerate to include NetBSD.


---
Diffs of the changes:  (+29 -24)

 configure |   53 +
 1 files changed, 29 insertions(+), 24 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.266 llvm/configure:1.267
--- llvm/configure:1.266Sat Jan 20 01:48:49 2007
+++ llvm/configure  Sat Jan 20 14:45:39 2007
@@ -2255,6 +2255,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"
@@ -10329,7 +10334,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 12481 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -14191,11 +14196,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14194: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14199: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14198: \$? = $ac_status" >&5
+   echo "$as_me:14203: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14459,11 +14464,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14462: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14467: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14466: \$? = $ac_status" >&5
+   echo "$as_me:14471: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14563,11 +14568,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14566: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14571: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:14570: \$? = $ac_status" >&5
+   echo "$as_me:14575: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -17015,7 +17020,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19491: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:19490: \$? = $ac_status" >&5
+   echo "$as_me:19495: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -19587,11 +19592,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:19590: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:19595: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:19594: \$? = $ac_status" >&5
+   echo "$as_me:19599: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -21157,11 +21162,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:21160: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:21165: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:21164: \$? = $ac_status" >&5
+   echo "$as_me:21169: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -21261,1

[llvm-commits] CVS: llvm/configure

2007-01-20 Thread Reid Spencer


Changes in directory llvm:

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

For PR1128: http://llvm.org/PR1128 :
Regenerate for ARM support.


---
Diffs of the changes:  (+29 -24)

 configure |   53 +
 1 files changed, 29 insertions(+), 24 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.267 llvm/configure:1.268
--- llvm/configure:1.267Sat Jan 20 14:45:39 2007
+++ llvm/configure  Sun Jan 21 00:32:59 2007
@@ -2351,6 +2351,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
 fi
@@ -4615,6 +4616,8 @@
  ;;
 IA64)TARGET_HAS_JIT=0
  ;;
+ARM) TARGET_HAS_JIT=1
+ ;;
 *)   TARGET_HAS_JIT=0
  ;;
   esac
@@ -4705,6 +4708,7 @@
   PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
   Alpha)   TARGETS_TO_BUILD="Alpha" ;;
   IA64)TARGETS_TO_BUILD="IA64" ;;
+  ARM) TARGETS_TO_BUILD="ARM" ;;
   *)   { { echo "$as_me:$LINENO: error: Can not set target to build" 
>&5
 echo "$as_me: error: Can not set target to build" >&2;}
{ (exit 1); exit 1; }; } ;;
@@ -4718,6 +4722,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" ;;
 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
 echo "$as_me: error: Unrecognized target $a_target" >&2;}
{ (exit 1); exit 1; }; } ;;
@@ -10334,7 +10339,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 12486 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -14196,11 +14201,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14199: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14204: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14203: \$? = $ac_status" >&5
+   echo "$as_me:14208: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14464,11 +14469,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14467: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14472: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14471: \$? = $ac_status" >&5
+   echo "$as_me:14476: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14568,11 +14573,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14571: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14576: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:14575: \$? = $ac_status" >&5
+   echo "$as_me:14580: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -17020,7 +17025,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19496: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:19495: \$? = $ac_status" >&5
+   echo "$as_me:19500: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -19592,11 +19597,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:19595: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:19600: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:19599: \$? = $ac_status" >&5
+   echo "$as_me:19604: \$? 

[llvm-commits] CVS: llvm/configure

2007-01-20 Thread Reid Spencer


Changes in directory llvm:

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

Regenerate.


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

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


Index: llvm/configure
diff -u llvm/configure:1.268 llvm/configure:1.269
--- llvm/configure:1.268Sun Jan 21 00:32:59 2007
+++ llvm/configure  Sun Jan 21 00:42:03 2007
@@ -4606,17 +4606,17 @@
   case "$llvm_cv_target_arch" in
 x86) TARGET_HAS_JIT=1
  ;;
-Sparc)   TARGET_HAS_JIT=1
+Sparc)   TARGET_HAS_JIT=0
  ;;
 PowerPC) TARGET_HAS_JIT=1
  ;;
-x86_64)  TARGET_HAS_JIT=0
+x86_64)  TARGET_HAS_JIT=1
  ;;
 Alpha)   TARGET_HAS_JIT=1
  ;;
 IA64)TARGET_HAS_JIT=0
  ;;
-ARM) TARGET_HAS_JIT=1
+ARM) TARGET_HAS_JIT=0
  ;;
 *)   TARGET_HAS_JIT=0
  ;;



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


[llvm-commits] CVS: llvm/configure

2007-02-16 Thread Reid Spencer


Changes in directory llvm:

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

Regenerate for getrlimit/setrlimit.


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

 configure |  113 +-
 1 files changed, 112 insertions(+), 1 deletion(-)


Index: llvm/configure
diff -u llvm/configure:1.269 llvm/configure:1.270
--- llvm/configure:1.269Sun Jan 21 00:42:03 2007
+++ llvm/configure  Fri Feb 16 13:17:20 2007
@@ -30114,8 +30114,119 @@
 
 
 
+for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
+do
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+/* Define $ac_func to an innocuous variant, in case  declares 
$ac_func.
+   For example, HP-UX 11i  declares gettimeofday.  */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+which can conflict with char $ac_func (); below.
+Prefer  to  if __STDC__ is defined, since
+ exists even on freestanding compilers.  */
+
+#ifdef __STDC__
+# include 
+#else
+# include 
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+to always fail with ENOSYS.  Some functions are actually named
+something starting with __ and the normal name is an alias.  */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_link") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+  { (case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_try") 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+{ ac_try='test -s conftest$ac_exeext'
+  { (case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_try") 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  eval "$as_ac_var=yes"
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+   eval "$as_ac_var=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext \
+  conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval echo '${'$as_ac_var'}'`
+  { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_var'}'` = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+
 
-for ac_func in getpagesize getrusage gettimeofday isatty mkdtemp mkstemp
+for ac_func in isatty mkdtemp mkstemp
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 { echo "$as_me:$LINENO: checking for $ac_func" >&5



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


[llvm-commits] CVS: llvm/configure

2007-03-21 Thread Anton Korobeynikov


Changes in directory llvm:

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

Let the new backend begin!


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

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


Index: llvm/configure
diff -u llvm/configure:1.270 llvm/configure:1.271
--- llvm/configure:1.270Fri Feb 16 13:17:20 2007
+++ llvm/configure  Wed Mar 21 16:38:25 2007
@@ -4730,7 +4730,7 @@
   done
   ;;
 esac
-TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD"
+TARGETS_TO_BUILD="CBackend MSIL $TARGETS_TO_BUILD"
 TARGETS_TO_BUILD=$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/configure

2007-03-29 Thread Reid Spencer


Changes in directory llvm:

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

Regenerate for PR1283: http://llvm.org/PR1283  fix.


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

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


Index: llvm/configure
diff -u llvm/configure:1.271 llvm/configure:1.272
--- llvm/configure:1.271Wed Mar 21 16:38:25 2007
+++ llvm/configure  Thu Mar 29 10:38:33 2007
@@ -33440,7 +33440,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/configure

2007-04-02 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.272 -> 1.273
---
Log message:

Regenerate.


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

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


Index: llvm/configure
diff -u llvm/configure:1.272 llvm/configure:1.273
--- llvm/configure:1.272Thu Mar 29 10:38:33 2007
+++ llvm/configure  Mon Apr  2 10:41:39 2007
@@ -4535,7 +4535,7 @@
 
 fi
 
-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"
   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/configure

2007-04-10 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.273 -> 1.274
---
Log message:

Hopefully fix LTDL_SHLIB_EXT on Darwin


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

 configure |   10 +-
 1 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.273 llvm/configure:1.274
--- llvm/configure:1.273Mon Apr  2 10:41:39 2007
+++ llvm/configure  Tue Apr 10 19:27:39 2007
@@ -8765,7 +8765,7 @@
   soname_spec='${libname}${release}${major}$shared_ext'
   shlibpath_overrides_runpath=yes
   shlibpath_var=DYLD_LIBRARY_PATH
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+  shrext_cmds='.dylib'
   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   if test "$GCC" = yes; then
 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" 
"$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep 
"^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, 
,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
@@ -15862,7 +15862,7 @@
   soname_spec='${libname}${release}${major}$shared_ext'
   shlibpath_overrides_runpath=yes
   shlibpath_var=DYLD_LIBRARY_PATH
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+  shrext_cmds='.dylib'
   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   if test "$GCC" = yes; then
 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" 
"$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep 
"^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, 
,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
@@ -19925,7 +19925,7 @@
   soname_spec='${libname}${release}${major}$shared_ext'
   shlibpath_overrides_runpath=yes
   shlibpath_var=DYLD_LIBRARY_PATH
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+  shrext_cmds='.dylib'
   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   if test "$GCC" = yes; then
 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" 
"$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep 
"^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, 
,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
@@ -22540,7 +22540,7 @@
   soname_spec='${libname}${release}${major}$shared_ext'
   shlibpath_overrides_runpath=yes
   shlibpath_var=DYLD_LIBRARY_PATH
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+  shrext_cmds='.dylib'
   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   if test "$GCC" = yes; then
 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" 
"$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep 
"^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, 
,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
@@ -25167,7 +25167,7 @@
   soname_spec='${libname}${release}${major}$shared_ext'
   shlibpath_overrides_runpath=yes
   shlibpath_var=DYLD_LIBRARY_PATH
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+  shrext_cmds='.dylib'
   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   if test "$GCC" = yes; then
 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" 
"$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep 
"^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, 
,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`



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


[llvm-commits] CVS: llvm/configure

2007-04-21 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.274 -> 1.275
---
Log message:

Regenerate for detection of llvm-gcc supported languages


---
Diffs of the changes:  (+34 -25)

 configure |   59 ++-
 1 files changed, 34 insertions(+), 25 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.274 llvm/configure:1.275
--- llvm/configure:1.274Tue Apr 10 19:27:39 2007
+++ llvm/configure  Sat Apr 21 16:28:52 2007
@@ -908,6 +908,7 @@
 LLVMGCCLIBEXEC
 LLVMGCC_VERSION
 LLVMGCC_MAJVERS
+LLVMGCC_LANGS
 SHLIBEXT
 LLVM_PREFIX
 LLVM_BINDIR
@@ -10339,7 +10340,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 12487 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -14201,11 +14202,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14204: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14205: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14208: \$? = $ac_status" >&5
+   echo "$as_me:14209: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14469,11 +14470,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14472: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14473: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14476: \$? = $ac_status" >&5
+   echo "$as_me:14477: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14573,11 +14574,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14576: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14577: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:14580: \$? = $ac_status" >&5
+   echo "$as_me:14581: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -17025,7 +17026,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19497: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:19500: \$? = $ac_status" >&5
+   echo "$as_me:19501: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -19597,11 +19598,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:19600: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:19601: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:19604: \$? = $ac_status" >&5
+   echo "$as_me:19605: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -21167,11 +21168,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:21170: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:21171: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:21174: \$? = $ac_status" >&5
+   echo "$as_me:21175: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -21271,11 +21272,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:21274: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:21275: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/confte

[llvm-commits] CVS: llvm/configure

2006-04-19 Thread Chris Lattner


Changes in directory llvm:

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

Regenerate


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

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


Index: llvm/configure
diff -u llvm/configure:1.221 llvm/configure:1.222
--- llvm/configure:1.221Thu Apr 13 22:01:27 2006
+++ llvm/configure  Wed Apr 19 13:38:19 2006
@@ -10232,7 +10232,7 @@
 case $host_os in
   darwin*)
 if test "$GCC" = yes; then
-  reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
+  reload_cmds='$CC -nostdlib ${wl}-r $compiler_flags -o 
$output$reload_objs'
 else
   reload_cmds='$LD$reload_flag -o $output$reload_objs'
 fi



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


[llvm-commits] CVS: llvm/configure

2006-04-19 Thread Reid Spencer


Changes in directory llvm:

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

Allow OpenBSD to be recognized as a UNIX platform.


---
Diffs of the changes:  (+32 -29)

 configure |   61 -
 1 files changed, 32 insertions(+), 29 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.222 llvm/configure:1.223
--- llvm/configure:1.222Wed Apr 19 13:38:19 2006
+++ llvm/configure  Wed Apr 19 18:47:16 2006
@@ -1722,6 +1722,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" ;;
@@ -8465,7 +8468,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 10462 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -10941,7 +10944,7 @@
 
 
 # Provide some information about the compiler.
-echo "$as_me:10944:" \
+echo "$as_me:10947:" \
  "checking for Fortran 77 compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`
 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5
@@ -11998,11 +12001,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12001: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12004: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:12005: \$? = $ac_status" >&5
+   echo "$as_me:12008: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -12241,11 +12244,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12244: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12247: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:12248: \$? = $ac_status" >&5
+   echo "$as_me:12251: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -12301,11 +12304,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12304: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12307: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:12308: \$? = $ac_status" >&5
+   echo "$as_me:12311: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -14486,7 +14489,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:16783: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:16784: \$? = $ac_status" >&5
+   echo "$as_me:16787: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -16837,11 +16840,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:16840: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:16843: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:16844: \$? = $ac_status" >&5
+   echo "$as_me:16847: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -18198,7 +18201,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19139: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:19140: \$? = $ac_status" >&5
+   echo "$as_me:19143: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -19193,11 +19196,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' 

[llvm-commits] CVS: llvm/configure

2006-04-20 Thread Chris Lattner


Changes in directory llvm:

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

Never build SparcV9


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

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


Index: llvm/configure
diff -u llvm/configure:1.223 llvm/configure:1.224
--- llvm/configure:1.223Wed Apr 19 18:47:16 2006
+++ llvm/configure  Thu Apr 20 12:01:19 2006
@@ -3107,12 +3107,12 @@
   enableval=all
 fi;
 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" ;;
@@ -3125,7 +3125,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/configure

2006-04-20 Thread Reid Spencer


Changes in directory llvm:

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

Configure llvm-config in tools, not utils.


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

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


Index: llvm/configure
diff -u llvm/configure:1.224 llvm/configure:1.225
--- llvm/configure:1.224Thu Apr 20 12:01:19 2006
+++ llvm/configure  Thu Apr 20 17:15:30 2006
@@ -30831,7 +30831,7 @@
   ac_config_files="$ac_config_files docs/doxygen.cfg"
 
 
-  ac_config_files="$ac_config_files utils/llvm-config/llvm-config.in"
+  ac_config_files="$ac_config_files tools/llvm-config/llvm-config.in"
 
 
   ac_config_commands="$ac_config_commands setup"
@@ -31418,7 +31418,7 @@
   # Handling of arguments.
   "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
   "docs/doxygen.cfg" ) CONFIG_FILES="$CONFIG_FILES docs/doxygen.cfg" ;;
-  "utils/llvm-config/llvm-config.in" ) CONFIG_FILES="$CONFIG_FILES 
utils/llvm-config/llvm-config.in" ;;
+  "tools/llvm-config/llvm-config.in" ) CONFIG_FILES="$CONFIG_FILES 
tools/llvm-config/llvm-config.in" ;;
   "setup" ) CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
   "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
   "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;



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


[llvm-commits] CVS: llvm/configure

2006-04-27 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.225 -> 1.226
---
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 |   20 ++--
 1 files changed, 10 insertions(+), 10 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.225 llvm/configure:1.226
--- llvm/configure:1.225Thu Apr 20 17:15:30 2006
+++ llvm/configure  Thu Apr 27 02:49:18 2006
@@ -5400,7 +5400,7 @@
 done
 done
 
-  test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2="true bzip2"
+  test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2="echo "Skipped: bzip2 not 
found""
   ;;
 esac
 fi
@@ -5440,7 +5440,7 @@
 done
 done
 
-  test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="true dot"
+  test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="echo "Skipped: dot not found""
   ;;
 esac
 fi
@@ -5480,7 +5480,7 @@
 done
 done
 
-  test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="true doxygen"
+  test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="echo "Skipped: doxygen 
not found""
   ;;
 esac
 fi
@@ -5520,7 +5520,7 @@
 done
 done
 
-  test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="true etags"
+  test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="echo "Skipped: etags not 
found""
   ;;
 esac
 fi
@@ -5560,7 +5560,7 @@
 done
 done
 
-  test -z "$ac_cv_path_GROFF" && ac_cv_path_GROFF="true groff"
+  test -z "$ac_cv_path_GROFF" && ac_cv_path_GROFF="echo "Skipped: groff not 
found""
   ;;
 esac
 fi
@@ -5600,7 +5600,7 @@
 done
 done
 
-  test -z "$ac_cv_path_GZIP" && ac_cv_path_GZIP="true gzip"
+  test -z "$ac_cv_path_GZIP" && ac_cv_path_GZIP="echo "Skipped: gzip not 
found""
   ;;
 esac
 fi
@@ -5640,7 +5640,7 @@
 done
 done
 
-  test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML="true pod2html"
+  test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML="echo "Skipped: 
pod2html not found""
   ;;
 esac
 fi
@@ -5680,7 +5680,7 @@
 done
 done
 
-  test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN="true pod2man"
+  test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN="echo "Skipped: pod2man 
not found""
   ;;
 esac
 fi
@@ -5720,7 +5720,7 @@
 done
 done
 
-  test -z "$ac_cv_path_RUNTEST" && ac_cv_path_RUNTEST="true runtest"
+  test -z "$ac_cv_path_RUNTEST" && ac_cv_path_RUNTEST="echo "Skipped: runtest 
not found""
   ;;
 esac
 fi
@@ -5849,7 +5849,7 @@
 done
 done
 
-  test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP="true zip"
+  test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP="echo "Skipped: zip not found""
   ;;
 esac
 fi



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


[llvm-commits] CVS: llvm/configure

2006-05-08 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.226 -> 1.227
---
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 |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/configure
diff -u llvm/configure:1.226 llvm/configure:1.227
--- llvm/configure:1.226Thu Apr 27 02:49:18 2006
+++ llvm/configure  Mon May  8 19:31:00 2006
@@ -30725,7 +30725,7 @@
   llvmgccdir=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
   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/'`
   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/configure

2006-05-14 Thread Rafael Espindola


Changes in directory llvm:

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

added a skeleton of the ARM backend


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

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


Index: llvm/configure
diff -u llvm/configure:1.227 llvm/configure:1.228
--- llvm/configure:1.227Mon May  8 19:31:00 2006
+++ llvm/configure  Sun May 14 17:18:28 2006
@@ -3107,7 +3107,7 @@
   enableval=all
 fi;
 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/configure

2006-05-16 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.228 -> 1.229
---
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 |3 +++
 1 files changed, 3 insertions(+)


Index: llvm/configure
diff -u llvm/configure:1.228 llvm/configure:1.229
--- llvm/configure:1.228Sun May 14 17:18:28 2006
+++ llvm/configure  Tue May 16 03:53:32 2006
@@ -30739,6 +30739,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/configure

2006-05-21 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.229 -> 1.230
---
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 |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/configure
diff -u llvm/configure:1.229 llvm/configure:1.230
--- llvm/configure:1.229Tue May 16 03:53:32 2006
+++ llvm/configure  Sun May 21 05:40:20 2006
@@ -3150,7 +3150,7 @@
 fi;
 case "$withval" in
   default) WITH_LLVMGCCDIR=default ;;
-  /*)  WITH_LLVMGCCDIR=$withval ;;
+  /* | [A-Za-z]:[\\/]*)  WITH_LLVMGCCDIR=$withval ;;
   *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. 
Provide full path" >&5
 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" 
>&2;}
{ (exit 1); exit 1; }; } ;;



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


[llvm-commits] CVS: llvm/configure

2006-06-01 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.230 -> 1.231
---
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:  (+301 -0)

 configure |  301 ++
 1 files changed, 301 insertions(+)


Index: llvm/configure
diff -u llvm/configure:1.230 llvm/configure:1.231
--- llvm/configure:1.230Sun May 21 05:40:20 2006
+++ llvm/configure  Thu Jun  1 11:55:59 2006
@@ -25145,6 +25145,307 @@
 
 fi
 
+if test "$llvm_cv_os_type" == "MingW" ; then
+
+
+for ac_header in imagehlp.h psapi.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+else
+  # Is the header compilable?
+echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+{ ac_try='test -z "$ac_c_werror_flag"
+|| test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+{ ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+ac_cpp_err=$ac_c_preproc_warn_flag
+ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+  else
+ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+  yes:no: )
+{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ac_header_preproc=yes
+;;
+  no:yes:* )
+{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite 
headers?" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf 
documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But 
Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Pres

[llvm-commits] CVS: llvm/configure

2006-06-01 Thread Reid Spencer


Changes in directory llvm:

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

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


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

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


Index: llvm/configure
diff -u llvm/configure:1.231 llvm/configure:1.232
--- llvm/configure:1.231Thu Jun  1 11:55:59 2006
+++ llvm/configure  Thu Jun  1 12:16:20 2006
@@ -25148,7 +25148,8 @@
 if test "$llvm_cv_os_type" == "MingW" ; then
 
 
-for ac_header in imagehlp.h psapi.h
+
+for ac_header in windows.h imagehlp.h psapi.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then



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


[llvm-commits] CVS: llvm/configure

2006-06-01 Thread Reid Spencer


Changes in directory llvm:

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

Make sure windows.h is #included first.


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

 configure |  151 +-
 1 files changed, 150 insertions(+), 1 deletion(-)


Index: llvm/configure
diff -u llvm/configure:1.232 llvm/configure:1.233
--- llvm/configure:1.232Thu Jun  1 12:16:20 2006
+++ llvm/configure  Thu Jun  1 12:44:29 2006
@@ -25147,9 +25147,158 @@
 
 if test "$llvm_cv_os_type" == "MingW" ; then
 
+for ac_header in windows.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+else
+  # Is the header compilable?
+echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+{ ac_try='test -z "$ac_c_werror_flag"
+|| test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+{ ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+ac_cpp_err=$ac_c_preproc_warn_flag
+ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+  else
+ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+  yes:no: )
+{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ac_header_preproc=yes
+;;
+  no:yes:* )
+{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite 
headers?" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf 
documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But 
Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be 
Compiled\"" >&2;}
+{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the p

[llvm-commits] CVS: llvm/configure

2006-06-02 Thread Reid Spencer


Changes in directory llvm:

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

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


---
Diffs of the changes:  (+84 -30)

 configure |  114 +-
 1 files changed, 84 insertions(+), 30 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.234 llvm/configure:1.235
--- llvm/configure:1.234Thu Jun  1 14:03:21 2006
+++ llvm/configure  Fri Jun  2 18:13:18 2006
@@ -476,7 +476,7 @@
 # include 
 #endif"
 
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME 
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix 
program_transform_name bindir sbindir libexecdir datadir sysconfdir 
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir 
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 
LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu 
host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX 
LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 
CVSBUILD ENABLE_OPTIMIZED DISABLE_ASSERTIONS DEBUG_RUNTIME JIT TARGET_HAS_JIT 
ENABLE_DOXYGEN ENABLE_THREADS TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX 
LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP 
MKDIR MV RANLIB ac_ct_RANLIB RM SED TAR GRAPHVIZ GV PERL HAVE_PERL 
INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOT DOXYGEN ETAGS GROFF GZIP 
POD2HTML POD2MAN RUNTEST TCLSH ZIP EG!
 REP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE 
CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 
FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 
LLVMCC1PLUS LLVMGCCDIR LLVMGCC_VERSION LLVMGCC_MAJVERS SHLIBEXT LLVM_PREFIX 
LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR 
LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME 
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix 
program_transform_name bindir sbindir libexecdir datadir sysconfdir 
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir 
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 
LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu 
host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX 
LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 
CVSBUILD ENABLE_OPTIMIZED DISABLE_ASSERTIONS DEBUG_RUNTIME JIT TARGET_HAS_JIT 
ENABLE_DOXYGEN ENABLE_THREADS TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX 
LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP 
MKDIR MV RANLIB ac_ct_RANLIB RM SED TAR GRAPHVIZ GV DOTTY PERL HAVE_PERL 
INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOT DOXYGEN ETAGS GROFF GZIP 
POD2HTML POD2MAN RUNTEST TCLSH !
 ZIP EGREP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE 
CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 
FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 
LLVMCC1PLUS LLVMGCCDIR LLVMGCC_VERSION LLVMGCC_MAJVERS SHLIBEXT LLVM_PREFIX 
LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR 
LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 
 # Initialize some variables set by options.
@@ -5126,6 +5126,7 @@
 echo "${ECHO_T}no" >&6
 fi
 
+
 # Extract the first word of "Graphviz", so it can be a program name with args.
 set dummy Graphviz; ac_word=$2
 echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -5230,6 +5231,58 @@
 _ACEOF
 
 fi
+# Extract the first word of "dotty", so it can be a program name with args.
+set dummy dotty; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_DOTTY+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  case $DOTTY in
+  [\\/]* | ?:[\\/]*)
+  ac_cv_path_DOTTY="$DOTTY" # Let the user override the test with a path.
+  ;;
+  *)
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ac_cv_path_DOTTY="$as_dir/$ac_word$ac_exec_ext"
+echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+break 2
+  fi
+done
+done
+
+  test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY="echo dotty"
+  ;;
+esac
+fi
+DOTTY=$ac_cv_path_DOTTY
+
+if test -n "$DOTTY"; then
+  echo "$as_me:$LINENO: result: $DOTTY" >&5
+echo "${ECHO_T}$DOTTY" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+if test "$DOTTY" != "echo dotty" ; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_DOTTY 1
+_ACEOF
+

[llvm-commits] CVS: llvm/configure

2006-06-05 Thread Reid Spencer


Changes in directory llvm:

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

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


---
Diffs of the changes:  (+106 -77)

 configure |  183 +++---
 1 files changed, 106 insertions(+), 77 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.235 llvm/configure:1.236
--- llvm/configure:1.235Fri Jun  2 18:13:18 2006
+++ llvm/configure  Mon Jun  5 10:54:38 2006
@@ -476,7 +476,7 @@
 # include 
 #endif"
 
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME 
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix 
program_transform_name bindir sbindir libexecdir datadir sysconfdir 
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir 
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 
LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu 
host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX 
LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 
CVSBUILD ENABLE_OPTIMIZED DISABLE_ASSERTIONS DEBUG_RUNTIME JIT TARGET_HAS_JIT 
ENABLE_DOXYGEN ENABLE_THREADS TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX 
LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP 
MKDIR MV RANLIB ac_ct_RANLIB RM SED TAR GRAPHVIZ GV DOTTY PERL HAVE_PERL 
INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOT DOXYGEN ETAGS GROFF GZIP 
POD2HTML POD2MAN RUNTEST TCLSH !
 ZIP EGREP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE 
CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 
FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 
LLVMCC1PLUS LLVMGCCDIR LLVMGCC_VERSION LLVMGCC_MAJVERS SHLIBEXT LLVM_PREFIX 
LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR 
LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME 
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix 
program_transform_name bindir sbindir libexecdir datadir sysconfdir 
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir 
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 
LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu 
host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX 
LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 
CVSBUILD ENABLE_OPTIMIZED DISABLE_ASSERTIONS DEBUG_RUNTIME JIT TARGET_HAS_JIT 
ENABLE_DOXYGEN ENABLE_THREADS TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX 
LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP 
MKDIR MV RANLIB ac_ct_RANLIB RM SED TAR GRAPHVIZ DOT GV DOTTY PERL HAVE_PERL 
INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOXYGEN ETAGS GROFF GZIP 
POD2HTML POD2MAN RUNTEST TCLSH !
 ZIP EGREP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE 
CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 
FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 
LLVMCC1PLUS LLVMGCCDIR LLVMGCC_VERSION LLVMGCC_MAJVERS SHLIBEXT LLVM_PREFIX 
LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR 
LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 
 # Initialize some variables set by options.
@@ -5173,14 +5173,74 @@
 #define HAVE_GRAPHVIZ 1
 _ACEOF
 
+if test "$llvm_cv_os_type" == "MingW" ; then
+GRAPHVIZ=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
+  fi
+
+cat >>confdefs.h <<_ACEOF
+#define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
+_ACEOF
+
+fi
+# Extract the first word of "dot", so it can be a program name with args.
+set dummy dot; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_DOT+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  case $DOT in
+  [\\/]* | ?:[\\/]*)
+  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
+  ;;
+  *)
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
+echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+break 2
+  fi
+done
+done
+
+  test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="echo dot"
+  ;;
+esac
+fi
+DOT=$ac_cv_path_DOT
+
+if test -n "$DOT"; then
+  echo "$as_me:$LINENO: result: $DOT" >&5
+echo "${ECHO_T}$DOT" >&6
+else
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+if test "$DOT" != "echo dot" ; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_DOT 1
+_ACEOF
+
+if test "$llvm_c

[llvm-commits] CVS: llvm/configure

2006-06-05 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.236 -> 1.237
---
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:  (+111 -3)

 configure |  114 --
 1 files changed, 111 insertions(+), 3 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.236 llvm/configure:1.237
--- llvm/configure:1.236Mon Jun  5 10:54:38 2006
+++ llvm/configure  Mon Jun  5 11:11:07 2006
@@ -26903,7 +26903,7 @@
 
 
 
-for ac_header in malloc.h signal.h stdint.h unistd.h utime.h windows.h
+for ac_header in malloc.h setjmp.h signal.h stdint.h unistd.h utime.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -27057,7 +27057,7 @@
 
 
 
-for ac_header in sys/mman.h sys/param.h sys/resource.h sys/time.h sys/types.h
+for ac_header in windows.h sys/mman.h sys/param.h sys/resource.h sys/time.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -27207,7 +27207,8 @@
 done
 
 
-for ac_header in malloc/malloc.h
+
+for ac_header in sys/types.h malloc/malloc.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -28408,6 +28409,113 @@
 fi
 done
 
+
+
+
+
+
+
+for ac_func in _setjmp _longjmp setjmp longjmp sigsetjmp siglongjmp
+do
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+echo "$as_me:$LINENO: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+if eval "test \"\${$as_ac_var+set}\" = set"; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+/* Define $ac_func to an innocuous variant, in case  declares 
$ac_func.
+   For example, HP-UX 11i  declares gettimeofday.  */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+which can conflict with char $ac_func (); below.
+Prefer  to  if __STDC__ is defined, since
+ exists even on freestanding compilers.  */
+
+#ifdef __STDC__
+# include 
+#else
+# include 
+#endif
+
+#undef $ac_func
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+to always fail with ENOSYS.  Some functions are actually named
+something starting with __ and the normal name is an alias.  */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+char (*f) () = $ac_func;
+#endif
+#ifdef __cplusplus
+}
+#endif
+
+int
+main ()
+{
+return f != $ac_func;
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+{ ac_try='test -z "$ac_c_werror_flag"
+|| test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+{ ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  eval "$as_ac_var=yes"
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+eval "$as_ac_var=no"
+fi
+rm -f conftest.err conftest.$ac_objext \
+  conftest$ac_exeext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+if test `eval echo '${'$as_ac_var'}'` = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
 echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6
 if test "${llvm_cv_c_printf_a+set}" = set; then



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


[llvm-commits] CVS: llvm/configure

2006-06-20 Thread John Criswell


Changes in directory llvm:

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

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


---
Diffs of the changes:  (+34 -29)

 configure |   63 +-
 1 files changed, 34 insertions(+), 29 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.237 llvm/configure:1.238
--- llvm/configure:1.237Mon Jun  5 11:11:07 2006
+++ llvm/configure  Tue Jun 20 12:44:37 2006
@@ -432,6 +432,7 @@
 ac_unique_file="lib/VMCore/Module.cpp"
 ac_subdirs_all="$ac_subdirs_all projects/sample"
 ac_subdirs_all="$ac_subdirs_all projects/Stacker"
+ac_subdirs_all="$ac_subdirs_all projects/privbracket"
 ac_subdirs_all="$ac_subdirs_all projects/llvm-test"
 ac_subdirs_all="$ac_subdirs_all projects/llvm-reopt"
 ac_subdirs_all="$ac_subdirs_all projects/llvm-gcc"
@@ -1584,6 +1585,10 @@
 
 subdirs="$subdirs projects/Stacker"
;;
+  "privbracket")
+
+subdirs="$subdirs projects/privbracket"
+ ;;
   "llvm-test")
 
 subdirs="$subdirs projects/llvm-test"
@@ -8550,7 +8555,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 10549 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -11026,7 +11031,7 @@
 
 
 # Provide some information about the compiler.
-echo "$as_me:11029:" \
+echo "$as_me:11034:" \
  "checking for Fortran 77 compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`
 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5
@@ -12083,11 +12088,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12086: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12091: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:12090: \$? = $ac_status" >&5
+   echo "$as_me:12095: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -12326,11 +12331,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12329: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12334: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:12333: \$? = $ac_status" >&5
+   echo "$as_me:12338: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -12386,11 +12391,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12389: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12394: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:12393: \$? = $ac_status" >&5
+   echo "$as_me:12398: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -14571,7 +14576,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:16870: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:16869: \$? = $ac_status" >&5
+   echo "$as_me:16874: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -16922,11 +16927,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:16925: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:16930: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:16929: \$? = $ac_status" >&5
+   echo "$as_me:16934: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -18283,7 +18288,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19226: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:19225: \$? = $ac_status" >&5
+   echo "$as_me:

[llvm-commits] CVS: llvm/configure

2006-07-06 Thread Evan Cheng


Changes in directory llvm:

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

Fixed a typo.

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

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


Index: llvm/configure
diff -u llvm/configure:1.239 llvm/configure:1.240
--- llvm/configure:1.239Tue Jun 20 17:16:32 2006
+++ llvm/configure  Thu Jul  6 02:46:33 2006
@@ -1041,7 +1041,7 @@
   --enable-jitEnable Just In Time Compiling (default is YES)
   --enable-doxygenBuild doxygen documentation (default is NO)
   --enable-threadsUse threads if available (default is YES)
-  --enable-target Build specific host targets:
+  --enable-targetsBuild specific host targets:
   all,host-only,{target-name} (default=all)
   --enable-ltdl-install   install libltdl
   --enable-shared[=PKGS]



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


[llvm-commits] CVS: llvm/configure

2006-07-28 Thread Reid Spencer


Changes in directory llvm:

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

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


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

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


Index: llvm/configure
diff -u llvm/configure:1.243 llvm/configure:1.244
--- llvm/configure:1.243Fri Jul 28 00:05:00 2006
+++ llvm/configure  Fri Jul 28 17:50:07 2006
@@ -3347,11 +3347,11 @@
   withval="$with_extra_options"
 
 else
-  extraopts=default
+  withval=default
 fi;
-case "$extraopts" in
+case "$withval" in
   default) EXTRA_OPTIONS= ;;
-  *) EXTRA_OPTIONS=$extraopts ;;
+  *) EXTRA_OPTIONS=$withval ;;
 esac
 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/configure

2006-08-08 Thread Evan Cheng


Changes in directory llvm:

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

Recover the lost diff between 1.221 and 1.222.

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

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


Index: llvm/configure
diff -u llvm/configure:1.245 llvm/configure:1.246
--- llvm/configure:1.245Fri Aug  4 13:18:07 2006
+++ llvm/configure  Wed Aug  9 00:40:14 2006
@@ -12218,7 +12218,7 @@
 case $host_os in
   darwin*)
 if test "$GCC" = yes; then
-  reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
+  reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o 
$output$reload_objs'
 else
   reload_cmds='$LD$reload_flag -o $output$reload_objs'
 fi



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


[llvm-commits] CVS: llvm/configure

2006-08-15 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.246 -> 1.247
---
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:  (+4 -0)

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


Index: llvm/configure
diff -u llvm/configure:1.246 llvm/configure:1.247
--- llvm/configure:1.246Wed Aug  9 00:40:14 2006
+++ llvm/configure  Tue Aug 15 19:45:38 2006
@@ -6,6 +6,9 @@
 ac_config_files="$ac_config_files Makefile.config"
 
 
+ac_config_files="$ac_config_files llvm.spec"
+
+
 ac_config_files="$ac_config_files docs/doxygen.cfg"
 
 
@@ -33944,6 +33947,7 @@
 "include/llvm/ADT/hash_set") CONFIG_HEADERS="$CONFIG_HEADERS 
include/llvm/ADT/hash_set" ;;
 "include/llvm/ADT/iterator") CONFIG_HEADERS="$CONFIG_HEADERS 
include/llvm/ADT/iterator" ;;
 "Makefile.config") CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
+"llvm.spec") CONFIG_FILES="$CONFIG_FILES llvm.spec" ;;
 "docs/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES docs/doxygen.cfg" ;;
 "tools/llvm-config/llvm-config.in") CONFIG_FILES="$CONFIG_FILES 
tools/llvm-config/llvm-config.in" ;;
 "setup") CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;



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


[llvm-commits] CVS: llvm/configure

2006-08-22 Thread Reid Spencer


Changes in directory llvm:

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

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


---
Diffs of the changes:  (+30 -68)

 configure |   98 ++
 1 files changed, 30 insertions(+), 68 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.247 llvm/configure:1.248
--- llvm/configure:1.247Tue Aug 15 19:45:38 2006
+++ llvm/configure  Tue Aug 22 17:21:37 2006
@@ -872,7 +872,6 @@
 INSTALL_DATA
 BZIP2
 DOXYGEN
-ETAGS
 GROFF
 GZIP
 POD2HTML
@@ -2220,6 +2219,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"
@@ -7466,47 +7470,6 @@
 fi
 
 
-# Extract the first word of "etags", so it can be a program name with args.
-set dummy etags; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_path_ETAGS+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  case $ETAGS in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p 
"$as_dir/$ac_word$ac_exec_ext"; }; then
-ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
-echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-break 2
-  fi
-done
-done
-IFS=$as_save_IFS
-
-  test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="echo "Skipped: etags not 
found""
-  ;;
-esac
-fi
-ETAGS=$ac_cv_path_ETAGS
-if test -n "$ETAGS"; then
-  { echo "$as_me:$LINENO: result: $ETAGS" >&5
-echo "${ECHO_T}$ETAGS" >&6; }
-else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
 # Extract the first word of "groff", so it can be a program name with args.
 set dummy groff; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -10305,7 +10268,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 12415 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -14167,11 +14130,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14170: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14133: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14174: \$? = $ac_status" >&5
+   echo "$as_me:14137: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14435,11 +14398,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14438: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14401: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14442: \$? = $ac_status" >&5
+   echo "$as_me:14405: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14539,11 +14502,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14542: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14505: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:14546: \$? = $ac_status" >&5
+   echo "$as_me:14509: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -16991,7 +16954,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19425: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:19466: \$? = $ac_sta

[llvm-commits] CVS: llvm/configure

2006-09-13 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.249 -> 1.250
---
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:  (+2 -1)

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


Index: llvm/configure
diff -u llvm/configure:1.249 llvm/configure:1.250
--- llvm/configure:1.249Thu Aug 24 17:41:20 2006
+++ llvm/configure  Thu Sep 14 01:17:20 2006
@@ -28833,7 +28833,8 @@
 
 
 
-for ac_header in sys/types.h malloc/malloc.h
+
+for ac_header in sys/types.h malloc/malloc.h mach/mach.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then



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


[llvm-commits] CVS: llvm/configure

2006-10-02 Thread Chris Lattner


Changes in directory llvm:

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

fix misleading warning


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

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


Index: llvm/configure
diff -u llvm/configure:1.250 llvm/configure:1.251
--- llvm/configure:1.250Thu Sep 14 01:17:20 2006
+++ llvm/configure  Mon Oct  2 12:24:55 2006
@@ -34823,8 +34823,8 @@
 if test "$llvm_cv_llvmgcc_sanity" = "no" ; then
  { echo "$as_me:$LINENO: WARNING: * llvm-gcc/llvm-g++ was not found, or 
does not appear to be " >&5
 echo "$as_me: WARNING: * llvm-gcc/llvm-g++ was not found, or does not 
appear to be " >&2;}
- { echo "$as_me:$LINENO: WARNING: * working. Please make sure you have 
llvmgcc and llvmg++ in" >&5
-echo "$as_me: WARNING: * working. Please make sure you have llvmgcc and 
llvmg++ in" >&2;}
+ { echo "$as_me:$LINENO: WARNING: * working. Please make sure you have 
llvm-gcc and llvm-g++ in" >&5
+echo "$as_me: WARNING: * working. Please make sure you have llvm-gcc and 
llvm-g++ in" >&2;}
  { echo "$as_me:$LINENO: WARNING: * your path before configuring LLVM. The 
runtime libraries" >&5
 echo "$as_me: WARNING: * your path before configuring LLVM. The runtime 
libraries" >&2;}
  { echo "$as_me:$LINENO: WARNING: * (llvm/runtime) will not be built but 
you should be able to" >&5



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


[llvm-commits] CVS: llvm/configure

2007-05-07 Thread Tanya Lattner


Changes in directory llvm:

configure updated: 1.275 -> 1.276
---
Log message:

Bumping cvs version number


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

 configure |   18 +-
 1 files changed, 9 insertions(+), 9 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.275 llvm/configure:1.276
--- llvm/configure:1.275Sat Apr 21 16:28:52 2007
+++ llvm/configure  Mon May  7 23:32:07 2007
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for llvm 2.0cvs.
+# Generated by GNU Autoconf 2.60 for llvm 2.1cvs.
 #
 # Report bugs to <[EMAIL PROTECTED]>.
 #
@@ -715,8 +715,8 @@
 # Identity of this package.
 PACKAGE_NAME='llvm'
 PACKAGE_TARNAME='-llvm-'
-PACKAGE_VERSION='2.0cvs'
-PACKAGE_STRING='llvm 2.0cvs'
+PACKAGE_VERSION='2.1cvs'
+PACKAGE_STRING='llvm 2.1cvs'
 PACKAGE_BUGREPORT='[EMAIL PROTECTED]'
 
 ac_unique_file="lib/VMCore/Module.cpp"
@@ -1450,7 +1450,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures llvm 2.0cvs to adapt to many kinds of systems.
+\`configure' configures llvm 2.1cvs to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1516,7 +1516,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of llvm 2.0cvs:";;
+ short | recursive ) echo "Configuration of llvm 2.1cvs:";;
esac
   cat <<\_ACEOF
 
@@ -1641,7 +1641,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-llvm configure 2.0cvs
+llvm configure 2.1cvs
 generated by GNU Autoconf 2.60
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1657,7 +1657,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by llvm $as_me 2.0cvs, which was
+It was created by llvm $as_me 2.1cvs, which was
 generated by GNU Autoconf 2.60.  Invocation command line was
 
   $ $0 $@
@@ -34017,7 +34017,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by llvm $as_me 2.0cvs, which was
+This file was extended by llvm $as_me 2.1cvs, which was
 generated by GNU Autoconf 2.60.  Invocation command line was
 
   CONFIG_FILES= $CONFIG_FILES
@@ -34070,7 +34070,7 @@
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-llvm config.status 2.0cvs
+llvm config.status 2.1cvs
 configured by $0, generated by GNU Autoconf 2.60,
   with options \\"`echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/&/g'`\\"
 



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


[llvm-commits] CVS: llvm/configure

2007-05-17 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.276 -> 1.277
---
Log message:

Regenerate.


---
Diffs of the changes:  (+27 -24)

 configure |   51 +++
 1 files changed, 27 insertions(+), 24 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.276 llvm/configure:1.277
--- llvm/configure:1.276Mon May  7 23:32:07 2007
+++ llvm/configure  Thu May 17 13:11:03 2007
@@ -7374,6 +7374,9 @@
 if test x"$PERL" = xnone; then
HAVE_PERL=0
 
+   { { echo "$as_me:$LINENO: error: perl is required but was not found, please 
install it" >&5
+echo "$as_me: error: perl is required but was not found, please install it" 
>&2;}
+   { (exit 1); exit 1; }; }
 else
HAVE_PERL=1
 
@@ -10340,7 +10343,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 12490 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -14202,11 +14205,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14205: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14208: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14209: \$? = $ac_status" >&5
+   echo "$as_me:14212: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14470,11 +14473,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14473: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14476: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14477: \$? = $ac_status" >&5
+   echo "$as_me:14480: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14574,11 +14577,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14577: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14580: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:14581: \$? = $ac_status" >&5
+   echo "$as_me:14584: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -17026,7 +17029,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19500: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:19501: \$? = $ac_status" >&5
+   echo "$as_me:19504: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -19598,11 +19601,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:19601: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:19604: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:19605: \$? = $ac_status" >&5
+   echo "$as_me:19608: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -21168,11 +21171,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:21171: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:21174: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:21175: \$? = $ac_status" >&5
+   echo "$as_me:21178: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -21272,11 +21275,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:21275: $lt_compile\"" >&5)

[llvm-commits] CVS: llvm/configure Makefile.config.in

2006-04-06 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.215 -> 1.216
Makefile.config.in updated: 1.53 -> 1.54
---
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:  (+11 -1)

 Makefile.config.in |2 ++
 configure  |   10 +-
 2 files changed, 11 insertions(+), 1 deletion(-)


Index: llvm/configure
diff -u llvm/configure:1.215 llvm/configure:1.216
--- llvm/configure:1.215Thu Mar 23 17:21:29 2006
+++ llvm/configure  Thu Apr  6 17:00:36 2006
@@ -476,7 +476,7 @@
 # include 
 #endif"
 
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME 
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix 
program_transform_name bindir sbindir libexecdir datadir sysconfdir 
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir 
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 
LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu 
host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX 
LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 
ENABLE_OPTIMIZED DEBUG_RUNTIME JIT TARGET_HAS_JIT ENABLE_DOXYGEN ENABLE_THREADS 
TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX LEXLIB LEX_OUTPUT_ROOT FLEX 
YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP MKDIR MV RANLIB ac_ct_RANLIB RM 
SED TAR GRAPHVIZ GV PERL HAVE_PERL INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 
BZIP2 DOT DOXYGEN ETAGS GROFF GZIP POD2HTML POD2MAN RUNTEST TCLSH ZIP EGREP 
INSTALL_LTDL_TRUE INSTAL!
 L_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR 
ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS 
LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 LLVMCC1PLUS LLVMGCCDIR SHLIBEXT 
LLVM_PREFIX LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR 
LLVM_INCLUDEDIR LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME 
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix 
program_transform_name bindir sbindir libexecdir datadir sysconfdir 
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir 
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 
LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu 
host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX 
LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 
ENABLE_OPTIMIZED DEBUG_RUNTIME JIT TARGET_HAS_JIT ENABLE_DOXYGEN ENABLE_THREADS 
TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX LEXLIB LEX_OUTPUT_ROOT FLEX 
YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP MKDIR MV RANLIB ac_ct_RANLIB RM 
SED TAR GRAPHVIZ GV PERL HAVE_PERL INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 
BZIP2 DOT DOXYGEN ETAGS GROFF GZIP POD2HTML POD2MAN RUNTEST TCLSH ZIP EGREP 
INSTALL_LTDL_TRUE INSTAL!
 L_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR 
ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS 
LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 LLVMCC1PLUS LLVMGCCDIR LLVMGCC_VERSION 
LLVMGCC_MAJVERS SHLIBEXT LLVM_PREFIX LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR 
LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR LLVM_INFODIR LLVM_MANDIR 
LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 
 # Initialize some variables set by options.
@@ -30696,6 +30696,12 @@
   llvmgccdir=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
   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/'`
+  LLVMGCC_VERSION=$llvmgccversion
+
+  LLVMGCC_MAJVERS=$llvmgccmajvers
+
 fi
 
 SHLIBEXT=$libltdl_cv_shlibext
@@ -31584,6 +31590,8 @@
 s,@LLVMCC1@,$LLVMCC1,;t t
 s,@LLVMCC1PLUS@,$LLVMCC1PLUS,;t t
 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
+s,@LLVMGCC_VERSION@,$LLVMGCC_VERSION,;t t
+s,@LLVMGCC_MAJVERS@,$LLVMGCC_MAJVERS,;t t
 s,@SHLIBEXT@,$SHLIBEXT,;t t
 s,@LLVM_PREFIX@,$LLVM_PREFIX,;t t
 s,@LLVM_BINDIR@,$LLVM_BINDIR,;t t


Index: llvm/Makefile.config.in
diff -u llvm/Makefile.config.in:1.53 llvm/Makefile.config.in:1.54
--- llvm/Makefile.config.in:1.53Thu Mar 23 17:21:29 2006
+++ llvm/Makefile.config.in Thu Apr  6 17:00:36 2006
@@ -167,6 +167,8 @@
 LLVMGXX  := @LLVMGXX@
 LLVMCC1  := @LLVMCC1@
 LLVMCC1PLUS := @LLVMCC1PLUS@
+LLVMGCC_VERSION := @LLVMGCC_VERSION@
+LLVMGCC_MAJVERS := @LLVMGCC_MAJVERS@
 
 # Path to directory where object files should be stored during a build.
 # Set OBJ_ROOT to "." if you do not want to use a separate place for



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


[llvm-commits] CVS: llvm/configure Makefile.config.in

2006-04-09 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.218 -> 1.219
Makefile.config.in updated: 1.55 -> 1.56
---
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:  (+37 -39)

 Makefile.config.in |4 +-
 configure  |   72 +
 2 files changed, 37 insertions(+), 39 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.218 llvm/configure:1.219
--- llvm/configure:1.218Fri Apr  7 20:41:26 2006
+++ llvm/configure  Sun Apr  9 15:42:14 2006
@@ -476,7 +476,7 @@
 # include 
 #endif"
 
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME 
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix 
program_transform_name bindir sbindir libexecdir datadir sysconfdir 
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir 
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 
LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu 
host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX 
LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 
CVSBUILD ENABLE_OPTIMIZED ENABLE_ASSERTIONS DEBUG_RUNTIME JIT TARGET_HAS_JIT 
ENABLE_DOXYGEN ENABLE_THREADS TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX 
LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP 
MKDIR MV RANLIB ac_ct_RANLIB RM SED TAR GRAPHVIZ GV PERL HAVE_PERL 
INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOT DOXYGEN ETAGS GROFF GZIP 
POD2HTML POD2MAN RUNTEST TCLSH ZIP EGR!
 EP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE 
CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 
FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 
LLVMCC1PLUS LLVMGCCDIR LLVMGCC_VERSION LLVMGCC_MAJVERS SHLIBEXT LLVM_PREFIX 
LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR 
LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME 
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix 
program_transform_name bindir sbindir libexecdir datadir sysconfdir 
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir 
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 
LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu 
host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX 
LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 
CVSBUILD ENABLE_OPTIMIZED DISABLE_ASSERTIONS DEBUG_RUNTIME JIT TARGET_HAS_JIT 
ENABLE_DOXYGEN ENABLE_THREADS TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX 
LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP 
MKDIR MV RANLIB ac_ct_RANLIB RM SED TAR GRAPHVIZ GV PERL HAVE_PERL 
INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOT DOXYGEN ETAGS GROFF GZIP 
POD2HTML POD2MAN RUNTEST TCLSH ZIP EG!
 REP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE 
CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 
FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 
LLVMCC1PLUS LLVMGCCDIR LLVMGCC_VERSION LLVMGCC_MAJVERS SHLIBEXT LLVM_PREFIX 
LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR 
LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 
 # Initialize some variables set by options.
@@ -2971,13 +2971,11 @@
 if test -d "CVS" -o -d "${srcdir}/CVS"; then
   cvsbuild="yes"
   optimize="no"
-  asserts="yes"
   CVSBUILD=CVSBUILD=1
 
 else
   cvsbuild="no"
   optimize="yes"
-  asserts="no"
 fi
 
 
@@ -3001,13 +2999,13 @@
   enableval="$enable_assertions"
 
 else
-  enableval=$asserts
+  enableval="yes"
 fi;
-if test ${enableval} = "no" ; then
-  ENABLE_ASSERTIONS=
+if test ${enableval} = "yes" ; then
+  DISABLE_ASSERTIONS=
 
 else
-  ENABLE_ASSERTIONS=ENABLE_ASSERTIONS=1
+  DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
 
 fi
 
@@ -8467,7 +8465,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 10459 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -10943,7 +10941,7 @@
 
 
 # Provide some information about the compiler.
-echo "$as_me:10946:" \
+echo "$as_me:10944:" \
  "checking for Fortran 77 compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`
 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5
@@ -12000,11 +11998,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo

[llvm-commits] CVS: llvm/configure Makefile.config.in

2006-11-03 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.251 -> 1.252
Makefile.config.in updated: 1.64 -> 1.65
---
Log message:

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


---
Diffs of the changes:  (+109 -25)

 Makefile.config.in |4 +
 configure  |  130 ++---
 2 files changed, 109 insertions(+), 25 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.251 llvm/configure:1.252
--- llvm/configure:1.251Mon Oct  2 12:24:55 2006
+++ llvm/configure  Fri Nov  3 12:04:08 2006
@@ -895,6 +895,7 @@
 ETAGSFLAGS
 LLVMGCC
 LLVMGXX
+HUGE_VAL_SANITY
 ALLOCA
 MMAP_FILE
 LLVMCC1
@@ -10268,7 +10269,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 12416 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -14130,11 +14131,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14133: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14134: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14137: \$? = $ac_status" >&5
+   echo "$as_me:14138: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14398,11 +14399,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14401: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14402: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14405: \$? = $ac_status" >&5
+   echo "$as_me:14406: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14502,11 +14503,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14505: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14506: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:14509: \$? = $ac_status" >&5
+   echo "$as_me:14510: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -16954,7 +16955,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19426: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:19429: \$? = $ac_status" >&5
+   echo "$as_me:19430: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -19526,11 +19527,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:19529: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:19530: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:19533: \$? = $ac_status" >&5
+   echo "$as_me:19534: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -21096,11 +21097,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:21099: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:21100: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:21103: \$? = $ac_status" >&5
+   echo "$as_me:21104: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -21200,11 +21201,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:21203: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:21204: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.e

[llvm-commits] CVS: llvm/configure Makefile.config.in

2006-11-30 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.257 -> 1.258
Makefile.config.in updated: 1.68 -> 1.69
---
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:  (+71 -71)

 Makefile.config.in |3 -
 configure  |  139 ++---
 2 files changed, 71 insertions(+), 71 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.257 llvm/configure:1.258
--- llvm/configure:1.257Thu Nov 16 21:32:33 2006
+++ llvm/configure  Thu Nov 30 18:37:14 2006
@@ -896,6 +896,7 @@
 ETAGSFLAGS
 LLVMGCC
 LLVMGXX
+HAVE_PTHREAD
 HUGE_VAL_SANITY
 ALLOCA
 MMAP_FILE
@@ -10298,7 +10299,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 12446 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -14160,11 +14161,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14163: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14164: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14167: \$? = $ac_status" >&5
+   echo "$as_me:14168: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14428,11 +14429,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14431: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14432: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14435: \$? = $ac_status" >&5
+   echo "$as_me:14436: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14532,11 +14533,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14535: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14536: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:14539: \$? = $ac_status" >&5
+   echo "$as_me:14540: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -16984,7 +16985,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19456: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:19459: \$? = $ac_status" >&5
+   echo "$as_me:19460: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -19556,11 +19557,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:19559: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:19560: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:19563: \$? = $ac_status" >&5
+   echo "$as_me:19564: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -21126,11 +21127,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:21129: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:21130: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:21133: \$? = $ac_status" >&5
+   echo "$as_me:21134: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -21230,11 +21231,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-  

[llvm-commits] CVS: llvm/configure Makefile.rules

2006-06-01 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.233 -> 1.234
Makefile.rules updated: 1.376 -> 1.377
---
Log message:

Provide configuration support and usage for MINGW32 platform


---
Diffs of the changes:  (+25 -334)

 Makefile.rules |6 
 configure  |  353 +++--
 2 files changed, 25 insertions(+), 334 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.233 llvm/configure:1.234
--- llvm/configure:1.233Thu Jun  1 12:44:29 2006
+++ llvm/configure  Thu Jun  1 14:03:21 2006
@@ -25147,310 +25147,9 @@
 
 if test "$llvm_cv_os_type" == "MingW" ; then
 
-for ac_header in windows.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
-  echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
-else
-  # Is the header compilable?
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-  (eval $ac_compile) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-{ ac_try='test -z "$ac_c_werror_flag"
-|| test ! -s conftest.err'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-{ ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-ac_header_compiler=no
-fi
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6
-
-# Is the header present?
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-ac_cpp_err=$ac_c_preproc_warn_flag
-ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-rm -f conftest.err conftest.$ac_ext
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-ac_header_preproc=yes
-;;
-  no:yes:* )
-{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite 
headers?" >&2;}
-{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf 
documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But 
Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be 
Compiled\"" >&2;}
-{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with th

[llvm-commits] CVS: llvm/configure Makefile.config.in Makefile.rules

2006-12-16 Thread Reid Spencer


Changes in directory llvm:

configure updated: 1.260 -> 1.261
Makefile.config.in updated: 1.71 -> 1.72
Makefile.rules updated: 1.415 -> 1.416
---
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:  (+68 -28)

 Makefile.config.in |3 +
 Makefile.rules |   13 +++-
 configure  |   80 +++--
 3 files changed, 68 insertions(+), 28 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.260 llvm/configure:1.261
--- llvm/configure:1.260Sun Dec 10 17:29:19 2006
+++ llvm/configure  Sat Dec 16 16:07:52 2006
@@ -835,6 +835,7 @@
 TARGET_HAS_JIT
 ENABLE_DOXYGEN
 ENABLE_THREADS
+ENABLE_PIC
 TARGETS_TO_BUILD
 ENABLE_CBE_PRINTF_A
 EXTRA_OPTIONS
@@ -1525,6 +1526,8 @@
   --enable-jitEnable Just In Time Compiling (default is YES)
   --enable-doxygenBuild doxygen documentation (default is NO)
   --enable-threadsUse threads if available (default is YES)
+  --enable-picBuild LLVM with Position Independent Code (default
+  is NO)
   --enable-targetsBuild specific host targets:
   all,host-only,{target-name} (default=all)
   --enable-cbe-printf-a   Enable C Backend output with hex floating point via
@@ -4652,6 +4655,30 @@
 _ACEOF
 
 
+# Check whether --enable-pic was given.
+if test "${enable_pic+set}" = set; then
+  enableval=$enable_pic;
+else
+  enableval=default
+fi
+
+case "$enableval" in
+  yes) ENABLE_PIC=1
+ ;;
+  no)  ENABLE_PIC=0
+ ;;
+  default) ENABLE_PIC=0
+ ;;
+  *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use 
\"yes\" or \"no\"" >&5
+echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" 
>&2;}
+   { (exit 1); exit 1; }; } ;;
+esac
+
+cat >>confdefs.h <<_ACEOF
+#define ENABLE_PIC $ENABLE_PIC
+_ACEOF
+
+
 TARGETS_TO_BUILD=""
 # Check whether --enable-targets was given.
 if test "${enable_targets+set}" = set; then
@@ -10299,7 +10326,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 12473 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -14161,11 +14188,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14164: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14191: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14168: \$? = $ac_status" >&5
+   echo "$as_me:14195: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14429,11 +14456,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14432: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14459: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14436: \$? = $ac_status" >&5
+   echo "$as_me:14463: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14533,11 +14560,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14536: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14563: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:14540: \$? = $ac_status" >&5
+   echo "$as_me:14567: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -16985,7 +17012,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19483: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:19460: \$? = $ac_status" >&5
+   echo "$as_me:19487: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -19557,11 +19584,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_com

[llvm-commits] CVS: llvm/configure Makefile.rules Makefile.config.in

2007-06-28 Thread David Greene


Changes in directory llvm:

configure updated: 1.277 -> 1.278
Makefile.rules updated: 1.435 -> 1.436
Makefile.config.in updated: 1.76 -> 1.77
---
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:  (+66 -28)

 Makefile.config.in |5 +++
 Makefile.rules |   10 ++
 configure  |   79 ++---
 3 files changed, 66 insertions(+), 28 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.277 llvm/configure:1.278
--- llvm/configure:1.277Thu May 17 13:11:03 2007
+++ llvm/configure  Thu Jun 28 14:36:07 2007
@@ -830,6 +830,8 @@
 CVSBUILD
 ENABLE_OPTIMIZED
 DISABLE_ASSERTIONS
+ENABLE_EXPENSIVE_CHECKS
+EXPENSIVE_CHECKS
 DEBUG_RUNTIME
 JIT
 TARGET_HAS_JIT
@@ -1525,6 +1527,8 @@
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --enable-optimized
   --enable-assertions
+  --enable-expensive-checks
+
   --enable-debug-runtime
   --enable-jitEnable Just In Time Compiling (default is YES)
   --enable-doxygenBuild doxygen documentation (default is NO)
@@ -4577,6 +4581,25 @@
 
 fi
 
+# Check whether --enable-expensive-checks was given.
+if test "${enable_expensive_checks+set}" = set; then
+  enableval=$enable_expensive_checks;
+else
+  enableval="no"
+fi
+
+if test ${enableval} = "yes" ; then
+  ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
+
+  EXPENSIVE_CHECKS=yes
+
+else
+  ENABLE_EXPENSIVE_CHECKS=
+
+  EXPENSIVE_CHECKS=no
+
+fi
+
 # Check whether --enable-debug-runtime was given.
 if test "${enable_debug_runtime+set}" = set; then
   enableval=$enable_debug_runtime;
@@ -10343,7 +10366,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext
+  echo '#line 12513 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -14205,11 +14228,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14208: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14231: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14212: \$? = $ac_status" >&5
+   echo "$as_me:14235: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14473,11 +14496,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14476: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14499: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:14480: \$? = $ac_status" >&5
+   echo "$as_me:14503: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -14577,11 +14600,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14580: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14603: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:14584: \$? = $ac_status" >&5
+   echo "$as_me:14607: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -17029,7 +17052,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:19523: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:19504: \$? = $ac_status" >&5
+   echo "$as_me:19527: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -19601,11 +19624,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \

Re: [llvm-commits] CVS: llvm/configure Makefile.rules Makefile.config.in

2007-06-28 Thread Reid Spencer
Hi David,

A couple comments ...

On Thu, 2007-06-28 at 14:36 -0500, David Greene wrote:
> 
> Changes in directory llvm:
> 
> configure updated: 1.277 -> 1.278
> Makefile.rules updated: 1.435 -> 1.436
> Makefile.config.in updated: 1.76 -> 1.77
> ---
> 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.

Sounds good.


> 
> 
> ---
> Diffs of the changes:  (+66 -28)
> 
>  Makefile.config.in |5 +++
>  Makefile.rules |   10 ++
>  configure  |   79 
> ++---
>  3 files changed, 66 insertions(+), 28 deletions(-)
> 
> 
> Index: llvm/configure

Please don't commit generated files with non-generated files.

> diff -u llvm/configure:1.277 llvm/configure:1.278
> --- llvm/configure:1.277  Thu May 17 13:11:03 2007
> +++ llvm/configureThu Jun 28 14:36:07 2007
> @@ -830,6 +830,8 @@
>  CVSBUILD
>  ENABLE_OPTIMIZED
>  DISABLE_ASSERTIONS
> +ENABLE_EXPENSIVE_CHECKS
> +EXPENSIVE_CHECKS
>  DEBUG_RUNTIME
>  JIT
>  TARGET_HAS_JIT
> @@ -1525,6 +1527,8 @@
>--enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
>--enable-optimized
>--enable-assertions
> +  --enable-expensive-checks
> +
>--enable-debug-runtime
>--enable-jitEnable Just In Time Compiling (default is YES)
>--enable-doxygenBuild doxygen documentation (default is NO)
> @@ -4577,6 +4581,25 @@
>  
>  fi
>  
> +# Check whether --enable-expensive-checks was given.
> +if test "${enable_expensive_checks+set}" = set; then
> +  enableval=$enable_expensive_checks;
> +else
> +  enableval="no"
> +fi
> +
> +if test ${enableval} = "yes" ; then
> +  ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
> +
> +  EXPENSIVE_CHECKS=yes
> +
> +else
> +  ENABLE_EXPENSIVE_CHECKS=
> +
> +  EXPENSIVE_CHECKS=no
> +
> +fi
> +
>  # Check whether --enable-debug-runtime was given.
>  if test "${enable_debug_runtime+set}" = set; then
>enableval=$enable_debug_runtime;
> @@ -10343,7 +10366,7 @@
>lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>lt_status=$lt_dlunknown
>cat > conftest.$ac_ext < -#line 10346 "configure"
> +#line 10369 "configure"
>  #include "confdefs.h"
>  
>  #if HAVE_DLFCN_H
> @@ -12487,7 +12510,7 @@
>;;
>  *-*-irix6*)
># Find out which ABI we are using.
> -  echo '#line 12490 "configure"' > conftest.$ac_ext
> +  echo '#line 12513 "configure"' > conftest.$ac_ext
>if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
>(eval $ac_compile) 2>&5
>ac_status=$?
> @@ -14205,11 +14228,11 @@
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
> -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
> -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:14208: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:14231: $lt_compile\"" >&5)
> (eval "$lt_compile" 2>conftest.err)
> ac_status=$?
> cat conftest.err >&5
> -   echo "$as_me:14212: \$? = $ac_status" >&5
> +   echo "$as_me:14235: \$? = $ac_status" >&5
> if (exit $ac_status) && test -s "$ac_outfile"; then
>   # The compiler can only warn and ignore the option if not recognized
>   # So say no if there are warnings other than the usual output.
> @@ -14473,11 +14496,11 @@
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
> -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
> -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:14476: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:14499: $lt_compile\"" >&5)
> (eval "$lt_compile" 2>conftest.err)
> ac_status=$?
> cat conftest.err >&5
> -   echo "$as_me:14480: \$? = $ac_status" >&5
> +   echo "$as_me:14503: \$? = $ac_status" >&5
> if (exit $ac_status) && test -s "$ac_outfile"; then
>   # The compiler can only warn and ignore the option if not recognized
>   # So say no if there are warnings other than the usual output.
> @@ -14577,11 +14600,11 @@
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
> -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
> -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:14580: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:14603: $lt_compile\"" >&5)
> (eval "$lt_compile" 2>out/conftest.err)
> ac_status=$?
> cat out/conftest.err >&5
> -   echo "$as_me:14584: \$? = $ac_status" >&5
> +   echo "$as_me:14607: \$? = $ac_status" >&5
> if (exit $ac_status) && test -s out/conftest2.$ac_objext
> then
>   # The compiler can only warn and ignore the option if not recognized
> @@ -17029,7 +17052,7 @@
>lt_dlunknown=0; lt_dlno_uscore=1; lt_dlnee

Re: [llvm-commits] CVS: llvm/configure Makefile.rules Makefile.config.in

2007-06-28 Thread Reid Spencer
On Thu, 2007-06-28 at 22:35 -0500, David A. Greene wrote:
> On Thursday 28 June 2007 22:32, David A. Greene wrote:
> 
> > > You're introducing CPP.Defines but I don't see it used in this file. Is
> > > this for future use?
> >
> > Ah, I think that's an artifact of something I was going to do for
> > llvm-config but decided against.  I'll clean it up.
> 
> Scratch that.  It IS used by the llvm-config Makefile:

Ah, okay. I missed that connection.

Reid.

> 
> # Combine preprocessor flags (except for -I) and CXX flags.
> SUB_CPPFLAGS = ${CPP.Defines}
> SUB_CFLAGS = ${CPP.BaseFlags} ${C.Flags}
> SUB_CXXFLAGS = ${CPP.BaseFlags} ${CXX.Flags}
> 
> I need that for --cppflags support.
> 
>  -Dave
> ___
> 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/configure Makefile.ru les Makefile.config.in

2007-06-28 Thread David A. Greene
On Thursday 28 June 2007 20:14, Reid Spencer wrote:

> > Index: llvm/configure
>
> Please don't commit generated files with non-generated files.

Oops, sorry about that.

> > +# If DISABLE_EXPENSIVE_CHECKS=1 is specified (make command line or
> > configured), +# then disable expensive checks by defining the appropriate
> > preprocessor symbols.
>
> This comment doesn't jive with the code below. The comment talks about
> DISABLE_* while the code is for ENABLE_*  .. please synchronize

I noticed that just before I had to leave for a meeting.  I'll get a fix in 
tonight.


> >  CXX.Flags += $(CXXFLAGS) -Woverloaded-virtual
> >  C.Flags   += $(CFLAGS)
> > -CPP.BaseFlags += $(CPPFLAGS)
> > +CPP.Defines   += $(CPPFLAGS)
> > +CPP.BaseFlags += $(CPP.Defines)
>
> You're introducing CPP.Defines but I don't see it used in this file. Is
> this for future use?

Ah, I think that's an artifact of something I was going to do for llvm-config
but decided against.  I'll clean it up.

Thanks for the feedback.

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


Re: [llvm-commits] CVS: llvm/configure Makefile.ru les Makefile.config.in

2007-06-28 Thread David A. Greene
On Thursday 28 June 2007 22:32, David A. Greene wrote:

> > You're introducing CPP.Defines but I don't see it used in this file. Is
> > this for future use?
>
> Ah, I think that's an artifact of something I was going to do for
> llvm-config but decided against.  I'll clean it up.

Scratch that.  It IS used by the llvm-config Makefile:

# Combine preprocessor flags (except for -I) and CXX flags.
SUB_CPPFLAGS = ${CPP.Defines}
SUB_CFLAGS = ${CPP.BaseFlags} ${C.Flags}
SUB_CXXFLAGS = ${CPP.BaseFlags} ${CXX.Flags}

I need that for --cppflags support.

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