Closed stefan6419846 closed 5 months ago
I tried to build the package on OpenSUSE 15.4, but for some reasons I got told:
checking for library containing gzgets... no configure: error: HTMLDOC requires zlib.
After changing the offending line of configure.ac from https://github.com/michaelrsweet/htmldoc/blob/055acba8778702eb06ba3de8dd208efabccde92a/configure.ac#L236 to
configure.ac
AS_IF([$PKGCONFIG --exists zlib], [
and regenerating the configure script, everything worked fine afterwards.
configure
Not every OS uses pkg-config, so we need to use the AC_SEARCH_LIBS if there is no zlib package file.
[master 6d7d843] Use pkg-config for initial zlib check (Issue #519)
I tried to build the package on OpenSUSE 15.4, but for some reasons I got told:
After changing the offending line of
configure.ac
from https://github.com/michaelrsweet/htmldoc/blob/055acba8778702eb06ba3de8dd208efabccde92a/configure.ac#L236 toand regenerating the
configure
script, everything worked fine afterwards.