1
AC_INIT([monodevelop], 2.8.6.3, [monodevelop-list@lists.ximian.com])
3
AM_INIT_AUTOMAKE([1.9 tar-ustar])
6
#capture aclocal flags for autoreconf
7
AC_SUBST(ACLOCAL_FLAGS)
9
ASSEMBLY_VERSION=2.8.0.0
11
# This is parsed in BuildVariables.cs. Keep the format consistent to avoid breaking
12
# the C# side of things. It should be one of the following two formats:
13
# 1) "VERSION_NUMBER" "2.0"
14
# 2) "VERSION_NUMBER BUILD_TYPE BUILD_NUMBER" "2.0 Alpha 1"
15
PACKAGE_VERSION_LABEL="2.8.6.3"
17
AC_PATH_PROG(MONO, mono)
18
AC_PATH_PROG(MCS, gmcs)
20
if test "x$MONO" = "x" ; then
21
AC_MSG_ERROR([Can't find "mono" in your PATH])
24
if test "x$MCS" = "x" ; then
25
AC_MSG_ERROR([Can't find "gmcs" in your PATH])
28
#ensure we have the same env as when configured
30
AC_SUBST(PKG_CONFIG_PATH)
31
AC_SUBST(LD_LIBRARY_PATH)
32
AC_SUBST(DYLD_FALLBACK_LIBRARY_PATH)
33
AC_SUBST(MONO_GAC_PREFIX)
35
default_gnomeplatform=no
36
default_windowsplatform=no
37
default_macplatform=no
40
Darwin) default_macplatform=yes ;;
41
CYGWIN*) default_windowsplatform=yes ;;
42
*) default_gnomeplatform=yes ;;
45
dnl Add MD's mimetypes to mime and desktop databases
46
AC_ARG_ENABLE(update-mimedb,
47
AC_HELP_STRING([--disable-update-mimedb],
48
[disable the update-mime-database after install [default=no]]),,
49
enable_update_mimedb=$default_gnomeplatform)
50
AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes)
51
if test "x$enable_update_mimedb" = "xyes"; then
52
AC_PATH_PROG(UPDATE_MIME_DB, update-mime-database, no)
53
if test "x$UPDATE_MIME_DB" = "xno"; then
54
AC_MSG_ERROR([You need to install update-mime-database])
57
AC_SUBST(UPDATE_MIME_DB)
59
AC_ARG_ENABLE(update-desktopdb,
60
AC_HELP_STRING([--disable-update-desktopdb],
61
[disable the update-desktop-database after install [default=no]]),,
62
enable_update_desktopdb=default_gnomeplatform)
63
AM_CONDITIONAL(ENABLE_UPDATE_DESKTOPDB, test x$enable_update_desktopdb = xyes)
65
if test "x$enable_update_desktopdb" = "xyes"; then
66
AC_PATH_PROG(UPDATE_DESKTOP_DB, update-desktop-database, no)
67
if test "x$UPDATE_DESKTOP_DB" = "xno"; then
68
AC_MSG_ERROR([You need to install update-desktop-database])
71
AC_SUBST(UPDATE_DESKTOP_DB)
74
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
75
if test "x$PKG_CONFIG" = "xno"; then
76
AC_MSG_ERROR([You need to install pkg-config])
79
dnl Find msgfmt for translations
80
# Find msgfmt and msgmerge for translations
81
AC_PATH_PROG(MSGFMT, msgfmt, no)
82
if test "x$MSGFMT" = "xno"; then
83
AC_MSG_ERROR([You need to install msgfmt from intltool])
85
AC_PATH_PROG(MSGMERGE, msgmerge, no)
86
if test "x$MSGMERGE" = "xno"; then
87
AC_MSG_ERROR([You need to install msgmerge from intltool])
90
MONO_REQUIRED_VERSION=2.8
91
PKG_CHECK_MODULES(UNMANAGED_DEPENDENCIES_MONO,mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false)
93
if test "x$has_mono" = "xfalse"; then
94
AC_MSG_ERROR([Please install mono version $MONO_REQUIRED_VERSION or later to install MonoDevelop.
95
Please see http://www.mono-project.org/ to download latest mono sources or packages])
98
if test "x$has_mono" = "xtrue"; then
99
if test `uname -s` = "Darwin"; then
100
AC_PATH_PROG(RUNTIME, mono, no)
101
AC_PATH_PROG(CSC, dmcs, no)
105
AC_PATH_PROG(RUNTIME, mono, no)
106
AC_PATH_PROG(CSC, dmcs, no)
113
dnl hard dependencies
114
MONOADDINS_REQUIRED_VERSION=0.6
115
GTKSHARP_REQUIRED_VERSION=2.12.8
116
MONODOC_REQUIRED_VERSION=1.0
118
PKG_CHECK_MODULES(MONO_ADDINS, mono-addins >= $MONOADDINS_REQUIRED_VERSION)
119
AC_SUBST(MONO_ADDINS_LIBS)
120
PKG_CHECK_MODULES(MONO_ADDINS_SETUP, mono-addins-setup >= $MONOADDINS_REQUIRED_VERSION)
121
AC_SUBST(MONO_ADDINS_SETUP_LIBS)
122
PKG_CHECK_MODULES(MONO_ADDINS_GUI, mono-addins-gui >= $MONOADDINS_REQUIRED_VERSION)
123
AC_SUBST(MONO_ADDINS_GUI_LIBS)
124
PKG_CHECK_MODULES(GLIB_SHARP, glib-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION)
125
AC_SUBST(GLIB_SHARP_LIBS)
126
PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION)
127
AC_SUBST(GTK_SHARP_LIBS)
128
PKG_CHECK_MODULES(GLADE_SHARP, glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION)
129
AC_SUBST(GLADE_SHARP_LIBS)
131
PKG_CHECK_MODULES(MONODOC, monodoc >= $MONODOC_REQUIRED_VERSION)
132
AC_SUBST(MONODOC_LIBS)
134
dnl soft dependencies
135
PKG_CHECK_MODULES(GNOME_SHARP, gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION, [gnome_sharp=yes], [gnome_sharp=no])
136
AC_SUBST(GNOME_SHARP_LIBS)
137
PKG_CHECK_MODULES(GNOME_VFS_SHARP, gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION, [gnome_vfs_sharp=yes], [gnome_vfs_sharp=no])
138
AC_SUBST(GNOME_VFS_SHARP_LIBS)
139
PKG_CHECK_MODULES(GCONF_SHARP, gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION, [gconf_sharp=yes], [gconf_sharp=no])
140
AC_SUBST(GCONF_SHARP_LIBS)
142
gtksharp_prefix="`$PKG_CONFIG --variable=prefix gtk-sharp-2.0`"
143
AC_SUBST(gtksharp_prefix)
148
AC_HELP_STRING([--enable-tests],
149
[build unit tests [default=no]]),
150
enable_tests=${enableval}, enable_tests=no)
152
AM_CONDITIONAL(ENABLE_TESTS, test x$enable_tests = xyes)
154
if test "x$enable_tests" = "xyes"; then
155
PKG_CHECK_MODULES([MONO_NUNIT], [mono-nunit])
158
AC_SUBST(MONO_NUNIT_LIBS)
159
AM_CONDITIONAL(ENABLE_TESTS, test x$enable_tests = xyes)
161
AC_ARG_ENABLE(monoextensions,
162
AC_HELP_STRING([--enable-monoextensions],
163
[enable extensions for Mono development [default=yes]]),
164
enable_monoextensions=${enableval}, enable_monoextensions=yes)
166
AM_CONDITIONAL(ENABLE_MONOEXTENSIONS, test x$enable_monoextensions = xyes)
168
AC_ARG_ENABLE(subversion,
169
AC_HELP_STRING([--enable-subversion],
170
[enable Subversion support [default=yes]]),
171
enable_subversion=${enableval}, enable_subversion=yes)
173
AM_CONDITIONAL(ENABLE_SUBVERSION, test x$enable_subversion = xyes)
176
AC_HELP_STRING([--enable-git],
177
[enable Git support [default=no]]),
178
enable_git=${enableval}, enable_git=yes)
180
AM_CONDITIONAL(ENABLE_GIT, test x$enable_git = xyes)
184
# Gnome platform addin
185
AC_ARG_ENABLE(gnomeplatform,
186
AC_HELP_STRING([--enable-gnomeplatform],
187
[enable Gnome platform support [default=autodetect]]),
188
enable_gnomeplatform=${enableval}, enable_gnomeplatform=$default_gnomeplatform)
190
if test x$enable_gnomeplatform = xyes; then
191
if test x$gnome_sharp = xno; then
192
AC_MSG_ERROR([Cannot enable GNOME platform without gnome-sharp-2.0])
194
if test x$gnome_vfs_sharp = xno; then
195
AC_MSG_ERROR([Cannot enable GNOME platform without gnome-vfs-sharp-2.0])
197
if test x$gconf_sharp = xno; then
198
AC_MSG_ERROR([Cannot enable GNOME platform without gconf-sharp-2.0])
200
platform_bindings="${platform_bindings}GNOME "
203
AM_CONDITIONAL(ENABLE_GNOMEPLATFORM, [test x$enable_gnomeplatform = xyes])
206
AC_ARG_ENABLE(macplatform,
207
AC_HELP_STRING([--enable-macplatform],
208
[enable Mac platform support [default=autodetect]]),
209
enable_macplatform=${enableval}, enable_macplatform=$default_macplatform)
211
if test x$enable_macplatform = xyes; then
212
platform_bindings="${platform_bindings}Mac "
215
AM_CONDITIONAL(ENABLE_MACPLATFORM, [test x$enable_macplatform = xyes])
218
AC_ARG_ENABLE(macbundle,
219
AC_HELP_STRING([--enable-macbundle],
220
[enable Mac bundle packaging [default=no]]),
221
enable_macbundle=${enableval}, enable_macbundle=no)
222
AM_CONDITIONAL(ENABLE_MACBUNDLE, [test x$enable_macbundle = xyes])
224
# Windows platform addin
225
AC_ARG_ENABLE(windowsplatform,
226
AC_HELP_STRING([--enable-windowsplatform],
227
[enable Windows platform support [default=no]]),
228
enable_windowsplatform=${enableval}, enable_windowsplatform=no)
230
if test x$enable_windowsplatform = xyes; then
231
platform_bindings="${platform_bindings}Windows "
234
AM_CONDITIONAL(ENABLE_WINDOWSPLATFORM, [test x$enable_windowsplatform = xyes])
237
ALL_LINGUAS="cs da de es fr ja pt_BR tr pl it zh_TW zh_CN ru sl ca gl pt sv nl id hu"
238
AC_SUBST(ALL_LINGUAS)
239
GETTEXT_PACKAGE=monodevelop
240
AC_SUBST(GETTEXT_PACKAGE)
241
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
243
CSC_FLAGS="-debug -codepage:utf8"
247
AC_SUBST(ASSEMBLY_VERSION)
248
AC_SUBST(PACKAGE_VERSION_LABEL)
253
MD_DIR='$(prefix)/lib/monodevelop'
254
MD_ASSEMBLY_DIR="$MD_DIR/bin"
255
MD_ADDIN_DIR="$MD_DIR/AddIns"
257
AC_SUBST(MD_ASSEMBLY_DIR)
258
AC_SUBST(MD_ADDIN_DIR)
261
if test -z "$platform_bindings"; then
262
AC_MSG_ERROR([You must enable one of the platform bindings])
267
build/MacOSX/Makefile
269
contrib/Mono.Cecil/Makefile
270
contrib/Mono.Debugger.Soft/Makefile
271
contrib/NRefactory/Makefile
272
contrib/Sharpen/Makefile
273
contrib/NGit/Makefile
274
contrib/NSch/Makefile
275
contrib/ICSharpCode.NRefactory/Makefile
276
contrib/ICSharpCode.Decompiler/Makefile
279
src/core/Mono.Texteditor/Makefile
280
src/core/Mono.Debugging/Makefile
281
src/core/MonoDevelop.Core/Makefile
282
src/core/MonoDevelop.Projects.Formats.MSBuild/Makefile
283
src/core/MonoDevelop.Ide/Makefile
284
src/core/MonoDevelop.Ide/BuildVariables.cs
285
src/core/MonoDevelop.Startup/Makefile
287
src/tools/MacCrashLogger/Makefile
288
src/tools/mdcrashlog/Makefile
289
src/tools/mdhost/Makefile
290
src/tools/mdtool/Makefile
291
src/tools/SharpCoco/Makefile
292
src/tools/mdmonitor/Makefile
294
src/addins/MonoDeveloperExtensions/Makefile
295
src/addins/MonoDeveloperExtensions/NUnit/Makefile
296
src/addins/NUnit/Makefile
297
src/addins/NUnit/NUnitRunner/Makefile
298
src/addins/VersionControl/MonoDevelop.VersionControl/Makefile
299
src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/Makefile
300
src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/Makefile
301
src/addins/VersionControl/MonoDevelop.VersionControl.Git/Makefile
302
src/addins/VersionControl/Makefile
303
src/addins/CSharpBinding/Makefile
304
src/addins/CSharpBinding/Autotools/Makefile
305
src/addins/CSharpBinding/AspNet/Makefile
306
src/addins/ILAsmBinding/Makefile
307
src/addins/VBNetBinding/Makefile
308
src/addins/prj2make-sharp-lib/Makefile
309
src/addins/ChangeLogAddIn/Makefile
310
src/addins/MonoDevelop.GtkCore/Makefile
311
src/addins/MonoDevelop.GtkCore/libstetic/Makefile
312
src/addins/MonoDevelop.GtkCore/libsteticui/Makefile
313
src/addins/TextTemplating/Makefile
314
src/addins/TextTemplating/Mono.TextTemplating/Makefile
315
src/addins/TextTemplating/TextTransform/Makefile
316
src/addins/TextTemplating/MonoDevelop.TextTemplating/Makefile
317
src/addins/AspNet/Makefile
318
src/addins/AspNet/MonoDevelop.AspNet/Makefile
319
src/addins/AspNet/MonoDevelop.AspNet.Mvc/Makefile
320
src/addins/MonoDevelop.Autotools/Makefile
321
src/addins/MonoDevelop.DesignerSupport/Makefile
322
src/addins/MonoDevelop.WebReferences/Makefile
323
src/addins/Deployment/Makefile
324
src/addins/Deployment/MonoDevelop.Deployment/Makefile
325
src/addins/Deployment/MonoDevelop.Deployment.Linux/Makefile
326
src/addins/MonoDevelop.Gettext/Makefile
327
src/addins/MonoDevelop.RegexToolkit/Makefile
328
src/addins/CBinding/Makefile
329
src/addins/GnomePlatform/Makefile
330
src/addins/MacPlatform/Makefile
331
src/addins/WindowsPlatform/Makefile
332
src/addins/MonoDevelop.AssemblyBrowser/Makefile
333
src/addins/MonoDevelop.SourceEditor2/Makefile
334
src/addins/MonoDevelop.Moonlight/Makefile
335
src/addins/MonoDevelop.XmlEditor/Makefile
336
src/addins/MonoDevelop.CodeMetrics/Makefile
337
src/addins/MonoDevelop.Refactoring/Makefile
338
src/addins/MonoDevelop.Debugger/Makefile
339
src/addins/MonoDevelop.Debugger.Soft/Makefile
340
src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/Makefile
341
src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/Makefile
342
src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.AspNet/Makefile
343
src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.Moonlight/Makefile
344
src/addins/MonoDevelop.HexEditor/Makefile
345
src/addins/MonoDevelop.DocFood/Makefile
346
src/addins/MonoDevelop.MacDev/Makefile
348
tests/UnitTests/Makefile
353
monodevelop-core-addins.pc
354
monodevelop-core-mac-addins.pc
362
echo "Configuration summary"
364
echo " * Installation prefix = $prefix"
365
echo " * C# compiler = $CSC"
366
echo " * Mono class library development extensions: $enable_monoextensions"
367
echo " * Version control providers:"
368
echo " * Subversion (Unix): $enable_subversion"
369
echo " * Git: $enable_git"
370
echo " * Platform bindings: $platform_bindings"
371
echo " * Unit tests: $enable_tests"