Skip to content
Browse files

Use gacutil for ICSharpCode.SharpZipLib check

  • Loading branch information...
1 parent 4f00a74 commit 665acfa908bbb2f2e22dbd2760daafb09b3241fa @hyperair hyperair committed with alexkay Feb 5, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 configure.ac
View
7 configure.ac
@@ -13,6 +13,7 @@ AC_SUBST(ASSEMBLY_VERSION)
AC_SUBST(ASSEMBLY_NAME)
AC_PROG_INSTALL
+AC_PROG_GREP
MONODOC_REQUIRED=1.1.9
@@ -84,10 +85,8 @@ else
fi
# checking for ICSharpCode.SharpZipLib.dll
-AC_MSG_CHECKING([for Mono 2.0 GAC for ICSharpCode.SharpZipLib.dll])
-if test \
- -e "$($PKG_CONFIG --variable=libdir mono)/mono/2.0/ICSharpCode.SharpZipLib.dll" -o \
- -e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/2.0/ICSharpCode.SharpZipLib.dll"; \
+AC_MSG_CHECKING([Mono GAC for ICSharpCode.SharpZipLib.dll])
+if $GACUTIL -l | $GREP -q ICSharpCode.SharpZipLib; \
then \
AC_MSG_RESULT([found])
AM_CONDITIONAL(HAVE_SHARPZIPLIB, true)

0 comments on commit 665acfa

Please sign in to comment.
Something went wrong with that request. Please try again.