--- mono-debugger-0.30/configure.in 2006-07-18 17:59:13.000000000 +0100
+++ mono-debugger-0.30/configure.in 2006-08-27 10:33:30.000000000 +0100
@@ -104,7 +104,7 @@
# not 64 bit clean in cross-compile
AC_CHECK_SIZEOF(void *, 4)
-CFLAGS='-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings'
+CFLAGS="-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings $CFLAGS"
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test "x$PKG_CONFIG" = "xno"; then
--- mono-debugger-0.30/configure.in 2006-07-18 17:59:13.000000000 +0100
+++ mono-debugger-0.30/configure.in 2006-08-27 10:33:30.000000000 +0100
@@ -153,7 +153,7 @@
AC_SUBST(WRAPPER_CFLAGS)
AC_SUBST(WRAPPER_LIBS)
- GACUTIL_FLAGS='/package $(PACKAGE) /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib'
+ GACUTIL_FLAGS='/package $(PACKAGE) /gacdir $(libdir) /root $(DESTDIR)$(libdir)'
AC_PATH_PROG(GACUTIL, gacutil, no)
if test "x$GACUTIL" = "xno" ; then
AC_MSG_ERROR([No gacutil tool found])
--- mono-debugger-0.30/configure.in 2006-07-18 17:59:13.000000000 +0100
+++ mono-debugger-0.30/configure.in 2006-08-27 10:33:30.000000000 +0100
@@ -217,7 +217,7 @@
CHECK_READLINE
AC_MSG_CHECKING([Whether your Mono is working])
-old_CFLAGS=$cflags
+old_CFLAGS=$CFLAGS
CFLAGS=$WRAPPER_CFLAGS
AC_TRY_COMPILE([#include <mono/metadata/mono-debug.h>
], [
--- mono-debugger-0.30/mono-debugger.pc.in 2006-07-18 17:59:13.000000000 +0100
+++ mono-debugger-0.30/mono-debugger.pc.in 2006-08-27 10:35:11.000000000 +0100
@@ -1,9 +1,9 @@
prefix=@prefix@
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/$(lib)
Name: Mono.Debugger
Description: Debugging API for Mono
Version: @VERSION@
-Libs: -r:${prefix}/lib/mono/mono-debugger/Mono.Debugger.dll
+Libs: -r:@libdir@/mono/mono-debugger/Mono.Debugger.dll
--- mono-debugger-0.30/build/Makefile.am 2006-07-18 17:59:12.000000000 +0100
+++ mono-debugger-0.30/build/Makefile.am 2006-08-27 10:58:34.000000000 +0100
@@ -1,4 +1,4 @@
-onedir = $(prefix)/lib/mono/1.0
+onedir = $(libdir)/mono/1.0
bin_SCRIPTS = mdb