.
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],
|
AC_ARG_ENABLE([automatic-create],
|
||||||
[AS_HELP_STRING([--enable-automatic-create], [allow man to create user databases on the fly])],
|
[AS_HELP_STRING([--enable-automatic-create], [allow man to create user databases on the fly])],
|
||||||
[if test "$enableval" = "yes"
|
[if test "$enableval" = "yes"
|
||||||
@@ -375,6 +387,40 @@ AC_SUBST([unlzma])
|
@@ -375,6 +387,46 @@ AC_SUBST([unlzma])
|
||||||
AC_SUBST([unxz])
|
AC_SUBST([unxz])
|
||||||
AC_SUBST([unlzip])
|
AC_SUBST([unlzip])
|
||||||
MAN_COMPRESS_LIB([z], [gzopen])
|
MAN_COMPRESS_LIB([z], [gzopen])
|
||||||
@ -43,7 +43,7 @@
|
|||||||
+ AC_CHECK_HEADER(zio.h,[
|
+ AC_CHECK_HEADER(zio.h,[
|
||||||
+ for lib in ${zio#lib} zio
|
+ for lib in ${zio#lib} zio
|
||||||
+ do
|
+ 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
|
+ done
|
||||||
+ ])
|
+ ])
|
||||||
+ if test "$am_cv_libzio" = yes; then
|
+ if test "$am_cv_libzio" = yes; then
|
||||||
@ -52,19 +52,25 @@
|
|||||||
+ AC_CHECK_HEADER(zlib.h,[
|
+ AC_CHECK_HEADER(zlib.h,[
|
||||||
+ for lib in z gz
|
+ for lib in z gz
|
||||||
+ do
|
+ 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
|
+ done
|
||||||
+ ])
|
+ ])
|
||||||
+ AC_CHECK_HEADER(bzlib.h,[
|
+ AC_CHECK_HEADER(bzlib.h,[
|
||||||
+ for lib in bz2 bzip2
|
+ for lib in bz2 bzip2
|
||||||
+ do
|
+ 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
|
+ done
|
||||||
+ ])
|
+ ])
|
||||||
+ AC_CHECK_HEADER(lzma.h, [
|
+ AC_CHECK_HEADER(lzma.h, [
|
||||||
+ for lib in lzma lzmadec
|
+ for lib in lzma
|
||||||
+ do
|
+ 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
|
+ done
|
||||||
+ ])
|
+ ])
|
||||||
+ fi
|
+ fi
|
||||||
|
Loading…
Reference in New Issue
Block a user