.
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=38
This commit is contained in:
parent
f0af5115c4
commit
30be3f9e71
@ -31,7 +31,7 @@
|
||||
AC_ARG_ENABLE([automatic-create],
|
||||
[AS_HELP_STRING([--enable-automatic-create], [allow man to create user databases on the fly])],
|
||||
[if test "$enableval" = "yes"
|
||||
@@ -375,6 +387,40 @@ AC_SUBST([unlzma])
|
||||
@@ -375,6 +387,46 @@ AC_SUBST([unlzma])
|
||||
AC_SUBST([unxz])
|
||||
AC_SUBST([unlzip])
|
||||
MAN_COMPRESS_LIB([z], [gzopen])
|
||||
@ -43,7 +43,7 @@
|
||||
+ AC_CHECK_HEADER(zio.h,[
|
||||
+ for lib in ${zio#lib} zio
|
||||
+ do
|
||||
+ AC_CHECK_LIB($lib, fzopen, [LIBS="-l$lib $LIBS"; am_cv_libzio=yes])
|
||||
+ AC_CHECK_LIB($lib, fzopen, [LIBS="-l$lib $LIBS"; am_cv_libzio=yes])
|
||||
+ done
|
||||
+ ])
|
||||
+ if test "$am_cv_libzio" = yes; then
|
||||
@ -52,19 +52,25 @@
|
||||
+ AC_CHECK_HEADER(zlib.h,[
|
||||
+ for lib in z gz
|
||||
+ do
|
||||
+ AC_CHECK_LIB($lib, gzopen, [LIBS="$LIBS -Wl,--no-as-needed -l$lib"; break])
|
||||
+ AC_CHECK_LIB($lib, gzopen, [LIBS="$LIBS -Wl,--no-as-needed -l$lib"; break])
|
||||
+ done
|
||||
+ ])
|
||||
+ AC_CHECK_HEADER(bzlib.h,[
|
||||
+ for lib in bz2 bzip2
|
||||
+ do
|
||||
+ AC_CHECK_LIB($lib, BZ2_bzopen, [LIBS="$LIBS -Wl,--no-as-needed -l$lib"; break])
|
||||
+ AC_CHECK_LIB($lib, BZ2_bzopen, [LIBS="$LIBS -Wl,--no-as-needed -l$lib"; break])
|
||||
+ done
|
||||
+ ])
|
||||
+ AC_CHECK_HEADER(lzmadec.h, [
|
||||
+ for lib in lzma lzmadec
|
||||
+ do
|
||||
+ AC_CHECK_LIB($lib, lzmadec_open, [LIBS="$LIBS -Wl,--no-as-needed -l$lib"; break])
|
||||
+ done
|
||||
+ ])
|
||||
+ AC_CHECK_HEADER(lzma.h, [
|
||||
+ for lib in lzma lzmadec
|
||||
+ for lib in lzma
|
||||
+ do
|
||||
+ AC_CHECK_LIB($lib, lzmadec_open, [LIBS="$LIBS -Wl,--no-as-needed -l$lib"; break])
|
||||
+ AC_CHECK_LIB($lib, lzma_easy_encoder, [LIBS="$LIBS -Wl,--no-as-needed -l$lib"; break])
|
||||
+ done
|
||||
+ ])
|
||||
+ fi
|
||||
|
Loading…
Reference in New Issue
Block a user