summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in4
-rw-r--r--misc/xine-lib.spec.in1
2 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 669dd24be..cb81eba1c 100644
--- a/configure.in
+++ b/configure.in
@@ -249,10 +249,10 @@ dnl
dnl zlib
dnl
dnl Test for libz
-AC_CHECK_LIB(z, gzsetparams,
+AC_CHECK_LIB(z, gzsetparams,
[ AC_CHECK_HEADER(zlib.h,
have_zlib=yes
- ZLIB_LIBS="-lz",)])
+ ZLIB_LIBS="-lz",)], AC_MSG_ERROR(zlib needed))
AM_CONDITIONAL(HAVE_ZLIB, [test x"$have_zlib" = "xyes"])
AC_SUBST(ZLIB_LIBS)
diff --git a/misc/xine-lib.spec.in b/misc/xine-lib.spec.in
index e4486d8cf..0da8c9072 100644
--- a/misc/xine-lib.spec.in
+++ b/misc/xine-lib.spec.in
@@ -14,6 +14,7 @@ Group: Development/Libraries
Source: http://xine.sourceforge.net/files/@PACKAGE@-@VERSION@.tar.gz
URL: http://xine.sourceforge.net
Packager: Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
+Requires: zlib
BuildRoot: /tmp/%{name}-root
@HAVE_OSS_TRUE@%package oss