aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-10-04 18:02:55 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-10-04 18:02:55 +0000
commit5cb99fbd679d00b4c2d354c4485ce95377aec93a (patch)
tree862f015751d1bafa88b2a81926a3fc6cbb038d32
parent94926f0106d422aa6d319065de2d7f55c3bac929 (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16657 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--autoconf/configure.ac16
1 files changed, 9 insertions, 7 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index bdc3151ce3..c7a0bfcf6a 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -257,14 +257,7 @@ if test $zlib_found -eq 1 ; then
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 @@ AC_DEFINE_UNQUOTED(LLVM_CONFIGTIME, "$LLVM_CONFIGTIME", [Time at which LLVM was
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