diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 02:42:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 02:42:58 +0000 |
commit | 4219517fc30d7f22e4d18b09eabf6b1eeb8fe4c7 (patch) | |
tree | 969f7e0b7a42802e16f096818a1df8f6df96087b /configure | |
parent | Adding upstream version 1.14. (diff) | |
download | lzlib-upstream/1.15_pre1.tar.xz lzlib-upstream/1.15_pre1.zip |
Adding upstream version 1.15~pre1.upstream/1.15_pre1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -6,14 +6,16 @@ # to copy, distribute, and modify it. pkgname=lzlib -pkgversion=1.14 +pkgversion=1.15-pre1 soversion=1 +libname=lz +libname_static=lib${libname}.a +libname_shared= progname=minilzip progname_static=${progname} progname_shared= progname_lzip=${progname} disable_ldconfig= -libname=lz srctrigger=doc/${pkgname}.texi # clear some things potentially inherited from environment. @@ -115,10 +117,13 @@ while [ $# != 0 ] ; do --mandir=*) mandir=${optarg} ;; --no-create) no_create=yes ;; --disable-static) + libname_static= + libname_shared=lib${libname}.so.${pkgversion} progname_static= progname_shared=${progname}_shared progname_lzip=${progname}_shared ;; --enable-shared) + libname_shared=lib${libname}.so.${pkgversion} progname_shared=${progname}_shared progname_lzip=${progname}_shared ;; --disable-ldconfig) disable_ldconfig=yes ;; @@ -216,12 +221,14 @@ cat > Makefile << EOF pkgname = ${pkgname} pkgversion = ${pkgversion} soversion = ${soversion} +libname = ${libname} +libname_static = ${libname_static} +libname_shared = ${libname_shared} progname = ${progname} progname_static = ${progname_static} progname_shared = ${progname_shared} progname_lzip = ${progname_lzip} disable_ldconfig = ${disable_ldconfig} -libname = ${libname} VPATH = ${srcdir} prefix = ${prefix} exec_prefix = ${exec_prefix} |