ifolder/www-apps/ifolder3-enterprise-plugins/files/ifolder3-plugins-3.8-mono22-1.patch

45 lines
1.4 KiB
Diff
Raw Normal View History

diff -uNr novell-ifolder-client-plugins.orig/configure.in novell-ifolder-client-plugins/configure.in
--- novell-ifolder-client-plugins.orig/configure.in 2009-12-05 21:10:47.628532148 +0100
+++ novell-ifolder-client-plugins/configure.in 2009-12-05 21:13:55.895282777 +0100
@@ -52,13 +52,13 @@
linux*)
SIMIAS_OS='linux'
if test "$clientplugins" = "TRUE"; then
- AC_CHECK_PROG(CSC, mcs, mcs)
+ AC_CHECK_PROG(CSC, gmcs, gmcs)
else
if pkg-config --atleast-version=2.4 mono > /dev/null 2>&1
then
AC_CHECK_PROG(CSC, gmcs, gmcs)
else
- AC_CHECK_PROG(CSC, gmcs, mcs)
+ AC_CHECK_PROG(CSC, gmcs, gmcs)
fi
fi
test -z "$CSC" && AC_MSG_ERROR([no C Sharp compiler: (g)mcs not found in \$PATH])
@@ -96,13 +96,13 @@
AM_CONDITIONAL(DARWIN, test "$SIMIAS_OS" = "darwin")
AM_CONDITIONAL(DARWIN_X86, test "$host_cpu" = "i686")
if test "$clientplugins" = "TRUE"; then
- AM_CONDITIONAL(MONO, test "$CSC" = "mcs")
+ AM_CONDITIONAL(MONO, test "$CSC" = "gmcs")
else
if pkg-config --atleast-version=2.4 mono > /dev/null 2>&1
then
AM_CONDITIONAL(MONO, test "$CSC" = "gmcs")
else
- AM_CONDITIONAL(MONO, test "$CSC" = "mcs")
+ AM_CONDITIONAL(MONO, test "$CSC" = "gmcs")
fi
fi
AM_CONDITIONAL(DOTNET, test "$CSC" = "csc")
@@ -160,7 +160,7 @@
#
# Mono-specific configuration
#
- mcs)
+ gmcs)
CSC_EXEFLAG=/target:exe
CSC_LIBFLAG=/target:library
CSC_WINEXEFLAG=/target:winexe