summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure b/configure
index 830b68bc04..5a9a2f5670 100755
--- a/configure
+++ b/configure
@@ -5986,6 +5986,21 @@ fi
echores "$_zlib"
+echocheck "bzlib"
+bzlib=no
+def_bzlib='#define CONFIG_BZLIB 0'
+cat > $TMPC << EOF
+#include <bzlib.h>
+int main(void) { BZ2_bzlibVersion(); return 0; }
+EOF
+cc_check -lbz2 && bzlib=yes
+if test "$bzlib" = yes ; then
+ def_bzlib='#define CONFIG_BZLIB 1'
+ _ld_extra="$_ld_extra -lbz2"
+fi
+echores "$bzlib"
+
+
echocheck "RTC"
if test "$_rtc" = auto ; then
cat > $TMPC << EOF