[pacman-dev] [patch] remove configure check for bzip2

Dan McGee dpmcgee at gmail.com
Mon Jan 8 10:57:09 EST 2007


Switch to libarchive means this check should no longer be needed.

Signed-off-by: Dan McGee <dpmcgee at gmail.com>

---

--- pacman-lib.orig/configure.ac        2007-01-07 21:11:03.000000000 -0500
+++ pacman-lib/configure.ac     2007-01-08 10:55:01.000000000 -0500
@@ -291,14 +291,6 @@
     JAVASTATUS="no, disabled by configure"
 fi

-dnl Check for bzip2
-AC_CHECK_LIB([bz2], [BZ2_bzCompress], [AC_CHECK_HEADER([bzlib.h],
[LIBBZ2='-lbz2'])])
-if test -n "$LIBBZ2"; then
-    LDFLAGS="$LDFLAGS $LIBBZ2"
-else
-    AC_MSG_ERROR("bzip2 library and its include files are needed to
build pacman!");
-fi
-
 dnl Check for math
 AC_CHECK_LIB([m], [log10], [AC_CHECK_HEADER([math.h], [LIBM='-lm'])])
 if test -n "$LIBM"; then




More information about the pacman-dev mailing list