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

Reid Spencer reid at x10sys.com
Mon Oct 4 11:03:06 PDT 2004



Changes in directory llvm/autoconf:

configure.ac updated: 1.121 -> 1.122
---
Log message:

Move the warning about no compression library down to the bottom, away
from the fray, so it gets noticed. This commit is made without the 
corresponding configure script commit because it doesn't affect 
functionality and we don't want to force everyone into another reconfigure


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

Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.121 llvm/autoconf/configure.ac:1.122
--- llvm/autoconf/configure.ac:1.121	Mon Oct  4 02:05:07 2004
+++ llvm/autoconf/configure.ac	Mon Oct  4 13:02:55 2004
@@ -257,14 +257,7 @@
 fi
 if test $bzip2_found -eq 1 ; then
   AC_DEFINE([HAVE_BZIP2],[1],[Define if bzip2 library is available on this platform.])
-else
-  if test $zlib_found -ne 1 ; then
-    AC_MSG_WARN([**** Neither zlib nor bzip2 compression libraries were found -
-                 archives will not support compression! Install bzip2 or zlib
-                 and then reconfigure to ensure compatibility])
-  fi
 fi
-
 dnl dlopen() is required for plugin support.
 AC_SEARCH_LIBS(dlopen,dl,AC_DEFINE([HAVE_DLOPEN],[1],[Define if dlopen() is available on this platform.]),AC_MSG_WARN([dlopen() not found - disabling plugin support]))
 
@@ -453,6 +446,15 @@
 dnl Create the output files
 AC_OUTPUT
 
+dnl Warn if we don't have a compression library
+if test $bzip2_found -ne 1 ; then
+  if test $zlib_found -ne 1 ; then
+    AC_MSG_WARN([*** Neither zlib nor bzip2 compression libraries were found.])
+    AC_MSG_WARN([*** Bytecode archives will not support compression!])
+    AC_MSG_WARN([*** To correct, install the libraries and and re-run configure.])
+  fi
+fi
+
 dnl Warn loudly if llvm-gcc was not obviously working
 if test $llvmgccwarn = yes
 then






More information about the llvm-commits mailing list