diff --git a/src/modules/Gz/configure.in b/src/modules/Gz/configure.in
index b183ef9512ca1e8f4700f1a763db9d2718478188..ad6c26a4ef46d5c610040bb3d618c047e6782379 100644
--- a/src/modules/Gz/configure.in
+++ b/src/modules/Gz/configure.in
@@ -1,4 +1,4 @@
-# $Id: configure.in,v 1.10 1998/03/28 14:49:50 grubba Exp $
+# $Id: configure.in,v 1.11 1998/07/18 00:07:05 grubba Exp $
 AC_INIT(zlibmod.c)
 AC_CONFIG_HEADER(zlib_machine.h)
 AC_ARG_WITH(zlib,     [  --with(out)-zlib       Support gzip compression],[],[with_zlib=yes])
@@ -19,7 +19,9 @@ int foo = (int)(Z_NO_COMPRESSION | Z_VERSION_ERROR);
         # The libz.so supplied with IRIX 6.3 needs these obscure symbols
         # C++? It also differs which library which contains them.
         AC_CHECK_LIB(Csup, __vtbl__9type_info)
-        AC_CHECK_LIB(C, __vtbl__9type_info)
+	if test "$ac_cv_lib_Csup___vtbl__9type_info" = "yes" ; then :; else
+          AC_CHECK_LIB(C, __vtbl__9type_info)
+	fi
 	AC_CHECK_LIB(Csup, __T_9__nothrow)
 	AC_HAVE_FUNCS(__vtbl__9type_info)
 	AC_HAVE_FUNCS(__T_9__nothrow)