Michal Marek napsal(a): > Add new configure option --enable-zlib-dynamic to allow linking zlib > dynamically (e.g. opensuse installs libz.so.1 in /lib, so it's safe to > do it there). > --- > configure.ac | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 7b860b1..8089c7c 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -17,6 +17,15 @@ AC_ARG_ENABLE(zlib, > zlib_flags="-Wl,-Bstatic -lz -Wl,-Bdynamic" > fi]) > > +AC_ARG_ENABLE(zlib-dynamic, > +[ --enable-zlib-dynamic Handle gzipped modules, libz will be linked > + dynamically. Note that libz must be installed in > + /lib for this to work.], > +[if test "$enableval" = "yes"; then > + AC_DEFINE(CONFIG_USE_ZLIB) > + zlib_flags="-lz" > +fi]) > + > AC_PROG_CC > > AC_CHECK_PROGS(DOCBOOKTOMAN, docbook-to-man docbook2man, [no],) Jon, can you have a look? thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe linux-modules" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html