From 6a96c12b2277e166d87d5f543baef5f95c59f3cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Tue, 7 Oct 1997 03:24:23 +0200
Subject: [PATCH] Added test for obscure IRIX function.

Rev: src/modules/Gz/configure.in:1.6
---
 src/modules/Gz/configure.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/modules/Gz/configure.in b/src/modules/Gz/configure.in
index af5acb6c32..8e01bf67b2 100644
--- a/src/modules/Gz/configure.in
+++ b/src/modules/Gz/configure.in
@@ -14,6 +14,11 @@ if test x$with_zlib = xyes ; then
 int foo = (int)(Z_NO_COMPRESSION | Z_VERSION_ERROR);
     ],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no); ac_cv_header_zlib_h=no ])
     if test $ac_cv_header_zlib_h = yes ; then
+      if test x$pike_cv_sys_os = xIRIX ; then
+        # The libz.so supplied with IRIX 6.3 needs this obscure symbol
+        # C++?
+        AC_CHECK_LIB(Csup, __vtbl__9type_info)
+      fi
       AC_CHECK_LIB(z, compress, [
         AC_DEFINE(HAVE_LIBZ) 
         LIBS="${LIBS-} -lz"
-- 
GitLab