0d8740a757
Improve the GitSharp autotools stuff and move it to its own file, included in the top-level Makefile. A system-installed nant is now required to build GitSharp, instead of using the in-tree copy. All the files we really need to build GitSharp are now included in the tarball, including the binary deps. I see weeping packagers... But "make distcheck" doesn't work, mostly because GitSharp insists on writing to the source dir during compilation. As distcheck builds with a read-only source tree, this fails horribly.
24 lines
816 B
Plaintext
24 lines
816 B
Plaintext
AC_DEFUN([SPARKLESHARE_GITSHARP],
|
|
[
|
|
SHAMROCK_FIND_PROGRAM_OR_BAIL(NANT, nant)
|
|
|
|
if test ! -d "$srcdir/GitSharp"; then
|
|
AC_MSG_ERROR([GitSharp folder not found])
|
|
fi
|
|
|
|
dnl Assemblies for GitSharp and their dependencies
|
|
dnl GitSharp also brings in Winterdom.IO.FileMap.dll but it is not used
|
|
asms="GitSharp/bin/ICSharpCode.SharpZipLib.dll GitSharp/bin/Tamir.SharpSSH.dll GitSharp/bin/GitSharp.Core.dll GitSharp/bin/GitSharp.dll"
|
|
GITSHARP_ASSEMBLIES="$asms"
|
|
for asm in $asms; do
|
|
GITSHARP_FILES="$GITSHARP_FILES $asm"
|
|
[[ -r "$asm.mdb" ]] && GITSHARP_FILES="$GITSHARP_FILES $asm.mdb"
|
|
done
|
|
# Additional dependencies that we need to install
|
|
GITSHARP_FILES="$GITSHARP_FILES GitSharp/lib/DiffieHellman.dll GitSharp/lib/Org.Mentalis.Security.dll"
|
|
|
|
AC_SUBST([GITSHARP_ASSEMBLIES])
|
|
AC_SUBST([GITSHARP_FILES])
|
|
])
|
|
|