2009-06-22 guidod <guidod@gmx.de>
+ * configure.ac: use $can_build_shared from linker-config to allow
+ build on platforms that do not support a shared library concept
+ or where it is disabled (the commandline switch overrides it?)
+ (should fix the SF bug ID 2796485 reported by Giovanni Bechis)
* zzip/file.c: errornous usage of currentfp before setting it to
the new fp value in zzip_seek(). In the good case it would seek
on the wrong file and in the bad case it goes off on sigbus/NPE.
AC_INIT([zziplib.spec])
AC_PREREQ(2.49)
AC_COPYRIGHT([Guido Draheim <guido@gmx.de> for ZZipLib.SF.net])
-AC_REVISION($Revision: 1.12 $)
+AC_REVISION($Revision: 1.13 $)
AC_CONFIG_AUX_DIR([uses])
AC_CONFIG_MACRO_DIR([m4])
# =======================================================================
RESOLVES=' '
;;
*)
- ZZIPLIB_LDFLAGS="--export-dynamic"
+
+ if ".$can_build_shared" = .no
+ then ZZIPLIB_LDFLAGS=""
+ else ZZIPLIB_LDFLAGS="--export-dynamic"
+ fi
RESOLVES=' # '
;;
esac