Using configurable runtime during build process --> RUNTIME=@MONO@ in Makefile.in files. MONO is defined in configure.in. For Mac OS X == Darwin it is 'mint' for now, for the others it remains 'mono'. Also use the more generic code from mono/autogen.sh to detect libtool.

svn path=/trunk/gtk-sharp/; revision=23880
This commit is contained in:
Urs C. Muff 2004-03-10 15:57:33 +00:00
parent 90c98e5b37
commit c8511cd513
14 changed files with 25 additions and 14 deletions

View file

@ -5,7 +5,7 @@ INCLUDE_APIS = ../atk/atk-api.xml \
../gdk/gdk-api.xml \ ../gdk/gdk-api.xml \
../gdk/gdk-symbols.xml ../gdk/gdk-symbols.xml
RUNTIME=mono RUNTIME=@MONO@
MCS=mcs MCS=mcs
ASSEMBLY=art-sharp.dll ASSEMBLY=art-sharp.dll

View file

@ -2,7 +2,7 @@ APIS= atk-api.xml
INCLUDE_APIS = ../pango/pango-api.xml INCLUDE_APIS = ../pango/pango-api.xml
RUNTIME=mono RUNTIME=@MONO@
MCS=mcs MCS=mcs
ASSEMBLY=atk-sharp.dll ASSEMBLY=atk-sharp.dll

View file

@ -15,8 +15,15 @@ test -z "$srcdir" && srcdir=.
DIE=1 DIE=1
} }
if [ -z "$LIBTOOL" ]; then
LIBTOOL=`which glibtool 2>/dev/null`
if [ ! -x "$LIBTOOL" ]; then
LIBTOOL=`which libtool`
fi
fi
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { (grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
(libtool --version) < /dev/null > /dev/null 2>&1 || { ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
echo echo
echo "**Error**: You must have \`libtool' installed to compile Gtk#." echo "**Error**: You must have \`libtool' installed to compile Gtk#."
echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz" echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"

View file

@ -59,7 +59,11 @@ AC_ARG_WITH(crosspkgdir, [ --with-crosspkgdir=/path/to/pkg-config/dir],
PKG_CHECK_MODULES(MONO_DEPENDENCY, mono) PKG_CHECK_MODULES(MONO_DEPENDENCY, mono)
MONO=`which mono` if test `uname -s` = "Darwin"; then
MONO=`which mint`
else
MONO=`which mono`
fi
AC_SUBST(MONO) AC_SUBST(MONO)
## Versions of dependencies ## Versions of dependencies

View file

@ -1,5 +1,5 @@
MCS=mcs MCS=mcs
RUNTIME=mono RUNTIME=@MONO@
DESTDIR= DESTDIR=
all: gapi_codegen.exe all: gapi_codegen.exe

View file

@ -7,7 +7,7 @@ INCLUDE_APIS = ../atk/atk-api.xml \
../gtk/gtk-api.xml \ ../gtk/gtk-api.xml \
../gtk/gtk-symbols.xml ../gtk/gtk-symbols.xml
RUNTIME=mono RUNTIME=@MONO@
MCS=mcs MCS=mcs
ASSEMBLY=glade-sharp.dll ASSEMBLY=glade-sharp.dll

View file

@ -8,7 +8,7 @@ INCLUDE_APIS = ../atk/atk-api.xml \
../gtk/gtk-api.xml \ ../gtk/gtk-api.xml \
../gtk/gtk-symbols.xml ../gtk/gtk-symbols.xml
RUNTIME=mono RUNTIME=@MONO@
MCS=mcs MCS=mcs
ASSEMBLY=gnome-sharp.dll ASSEMBLY=gnome-sharp.dll

View file

@ -10,7 +10,7 @@ INCLUDE_APIS = ../atk/atk-api.xml \
../gnome/gnome-api.xml \ ../gnome/gnome-api.xml \
../gda/gda-api.xml ../gda/gda-api.xml
RUNTIME=mono RUNTIME=@MONO@
MCS=mcs MCS=mcs
ASSEMBLY=gnomedb-sharp.dll ASSEMBLY=gnomedb-sharp.dll

View file

@ -1,6 +1,6 @@
APIS= gst-api.xml APIS= gst-api.xml
RUNTIME=mono RUNTIME=@MONO@
MCS=mcs MCS=mcs
ASSEMBLY=gst-sharp.dll ASSEMBLY=gst-sharp.dll

View file

@ -5,7 +5,7 @@ INCLUDE_APIS = ../atk/atk-api.xml \
../gdk/gdk-api.xml \ ../gdk/gdk-api.xml \
../gdk/gdk-symbols.xml ../gdk/gdk-symbols.xml
RUNTIME=mono RUNTIME=@MONO@
MCS=mcs MCS=mcs
ASSEMBLY=gtk-sharp.dll ASSEMBLY=gtk-sharp.dll

View file

@ -8,7 +8,7 @@ INCLUDE_APIS = ../atk/atk-api.xml \
../gtk/gtk-api.xml \ ../gtk/gtk-api.xml \
../gnome/gnome-api.xml ../gnome/gnome-api.xml
RUNTIME=mono RUNTIME=@MONO@
MCS=mcs MCS=mcs
ASSEMBLY=gtkhtml-sharp.dll ASSEMBLY=gtkhtml-sharp.dll

View file

@ -1,6 +1,6 @@
APIS= pango-api.xml APIS= pango-api.xml
RUNTIME=mono RUNTIME=@MONO@
MCS=mcs MCS=mcs
ASSEMBLY=pango-sharp.dll ASSEMBLY=pango-sharp.dll

View file

@ -8,7 +8,7 @@ INCLUDE_APIS = ../atk/atk-api.xml \
../gtk/gtk-symbols.xml \ ../gtk/gtk-symbols.xml \
../art/art-api.xml ../art/art-api.xml
RUNTIME=mono RUNTIME=@MONO@
MCS=mcs MCS=mcs
ASSEMBLY=rsvg-sharp.dll ASSEMBLY=rsvg-sharp.dll

View file

@ -5,7 +5,7 @@ INCLUDE_APIS = \
../gtk/gtk-api.xml \ ../gtk/gtk-api.xml \
../atk/atk-api.xml ../atk/atk-api.xml
RUNTIME=mono RUNTIME=@MONO@
MCS=mcs MCS=mcs
ASSEMBLY=vte-sharp.dll ASSEMBLY=vte-sharp.dll