'nuff said :-( - configure.in: trying to deal again with the stoopid -R
'nuff said :-(
- configure.in: trying to deal again with the stoopid -R linking
flag of Solaris
Daniel
diff --git a/configure.in b/configure.in
index 7f5dda9..3a62e13 100644
--- a/configure.in
+++ b/configure.in
@@ -60,6 +60,11 @@
if test "x${Z_DIR}" != "x"; then
Z_CFLAGS="-I${Z_DIR}/include"
Z_LIBS="-L${Z_DIR}/lib -lz"
+ case ${host} in
+ *-*-solaris*)
+ Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz}"
+ ;;
+ esac
else
Z_LIBS="-lz"
fi]))