summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2014-03-20 18:55:44 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2014-03-20 19:12:44 +0000
commitabd31397fa246823179f2356ce6dff8987b2b265 (patch)
tree90096adf37c9fff1b94582845ffaebcff55a138b
parentb0afd857e5cc67938c4cd1cc650b4b911aa95176 (diff)
downloadswig-abd31397fa246823179f2356ce6dff8987b2b265.tar.gz
Always use debug flags for Mono to get decent stacktraces on error.
-rw-r--r--Examples/csharp/arrays/Makefile2
-rw-r--r--Examples/csharp/callback/Makefile2
-rw-r--r--Examples/csharp/class/Makefile2
-rw-r--r--Examples/csharp/enum/Makefile2
-rw-r--r--Examples/csharp/extend/Makefile2
-rw-r--r--Examples/csharp/funcptr/Makefile2
-rw-r--r--Examples/csharp/nested/Makefile2
-rw-r--r--Examples/csharp/reference/Makefile2
-rw-r--r--Examples/csharp/simple/Makefile2
-rw-r--r--Examples/csharp/template/Makefile2
-rw-r--r--Examples/csharp/variables/Makefile2
-rw-r--r--configure.ac2
12 files changed, 12 insertions, 12 deletions
diff --git a/Examples/csharp/arrays/Makefile b/Examples/csharp/arrays/Makefile
index 65386f0dc..4be092d1c 100644
--- a/Examples/csharp/arrays/Makefile
+++ b/Examples/csharp/arrays/Makefile
@@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
-CSHARPFLAGS= -nologo -unsafe -out:runme.exe
+CSHARPFLAGS= -nologo -debug+ -unsafe -out:runme.exe
check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
diff --git a/Examples/csharp/callback/Makefile b/Examples/csharp/callback/Makefile
index 340febc88..6c58abd28 100644
--- a/Examples/csharp/callback/Makefile
+++ b/Examples/csharp/callback/Makefile
@@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
-CSHARPFLAGS= -debug -nologo -out:runme.exe
+CSHARPFLAGS= -nologo -debug+ -out:runme.exe
check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
diff --git a/Examples/csharp/class/Makefile b/Examples/csharp/class/Makefile
index bc3ce8ce8..6c58abd28 100644
--- a/Examples/csharp/class/Makefile
+++ b/Examples/csharp/class/Makefile
@@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
-CSHARPFLAGS= -nologo -out:runme.exe
+CSHARPFLAGS= -nologo -debug+ -out:runme.exe
check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
diff --git a/Examples/csharp/enum/Makefile b/Examples/csharp/enum/Makefile
index bc3ce8ce8..6c58abd28 100644
--- a/Examples/csharp/enum/Makefile
+++ b/Examples/csharp/enum/Makefile
@@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
-CSHARPFLAGS= -nologo -out:runme.exe
+CSHARPFLAGS= -nologo -debug+ -out:runme.exe
check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
diff --git a/Examples/csharp/extend/Makefile b/Examples/csharp/extend/Makefile
index bc3ce8ce8..6c58abd28 100644
--- a/Examples/csharp/extend/Makefile
+++ b/Examples/csharp/extend/Makefile
@@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
-CSHARPFLAGS= -nologo -out:runme.exe
+CSHARPFLAGS= -nologo -debug+ -out:runme.exe
check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
diff --git a/Examples/csharp/funcptr/Makefile b/Examples/csharp/funcptr/Makefile
index 875ae0e71..ed15cb28e 100644
--- a/Examples/csharp/funcptr/Makefile
+++ b/Examples/csharp/funcptr/Makefile
@@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
-CSHARPFLAGS= -nologo -out:runme.exe
+CSHARPFLAGS= -nologo -debug+ -out:runme.exe
check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
diff --git a/Examples/csharp/nested/Makefile b/Examples/csharp/nested/Makefile
index bc3ce8ce8..6c58abd28 100644
--- a/Examples/csharp/nested/Makefile
+++ b/Examples/csharp/nested/Makefile
@@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
-CSHARPFLAGS= -nologo -out:runme.exe
+CSHARPFLAGS= -nologo -debug+ -out:runme.exe
check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
diff --git a/Examples/csharp/reference/Makefile b/Examples/csharp/reference/Makefile
index bc3ce8ce8..6c58abd28 100644
--- a/Examples/csharp/reference/Makefile
+++ b/Examples/csharp/reference/Makefile
@@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
-CSHARPFLAGS= -nologo -out:runme.exe
+CSHARPFLAGS= -nologo -debug+ -out:runme.exe
check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
diff --git a/Examples/csharp/simple/Makefile b/Examples/csharp/simple/Makefile
index 875ae0e71..ed15cb28e 100644
--- a/Examples/csharp/simple/Makefile
+++ b/Examples/csharp/simple/Makefile
@@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
-CSHARPFLAGS= -nologo -out:runme.exe
+CSHARPFLAGS= -nologo -debug+ -out:runme.exe
check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
diff --git a/Examples/csharp/template/Makefile b/Examples/csharp/template/Makefile
index 43243d6d5..23fe2eec9 100644
--- a/Examples/csharp/template/Makefile
+++ b/Examples/csharp/template/Makefile
@@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
-CSHARPFLAGS= -nologo -out:runme.exe
+CSHARPFLAGS= -nologo -debug+ -out:runme.exe
check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
diff --git a/Examples/csharp/variables/Makefile b/Examples/csharp/variables/Makefile
index 875ae0e71..ed15cb28e 100644
--- a/Examples/csharp/variables/Makefile
+++ b/Examples/csharp/variables/Makefile
@@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
-CSHARPFLAGS= -nologo -out:runme.exe
+CSHARPFLAGS= -nologo -debug+ -out:runme.exe
check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
diff --git a/configure.ac b/configure.ac
index f4d734e78..fbf74774a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1755,7 +1755,7 @@ if test -z "$CSHARPBIN" ; then
echo "mcs is not a working Mono C# compiler"
fi
fi
- if test "mcs" = "$CSHARPCOMPILER" || test "gmcs" = "$CSHARPCOMPILER"; then
+ if test "mcs" = "$CSHARPCOMPILER" || test "gmcs" = "$CSHARPCOMPILER" || test "mono-csc" = "$CSHARPCOMPILER"; then
AC_CHECK_PROGS(CSHARPCILINTERPRETER, mono) # Mono JIT
CSHARPCILINTERPRETER_FLAGS="--debug"
else