diff options
-rw-r--r-- | Lib/csharp/csharp.swg | 8 | ||||
-rwxr-xr-x | autogen-debian.sh | 16 |
2 files changed, 24 insertions, 0 deletions
diff --git a/Lib/csharp/csharp.swg b/Lib/csharp/csharp.swg index 7a411f947..a95563af0 100644 --- a/Lib/csharp/csharp.swg +++ b/Lib/csharp/csharp.swg @@ -11,7 +11,15 @@ #include <stdlib.h> #include <string.h> + +#ifdef WIN32 #define DllExport __declspec( dllexport ) +#else +/* + This is not needed for unix +*/ +#define DllExport +#endif %} /* The jni, jtype and jstype typemaps work together and so there should be one of each. diff --git a/autogen-debian.sh b/autogen-debian.sh new file mode 100755 index 000000000..c633c574e --- /dev/null +++ b/autogen-debian.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +# Bootstrap the development environment - add extra files needed to run configure. +# Note autoreconf should do what this file achieves, but it has a bug when working with automake! +# The latest config.guess and config.sub should be copied into Tools/config and checked into CVS +# when upgrading the autotools. Otherwise this script will ensure the latest is copied from +# your autotool installation. + +set -x +test -d Tools/config || mkdir Tools/config +aclocal-1.7 -I Tools/config +autoheader2.50 +automake-1.7 --add-missing --copy --force-missing +autoconf2.50 +(cd Tools; autoconf2.50) + |