1 dnl Process this file with autoconf to produce a configure script.
5 m4_define(anjuta_major_version, 2)
6 m4_define(anjuta_minor_version, 3)
7 m4_define(anjuta_micro_version, 4)
8 m4_define(anjuta_version, anjuta_major_version.anjuta_minor_version.anjuta_micro_version)
10 AC_INIT(anjuta, anjuta_version, http://bugzilla.gnome.org/enter_bug.cgi?product=anjuta)
11 AC_CONFIG_SRCDIR(src/main.c)
13 AC_DEFINE(ANJUTA_MAJOR_VERSION, anjuta_major_version, [Anjuta major version])
14 AC_SUBST(ANJUTA_MAJOR_VERSION, anjuta_major_version)
15 AC_DEFINE(ANJUTA_MINOR_VERSION, anjuta_minor_version, [Anjuta minor version])
16 AC_SUBST(ANJUTA_MINOR_VERSION, anjuta_minor_version)
17 AC_DEFINE(ANJUTA_MICRO_VERSION, anjuta_micro_version, [Anjuta micro version])
18 AC_SUBST(ANJUTA_MICRO_VERSION, anjuta_micro_version)
19 AC_DEFINE(ANJUTA_VERSION, anjuta_version, [Anjuta version])
20 AC_SUBST(ANJUTA_VERSION)
23 GOBJECT_REQUIRED=2.8.0
24 GMODULE_REQUIRED=2.8.0
25 GTHREAD_REQUIRED=2.8.0
26 GDK_PIXBUF_REQUIRED=2.0.0
29 LIBGLADE_REQUIRED=2.3.0
31 GNOME_CANVAS_REQUIRED=2.12.0
32 GNOME_UI_REQUIRED=2.12.0
33 GNOME_PRINT_REQUIRED=2.12.0
34 GNOME_PRINT_UI_REQUIRED=2.12.0
35 GNOME_VFS_REQUIRED=2.14.0
38 VTE_NEW_REQUIRED=0.13.1
39 LIBXML_REQUIRED=2.4.23
42 LIBDEVHELP_REQUIRED=0.13
44 GNOMEBUILD_REQUIRED=0.2.0
45 GLADEUI_REQUIRED=3.2.0
46 LIBGRAPHVIZ_REQUIRED=1.0
48 SUBVERSION_REQUIRED=1.0.2
49 GTKSOURCEVIEW_REQUIRED=2.1.2
50 GTKSOURCEVIEW_GNOME_REQUIRED=2.14
51 GTKSOURCEVIEW_GTK_REQUIRED=2.10
52 BINUTILS_REQUIRED=2.15.92
56 dnl LIBGTODO_REQUIRED=0.15
58 AC_SUBST(GLIB_REQUIRED)
59 AC_SUBST(GOBJECT_REQUIRED)
60 AC_SUBST(GMODULE_REQUIRED)
61 AC_SUBST(GDK_PIXBUF_REQUIRED)
62 AC_SUBST(GTK_REQUIRED)
63 AC_SUBST(ORBIT_REQUIRED)
64 AC_SUBST(LIBGLADE_REQUIRED)
65 AC_SUBST(GNOME_REQUIRED)
66 AC_SUBST(GNOME_CANVAS_REQUIRED)
67 AC_SUBST(GNOME_UI_REQUIRED)
68 AC_SUBST(GNOME_PRINT_REQUIRED)
69 AC_SUBST(GNOME_PRINT_UI_REQUIRED)
70 AC_SUBST(GNOME_VFS_REQUIRED)
71 AC_SUBST(GCONF_REQUIRED)
72 AC_SUBST(VTE_REQUIRED)
73 AC_SUBST(LIBXML_REQUIRED)
74 AC_SUBST(PANGO_REQUIRED)
75 AC_SUBST(VTE_NEW_REQUIRED)
76 AC_SUBST(PCRE_REQUIRED)
77 AC_SUBST(LIBDEVHELP_REQUIRED)
78 AC_SUBST(GDL_REQUIRED)
79 AC_SUBST(GNOMEBUILD_REQUIRED)
80 AC_SUBST(GLADEUI_REQUIRED)
81 AC_SUBST(GLADEUI_SVN_REQUIRED)
82 AC_SUBST(LIBGRAPHVIZ_REQUIRED)
83 AC_SUBST(NEON_REQUIRED)
84 AC_SUBST(SUBVERSION_REQUIRED)
85 AC_SUBST(GTKSOURCEVIEW_REQUIRED)
86 AC_SUBST(GTKSOURCEVIEW_GNOME_REQUIRED)
87 AC_SUBST(GTKSOURCEVIEW_GTK_REQUIRED)
88 AC_SUBST(BINUTILS_REQUIRED)
89 AC_SUBST(LIBWNCK_REQUIRED)
90 AC_SUBST(GDA_REQUIRED)
92 dnl AC_SUBST(LIBGTODO_REQUIRED)
94 AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
95 AC_CONFIG_HEADERS(config.h)
100 #Check for C Compiler
105 #Check for C++ Compiler
109 GNOME_COMPILE_WARNINGS(maximum)
110 GNOME_CXX_WARNINGS(yes)
111 AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS"
112 AM_CXXFLAGS="$AM_CXXFLAGS $WARN_CXXFLAGS"
114 dnl Enable debugging mode
116 [ --enable-debug Enable debug messages],
117 AM_CFLAGS="$AM_CFLAGS -DDEBUG"
118 AM_CXXFLAGS="$AM_CXXFLAGS -DDEBUG")
120 AC_SUBST(AM_CXXFLAGS)
122 ANJUTA_LDFLAGS="-no-undefined"
123 ANJUTA_PLUGIN_LDFLAGS="-module -avoid-version -no-undefined"
124 AC_SUBST(ANJUTA_LDFLAG)
125 AC_SUBST(ANJUTA_PLUGIN_LDFLAGS)
127 dnl Disable deprecated APIs
128 AC_ARG_ENABLE(deprecated,
129 [ --disable-deprecated Disable deprecated APIs],
130 [ if test "$enableval" = "no"; then
131 DEPRECATED_FLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED"
133 [ DEPRECATED_FLAGS="" ])
134 AC_SUBST(DEPRECATED_FLAGS)
136 dnl Enable versioned user preferences directory
137 AC_ARG_WITH(pref-suffix,
138 [ --with-pref-suffix=VALUE Suffix to add to user preferences dir.],
139 PREF_SUFFIX="$withval")
141 AC_SUBST(PREF_SUFFIX)
142 AC_DEFINE_UNQUOTED(PREF_SUFFIX,
144 [Suffix to add to preferences directory])
153 dnl ***************************************************************************
154 dnl Check for GConf stuff to handle schema installation
155 dnl ***************************************************************************
156 AC_PATH_PROG(GCONFTOOL, gconftool-2)
159 dnl ***************************************************************************
160 dnl Check for pkgconfig
161 dnl ***************************************************************************
162 AC_PATH_PROG(PKGCONFIG_CONFIG, pkg-config,no)
163 if test x$PKGCONFIG_CONFIG = xno; then
164 AC_MSG_ERROR(Please install the pkg-config package from http://www.freedesktop.org/software/pkgconfig/)
167 dnl pkg checks are split into separate packages instead of single package
168 dnl because different plugins have different requirements.
170 PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
171 AC_SUBST(GLIB_CFLAGS)
174 PKG_CHECK_MODULES(GOBJECT, gobject-2.0 >= $GOBJECT_REQUIRED)
175 AC_SUBST(GOBJECT_CFLAGS)
176 AC_SUBST(GOBJECT_LIBS)
178 PKG_CHECK_MODULES(GMODULE, gmodule-2.0 >= $GMODULE_REQUIRED)
179 AC_SUBST(GMODULE_CFLAGS)
180 AC_SUBST(GMODULE_LIBS)
182 PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= $GTHREAD_REQUIRED)
183 AC_SUBST(GTHREAD_CFLAGS)
184 AC_SUBST(GTHREAD_LIBS)
186 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
190 PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED)
191 AC_SUBST(GDK_PIXBUF_CFLAGS)
192 AC_SUBST(GDK_PIXBUF_LIBS)
194 PKG_CHECK_MODULES(ORBIT, ORBit-2.0 >= $ORBIT_REQUIRED)
195 AC_SUBST(ORBIT_CFLAGS)
198 PKG_CHECK_MODULES(GLADE, libglade-2.0 >= $LIBGLADE_REQUIRED)
199 AC_SUBST(GLADE_CFLAGS)
202 PKG_CHECK_MODULES(GNOME, libgnome-2.0 >= $GNOME_REQUIRED)
203 AC_SUBST(GNOME_CFLAGS)
206 PKG_CHECK_MODULES(GNOME_CANVAS, libgnomecanvas-2.0 >= $GNOME_CANVAS_REQUIRED)
207 AC_SUBST(GNOME_CANVAS_CFLAGS)
208 AC_SUBST(GNOME_CANVAS_LIBS)
210 PKG_CHECK_MODULES(GNOME_UI, libgnomeui-2.0 >= $GNOME_UI_REQUIRED)
211 AC_SUBST(GNOME_UI_CFLAGS)
212 AC_SUBST(GNOME_UI_LIBS)
214 PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED)
215 AC_SUBST(GNOME_VFS_CFLAGS)
216 AC_SUBST(GNOME_VFS_LIBS)
218 PKG_CHECK_MODULES(GNOME_VFS_MODULE, gnome-vfs-module-2.0 >= $GNOME_VFS_REQUIRED)
219 AC_SUBST(GNOME_VFS_MODULE_CFLAGS)
220 AC_SUBST(GNOME_VFS_MODULE_LIBS)
222 PKG_CHECK_MODULES(GCONF, gconf-2.0 >= $GCONF_REQUIRED)
223 AC_SUBST(GCONF_CFLAGS)
226 PKG_CHECK_MODULES(VTE, vte >= $VTE_REQUIRED)
230 PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= $LIBXML_REQUIRED)
231 AC_SUBST(LIBXML_CFLAGS)
232 AC_SUBST(LIBXML_LIBS)
234 PKG_CHECK_MODULES(PANGO, pango >= $PANGO_REQUIRED)
235 AC_SUBST(PANGO_CFLAGS)
238 PKG_CHECK_MODULES(GDL, gdl-1.0 >= $GDL_REQUIRED gdl-gnome-1.0 >= $GDL_REQUIRED)
242 PKG_CHECK_MODULES(LIBXSLT, libxslt)
243 AC_SUBST(LIBXSLT_CFLAGS)
244 AC_SUBST(LIBXSLT_LIBS)
246 dnl Check for autogen
247 dnl -----------------
248 AC_PATH_PROG(AUTOGEN_PATH, autogen,no)
249 if test x$AUTOGEN_PATH = xno; then
250 AC_MSG_ERROR([Couldn't find autogen, please install the autogen package. You can get it from http://autogen.sourceforge.net/])
253 dnl Check for Devhelp
254 dnl -----------------
256 AC_ARG_ENABLE(plugin-devhelp,
257 [ --disable-plugin-devhelp Disable devhelp plugin support in Anjuta.],
258 [ if test "$enableval" = "no"; then
259 user_disabled_devhelp=1
261 [ user_disabled_devhelp=0 ] )
263 AC_MSG_CHECKING(if devhelp plugin is disabled)
264 if test "$user_disabled_devhelp" = 1; then
270 PKG_CHECK_MODULES(PLUGIN_DEVHELP,
271 [libdevhelp-1.0 >= $LIBDEVHELP_REQUIRED],
276 AC_MSG_RESULT([version >= 0.11 not found])
280 if test x$devhelp_old = xyes; then
281 PKG_CHECK_MODULES(PLUGIN_DEVHELP, [libdevhelp-1.0 >= 0.9], [devhelp_enabled=yes], [devhelp_enabled=no])
282 if test x$devhelp_enabled = xyes; then
283 AC_DEFINE(HAVE_OLD_DEVHELP, 1, [If old devhelp (>= 0.9 < 0.11) is installed])
286 AC_SUBST(PLUGIN_DEVHELP_CFLAGS)
287 AC_SUBST(PLUGIN_DEVHELP_LIBS)
290 if test x$devhelp_enabled = xyes; then
291 GECKO_HOME=`$PKGCONFIG_CONFIG --variable=gecko_home libdevhelp-1.0`
292 if test x$GECKO_HOME != x; then
293 ANJUTA_LDFLAGS="$ANJUTA_LDFLAGS -R$GECKO_HOME"
296 AC_SUBST(ANJUTA_LDFLAGS)
298 AM_CONDITIONAL(HAVE_PLUGIN_DEVHELP, [test x$devhelp_enabled = xyes])
301 dnl -----------------
302 dnl PKG_CHECK_MODULES(PLUGIN_GTODO, libgtodo-1.0 >= $LIBGTODO_REQUIRED)
303 dnl AC_SUBST(PLUGIN_GTODO_CFLAGS)
304 dnl AC_SUBST(PLUGIN_GTODO_LIBS)
306 dnl Check for Gnome Build
307 dnl ---------------------
309 PKG_CHECK_MODULES(PLUGIN_GNOMEBUILD, gnome-build-1.0 >= $GNOMEBUILD_REQUIRED)
310 AC_SUBST(PLUGIN_GNOMEBUILD_CFLAGS)
311 AC_SUBST(PLUGIN_GNOMEBUILD_LIBS)
314 dnl ---------------------
316 AC_ARG_ENABLE(plugin-glade,
317 [ --disable-plugin-glade Disable glade plugin support in Anjuta.],
318 [ if test "$enableval" = "no"; then
319 user_disabled_glade=1
321 [ user_disabled_glade=0 ] )
323 AC_MSG_CHECKING(if glade plugin is disabled)
324 if test "$user_disabled_glade" = 1; then
326 libgladeui_found="no"
329 AC_PATH_PROG(PKG_PATH, pkg-config, no)
331 PKG_CHECK_MODULES(PLUGIN_GLADE, gladeui-1.0,
333 libgladeui_found="yes"
334 gladeui_version=`$PKG_PATH --modversion gladeui-1.0 | sed -e 's,\.,,g'`
336 libgladeui_found="no"
338 if test x$libgladeui_found = xno; then
339 PKG_CHECK_MODULES(PLUGIN_GLADE, [libgladeui-1.0 >= $GLADEUI_REQUIRED],
341 libgladeui_found="yes"
342 gladeui_version=`$PKG_PATH --modversion libgladeui-1.0 | sed -e 's,\.,,g'`
344 libgladeui_found="no"
347 AC_DEFINE_UNQUOTED(GLADEUI_VERSION, [$gladeui_version], [GLADEUI version])
348 AC_SUBST(GLADEUI_VERSION)
349 AC_SUBST(PLUGIN_GLADE_CFLAGS)
350 AC_SUBST(PLUGIN_GLADE_LIBS)
353 AM_CONDITIONAL(HAVE_PLUGIN_GLADE, [test x$libgladeui_found = xyes])
355 dnl Check for graphviz (class inheritance and profiler plugins)
356 dnl --------------------------------------------------------------------------
357 dnl FIXME: For some strange reason graphviz-devel rpm install the *.pc files
358 dnl in /usr/lib/graphviz/pkgconfig, instead of usual /usr/lib/pkgconfig. This
359 dnl makes pkgconfig check fail if we don't add the above path in
360 dnl PKG_CONFIG_PATH. We have added both /usr/lib/graphviz/pkgconfig and
361 dnl /usr/local/lib/pkgconfig paths. If graphviz is installed in other prefix
362 dnl (other than /usr or /usr/local or the current installation prefix),
363 dnl following pkgconfig check will fail.
364 dnl --------------------------------------------------------------------------
365 AC_ARG_ENABLE(graphviz,
366 [ --disable-graphviz Disable GraphViz support in Anjuta],
367 [ if test "$enableval" = "no"; then
368 user_disabled_graphviz=1
370 [ user_disabled_graphviz=0 ])
372 AC_MSG_CHECKING(if GraphViz support is disabled)
373 if test "$user_disabled_graphviz" = 1; then
375 libgraphviz_found="no"
379 dnl Set pkgconfig path
380 ANJUTA_PKG_CONFIG_PATH_SAVE="${PKG_CONFIG_PATH}"
381 PKG_CONFIG_PATH="/usr/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
382 PKG_CONFIG_PATH="/usr/local/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
383 PKG_CONFIG_PATH="/usr/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
384 PKG_CONFIG_PATH="/usr/local/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
386 anjuta_save_prefix="$prefix"
387 test "x$prefix" = xNONE && prefix=$ac_default_prefix
388 graphviz_pkgconfig=`eval echo ${libdir}/graphviz/pkgconfig`
389 PKG_CONFIG_PATH="$graphviz_pkgconfig:$PKG_CONFIG_PATH"
390 prefix="$anjuta_save_prefix"
392 export PKG_CONFIG_PATH
393 PKG_CHECK_MODULES(GRAPHVIZ,
394 [libgvc >= $LIBGRAPHVIZ_REQUIRED libgraph >= $LIBGRAPHVIZ_REQUIRED],
395 [libgraphviz_found="yes"],
396 [libgraphviz_found="no"])
397 AC_SUBST(GRAPHVIZ_CFLAGS)
398 AC_SUBST(GRAPHVIZ_LIBS)
400 dnl Restore pkgconfig path
401 PKG_CONFIG_PATH="${ANJUTA_PKG_CONFIG_PATH_SAVE}"
402 export PKG_CONFIG_PATH
405 AM_CONDITIONAL(HAVE_GRAPHVIZ, [test x$libgraphviz_found = xyes])
407 dnl Define HAVE_GRAPHVIZ to disable Function Call Chart in the Profiler if
408 dnl Graphviz isn't on the system
409 if test "$libgraphviz_found" = yes; then
410 AC_DEFINE(HAVE_GRAPHVIZ, [], [Define if we have GraphViz >= 2.6.0])
413 dnl Build gtksourceview plugin only on gnome 2.14 and gtk 2.10
414 dnl -------------------------------------------------------------
416 AC_ARG_ENABLE(plugin-sourceview,
417 [ --disable-plugin-sourceview Disable gtksourceview based editor in Anjuta],
418 [ if test "$enableval" = "no"; then
419 user_disabled_sourceview=1
421 [ user_disabled_sourceview=0 ])
423 AC_MSG_CHECKING(if sourceview plugin is disabled)
424 if test "$user_disabled_sourceview" = 1; then
430 PKG_CHECK_MODULES(PLUGIN_SOURCEVIEW,
431 [libgnome-2.0 >= $GTKSOURCEVIEW_GNOME_REQUIRED,
432 gtk+-2.0 >= $GTKSOURCEVIEW_GTK_REQUIRED,
433 gtksourceview-2.0 >= $GTKSOURCEVIEW_REQUIRED],
436 AC_SUBST(PLUGIN_SOURCEVIEW_CFLAGS)
437 AC_SUBST(PLUGIN_SOURCEVIEW_LIBS)
440 AM_CONDITIONAL(HAVE_PLUGIN_SOURCEVIEW, [test x$sourceview = xyes])
443 dnl -------------------------------------------------------------
445 AC_ARG_ENABLE(plugin-scintilla,
446 [ --disable-plugin-scintilla Disable Scintilla based editor in Anjuta],
447 [ if test "$enableval" = "no"; then
448 user_disabled_scintilla=1
450 [ user_disabled_scintilla=0 ])
452 AC_MSG_CHECKING(if scintilla plugin is disabled)
453 if test "$user_disabled_scintilla" = 1; then
457 PKG_CHECK_MODULES(PLUGIN_SCINTILLA,
458 [libgnomeprint-2.2 >= $GNOME_PRINT_REQUIRED,
459 libgnomeprintui-2.2 >= $GNOME_PRINT_UI_REQUIRED],
462 AC_SUBST(PLUGIN_SCINTILLA_CFLAGS)
463 AC_SUBST(PLUGIN_SCINTILLA_LIBS)
465 AM_CONDITIONAL(HAVE_PLUGIN_SCINTILLA, [test x$scintilla = xyes])
467 dnl Build symbol-db only if we have gda
468 dnl -------------------------------------------------------------
469 user_disabled_symboldb=1
470 AC_ARG_ENABLE(plugin-symbol-db,
471 [ --enable-plugin-symbol-db Enable experimental symbol-db plugin],
472 [ if test "$enableval" = "yes"; then
473 user_disabled_symboldb=0
475 [ user_disabled_symboldb=1 ])
477 AC_MSG_CHECKING(if symbol-db plugin is disabled)
478 if test "$user_disabled_symboldb" = 1; then
484 PKG_CHECK_MODULES(PLUGIN_SYMBOL_DB,
485 [libgda-3.0 >= $GDA_REQUIRED],
488 AC_SUBST(PLUGIN_SYMBOL_DB_CFLAGS)
489 AC_SUBST(PLUGIN_SYMBOL_DB_LIBS)
492 AM_CONDITIONAL(HAVE_PLUGIN_SYMBOL_DB, [test x$symboldb = xyes])
496 dnl -------------------------------------------------------------
498 AC_ARG_ENABLE(plugin-valgrind,
499 [ --disable-plugin-valgrind Disable Valgrind plugin],
500 [ if test "$enableval" = "no"; then
501 user_disabled_valgrind=1
503 [ user_disabled_valgrind=0 ])
505 AC_MSG_CHECKING(if valgrind plugin is disabled)
506 if test "$user_disabled_valgrind" = 1; then
514 AC_CHECK_LIB(bfd, bfd_get_error, [PLUGIN_VALGRIND_LIBS="-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic"],
518 AC_SUBST(PLUGIN_VALGRIND_LIBS)
519 AM_CONDITIONAL(HAVE_PLUGIN_VALGRIND, [test x$valgrind = xyes])
524 dnl we need gconftool-2 in order to install the schema
525 AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
527 if test "x$GCONFTOOL" = "xno"; then
528 AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
536 dnl check for bfd_get_section_size_before_reloc() in libbfd
537 AC_MSG_CHECKING(for bfd_get_section_size_before_reloc)
543 bfd_get_section_size_before_reloc (section);
546 AC_DEFINE(HAVE_BFD_GET_SECTION_SIZE_BEFORE_RELOC, [], [Define if libbfd
547 contains the function bfd_get_section_size_before_reloc])
555 dnl Setup Anjuta Library flags
556 dnl --------------------------
557 LIBANJUTA_CFLAGS='$(GNOME_UI_CFLAGS) $(GLADE_CFLAGS) -I$(top_srcdir) -DPACKAGE_PIXMAPS_DIR=\""$(datadir)/pixmaps/$(PACKAGE)\"" -DPACKAGE_DATA_DIR=\""$(datadir)/$(PACKAGE)"\"'
558 LIBANJUTA_LIBS='$(top_builddir)/libanjuta/libanjuta.la'
559 AC_SUBST(LIBANJUTA_CFLAGS)
560 AC_SUBST(LIBANJUTA_LIBS)
562 dnl Setup Plugin directories
563 dnl ------------------------
564 anjuta_plugin_dir='$(libdir)/anjuta'
565 anjuta_data_dir='$(datadir)/anjuta'
566 anjuta_ui_dir='$(datadir)/anjuta/ui'
567 anjuta_glade_dir='$(datadir)/anjuta/glade'
568 anjuta_image_dir='$(datadir)/pixmaps/anjuta'
569 AC_SUBST(anjuta_plugin_dir)
570 AC_SUBST(anjuta_data_dir)
571 AC_SUBST(anjuta_ui_dir)
572 AC_SUBST(anjuta_glade_dir)
573 AC_SUBST(anjuta_image_dir)
575 dnl ***************************************************************************
576 dnl Check for old vte version
577 dnl ***************************************************************************
578 PKG_CHECK_MODULES(VTE, vte >= $VTE_NEW_REQUIRED, OLD_VTE=0, OLD_VTE=1)
580 AC_DEFINE_UNQUOTED(OLD_VTE, $OLD_VTE, [Old version of vte])
582 dnl ***************************************************************************
583 dnl Check for marshal and enum generators
584 dnl ***************************************************************************
585 GLIB_GENMARSHAL="`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`"
586 AC_SUBST(GLIB_GENMARSHAL)
587 GLIB_MKENUMS="`$PKG_CONFIG --variable=glib_mkenums glib-2.0`"
588 AC_SUBST(GLIB_MKENUMS)
590 dnl Set up Glade 3 catlog information
591 dnl ---------------------
592 GLADE_PLUGINS_PATH="`$PKG_CONFIG --variable=moduledir gladeui-1.0`"
593 AC_SUBST(GLADE_PLUGINS_PATH)
594 GLADE_CATALOG_PATH="`$PKG_CONFIG --variable=catalogdir gladeui-1.0`"
595 AC_SUBST(GLADE_CATALOG_PATH)
597 dnl ***************************************************************************
598 dnl Internatinalization
599 dnl ***************************************************************************
600 GETTEXT_PACKAGE=anjuta
601 AC_SUBST(GETTEXT_PACKAGE)
602 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
604 IT_PROG_INTLTOOL([0.35.0])
606 dnl ***************************************************************************
607 dnl Check for gtk-doc.
608 dnl ***************************************************************************
611 dnl ***************************************************************************
612 dnl Check for Gnome XML [Is this still required?]
613 dnl ***************************************************************************
616 dnl ***************************************************************************
617 dnl Check for ScrollKeeper [No documentation for now]
618 dnl ***************************************************************************
619 dnl AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
620 dnl if test x$SCROLLKEEPER_CONFIG = xno; then
621 dnl AC_MSG_ERROR(Couldn't find scrollkeeper-config, please install the scrollkeeper package. You can get it from http://scrollkeeper.sourceforge.net/)
623 dnl SCROLLKEEPER_REQUIRED=0.1.4
624 dnl AC_SUBST(SCROLLKEEPER_REQUIRED)
626 dnl ***************************************************************************
627 dnl Checking for scrollkeeper version [No documentation for now]
628 dnl ***************************************************************************
629 dnl AC_MSG_CHECKING(for scrollkeeper version number)
630 dnl if scrollkeeper-config --version > /dev/null 2>&1; then
631 dnl version=`scrollkeeper-config --version`; \
632 dnl vers=`echo $version | awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'`; \
633 dnl AC_MSG_RESULT(found $version)
634 dnl SCROLLKEEPER_VERSION_NUM=$vers
636 dnl AC_MSG_ERROR(Did not find scrollkeeper installed)
638 dnl AC_SUBST(SCROLLKEEPER_VERSION_NUM)
640 dnl ***************************************************************************
642 dnl ***************************************************************************
644 AC_PATH_PROG(PCRE_CONFIG, pcre-config,no)
645 if test x$PCRE_CONFIG = xno; then
646 AC_MSG_ERROR(Please install the PCRE package from http://www.pcre.org/)
648 PCRE_CFLAGS=`pcre-config --cflags`
649 PCRE_LIBS=`pcre-config --libs`
651 AC_SUBST(PCRE_CFLAGS)
653 dnl ***************************************************************************
654 dnl Tagmanager checks.
655 dnl ***************************************************************************
657 dnl Define convenience macros
658 dnl -------------------------
659 dnl CHECK_HEADER_DEFINE(LABEL, HEADER [,ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ] ])
660 AC_DEFUN([CHECK_HEADER_DEFINE],
662 AC_MSG_CHECKING("if $1 is defined in $2")
676 dnl Checks for header files.
677 AC_CHECK_HEADERS(dirent.h fcntl.h fnmatch.h stat.h stdlib.h string.h stdint.h)
678 AC_CHECK_HEADERS(time.h types.h unistd.h)
679 AC_CHECK_HEADERS(sys/dir.h sys/stat.h sys/times.h sys/types.h)
681 dnl Checks for typedefs, structures, and compiler characteristics.
683 dnl Disable cygwin check until someone fixes that stupid autoconf warnings.
694 AC_MSG_CHECKING("for fpos_t")
695 AC_EGREP_HEADER(fpos_t, stdio.h, AC_MSG_RESULT(yes),
698 AC_DEFINE(fpos_t, long, [fpos_t is type long])
701 AC_MSG_CHECKING("for clock_t")
702 AC_EGREP_HEADER(clock_t, time.h, AC_MSG_RESULT(yes),
705 AC_DEFINE(clock_t, long, [clock_t is type long])
708 CHECK_HEADER_DEFINE(L_tmpnam, stdio.h,, AC_DEFINE(L_tmpnam, 20, [L_tmpname is 20]))
710 CHECK_HEADER_DEFINE(INT_MAX, limits.h,,
711 CHECK_HEADER_DEFINE(MAXINT, limits.h,
712 AC_DEFINE(INT_MAX, MAXINT, [Maximum int size]), AC_DEFINE(INT_MAX, 32767, [Maximum int size])))
714 AC_MSG_CHECKING(if struct stat contains st_ino)
715 AC_TRY_COMPILE([#include <sys/stat.h>], [
720 ], have_st_ino=yes, have_st_ino=no)
721 AC_MSG_RESULT($have_st_ino)
722 if test yes = "$have_st_ino"; then
723 AC_DEFINE(HAVE_STAT_ST_INO,,[Have stat st_ino])
727 dnl Check for function forkpty in libutil
728 AC_CHECK_LIB(util, forkpty)
730 dnl Checks for library functions.
731 AC_CHECK_FUNCS(fnmatch)
732 AC_CHECK_FUNCS(strstr)
733 AC_CHECK_FUNCS(stricmp)
734 AC_CHECK_FUNCS(strnicmp)
735 AC_CHECK_FUNCS(getline)
737 dnl for libegg/egg-recent-model.c
738 AC_CHECK_DECLS([lockf])
739 AC_CHECK_FUNCS([lockf])
741 AC_CHECK_FUNCS(fgetpos, have_fgetpos=yes)
743 dnl SEEK_SET should be in stdio.h, but may be in unistd.h on SunOS 4.1.x
744 if test "$have_fgetpos" != yes ; then
745 CHECK_HEADER_DEFINE(SEEK_SET, stdio.h,,
746 CHECK_HEADER_DEFINE(SEEK_SET, unistd.h,,
747 AC_DEFINE(SEEK_SET, 0, [Seek set 0])))
750 AC_CHECK_FUNCS(mkstemp, have_mkstemp=yes)
751 if test "$have_mkstemp" != yes ; then
752 AC_CHECK_FUNCS(chmod)
753 if test "$tmpdir_specified" = yes ; then
754 AC_MSG_RESULT(use of tmpnam overrides temporary directory selection)
757 AC_MSG_CHECKING(directory to use for temporary files)
758 if test -z "$enable_tmpdir" -o "$enable_tmpdir" = no -o "$enable_tmpdir" = yes ;
760 else tmpdir="$enable_tmpdir"
762 if test -d $tmpdir ; then
763 AC_MSG_RESULT($tmpdir)
764 AC_DEFINE_UNQUOTED(TMPDIR, "$tmpdir", [Directory for temporary files])
766 AC_MSG_WARN($tmpdir does not exist)
770 AC_CHECK_FUNCS(strerror opendir)
771 AC_CHECK_FUNCS(clock times, break)
772 AC_CHECK_FUNCS(remove, have_remove=yes,
773 CHECK_HEADER_DEFINE(remove, unistd.h,, AC_DEFINE(remove, unlink, [Remove is unlink])))
775 AC_CHECK_FUNCS(truncate, have_truncate=yes)
776 dnl === Cannot nest AC_CHECK_FUNCS() calls
777 if test "$have_truncate" != yes ; then
778 AC_CHECK_FUNCS(ftruncate, have_ftruncate=yes)
779 if test "$have_ftruncate" != yes ; then
780 AC_CHECK_FUNCS(chsize)
784 AC_CHECK_FUNCS(setenv, have_setenv=yes)
785 dnl === Cannot nest AC_CHECK_FUNCS() calls
786 if test "$have_setenv" != yes ; then
787 AC_CHECK_FUNCS(putenv, have_putenv=yes)
788 if test "$have_putenv" = yes ; then
789 AC_EGREP_HEADER(putenv, stdlib.h, have_putenv_prototype=yes)
790 if test "$have_putenv_prototype" = yes ; then
791 AC_MSG_CHECKING("putenv prototype")
792 AC_EGREP_HEADER([[^A-Za-zo-9_]putenv[ ]*\(.*const.*\)[ ]*;],
793 stdlib.h, AC_MSG_RESULT(correct),
795 AC_MSG_RESULT(no const)
796 AC_DEFINE(NON_CONST_PUTENV_PROTOTYPE,,[putenv has non constant prototype])
803 dnl if test yes = "$CYGWIN"; then with_posix_regex=no; fi
804 if test no != "$with_posix_regex"; then
805 AC_CHECK_FUNCS(regcomp)
806 AC_MSG_CHECKING(if regcomp works)
808 #include <sys/types.h>
812 exit (regcomp (&patbuf, "/hello/", 0) != 0);
813 }],regcomp_works=yes,regcomp_works=no,AC_DEFINE(CHECK_REGCOMP,,[Check regcomp]))
814 AC_MSG_RESULT($regcomp_works)
815 if test yes != "$regcomp_works"; then
816 AC_DEFINE(REGCOMP_BROKEN,,[Regcomp is broken])
820 dnl -----------------------------
821 dnl Checks for FreeBSD Build
822 dnl -----------------------------
823 AC_MSG_CHECKING(if building on FreeBSD)
825 if test `uname -s` = "FreeBSD" ; then
827 FREEBSD_BUILD=-DFREEBSD
828 AC_SUBST(FREEBSD_BUILD)
829 AC_PATH_PROG(GMAKE, gmake, no)
830 if test "x$GMAKE" = "xno"; then
831 AC_ERROR(You need gmake installed to build Anjuta!)
840 dnl Checks for missing prototypes
841 dnl -----------------------------
842 AC_CHECKING("for missing prototypes")
844 AC_DEFUN([CHECK_PROTO], [AC_EGREP_HEADER([[^A-Za-z0-9_]$1([ ]+[A-Za-z0-9_]*)?\(], $2,, AC_DEFINE(patsubst([NEED_PROTO_NAME], [NAME], translit($1, [a-z], [A-Z])),,[Do not know]) AC_MSG_RESULT(adding prototype for $1))])
846 if test "$have_remove" = yes ; then
847 CHECK_PROTO(remove, stdio.h)
849 CHECK_PROTO(unlink, unistd.h)
851 CHECK_PROTO(malloc, stdlib.h)
852 CHECK_PROTO(getenv, stdlib.h)
853 CHECK_PROTO(stat, sys/stat.h)
854 CHECK_PROTO(lstat, sys/stat.h)
855 if test "$have_fgetpos" = yes ; then
856 CHECK_PROTO(fgetpos, stdio.h)
858 if test "$have_truncate" = yes ; then
859 CHECK_PROTO(truncate, unistd.h)
861 if test "$have_ftruncate" = yes ; then
862 CHECK_PROTO(ftruncate, unistd.h)
865 dnl **********************************************************
866 dnl check if we have svn libraries to build subversion plugin
867 dnl (stolen from kdevelop ;-)
868 dnl **********************************************************
870 AC_MSG_CHECKING(for Subversion svn-config)
871 AC_ARG_WITH(subversion-dir,
872 [ --with-subversion-dir=DIR where Subversion is installed ],
874 SVNCONFIG="$withval/bin/svn-config"
877 if test -z "$SVNCONFIG"; then
878 _SVNCONFIG="`svn-config --prefix 2> /dev/null`"
879 if test -n "$_SVNCONFIG"; then
880 SVNCONFIG="$_SVNCONFIG/bin/svn-config"
885 if test -x "$SVNCONFIG"; then
886 SVNLD="`$SVNCONFIG --ldflags 2> /dev/null`"
887 SVN_LIB="`$SVNCONFIG --libs --cflags 2> /dev/null` -lsvn_client-1 -lsvn_subr-1"
888 dnl ugly hack for subversion svn-config problems in 0.14.x, to be removed when svn-config is fixed
889 SVN_INCLUDE="`$SVNCONFIG --includes 2> /dev/null` -I$_SVNCONFIG/include/subversion-1/"
892 AC_MSG_RESULT(not found)
894 dnl just a fallback to debian's config so that it works for me :)
895 AC_ARG_WITH(svn-include,
896 [[ --with-svn-include=DIR Use the given path to the subversion headers.]],
898 if test "$withval" != "yes" -a "$withval" != ""; then
899 SVN_INCLUDES=$withval
902 if test -z "$SVN_INCLUDES"; then
903 SVN_INCLUDES="/usr/local/include /usr/include"
905 AC_MSG_CHECKING([for Subversion headers])
907 for VALUE in $SVN_INCLUDES ; do
908 if test -f $VALUE/subversion-1/svn_types.h ; then
909 SVN_INCLUDE=$VALUE/subversion-1
912 if test -f $VALUE/svn_types.h ; then
917 if test $SVN_INCLUDE ; then
918 AC_MSG_RESULT([found])
920 AC_MSG_RESULT([not found])
922 SVN_LIBS="/usr/local/lib /usr/lib"
924 [[ --with-svn-lib=DIR Use the given path to the subversion libraries.]],
926 if test "$withval" != "yes" -a "$withval" != ""; then
930 AC_MSG_CHECKING([for Subversion libraries])
932 for VALUE in $SVN_LIBS ; do
933 if ls $VALUE/libsvn_client-1.* 1>/dev/null 2>&1; then
938 if test $SVN_LIB ; then
939 AC_MSG_RESULT([found])
941 AC_MSG_RESULT([not found])
945 dnl ******************************************************************
946 dnl Check for extra libs required by subversion.
947 dnl FIXME: This should actually be done by subversion and not by us.
948 dnl ******************************************************************
950 AC_ARG_ENABLE(plugin-subversion,
951 [ --disable-plugin-subversion Disable subversion support in Anjuta.],
952 [ if test "$enableval" = "no"; then
953 user_disabled_subversion=1
955 [ user_disabled_subversion=0 ] )
957 AC_MSG_CHECKING(if subversion support is disabled)
958 if test "$user_disabled_subversion" = 1; then
966 if test -n "$SVN_INCLUDE" ; then
967 dnl ------------------------------------
968 dnl APR. Required by subversion (devel)
969 dnl ------------------------------------
971 APR_CONFIGS="apr-config /usr/local/apr/bin/apr-config/ apr-1-config "
972 AC_ARG_WITH(apr-config,
973 [[ --with-apr-config=FILE Use the given path to apr-config when determining
974 APR configuration; defaults to "apr-config"]],
976 if test "$withval" != "yes" -a "$withval" != ""; then
980 AC_MSG_CHECKING([for APR])
982 for VALUE in $APR_CONFIGS ; do
983 if $VALUE --cflags > /dev/null 2>&1 ; then
988 test $VALUE && APR_CONFIG=$VALUE
989 if test $APR_CONFIG ; then
990 AC_MSG_RESULT([found])
991 APR_CFLAGS="`$APR_CONFIG --cflags` `$APR_CONFIG --cppflags`"
992 APR_INCLUDE="`$APR_CONFIG --includes`"
993 APR_LIBS="`$APR_CONFIG --link-ld --libs`"
995 AC_MSG_RESULT([not found])
996 dnl AC_MSG_ERROR([APR is required. Try --with-apr-config.])
999 dnl -----------------------------------------
1000 dnl APR util. Required by subversion (devel)
1001 dnl------------------------------------------
1003 APU_CONFIGS="apu-config /usr/local/apr/bin/apu-config apu-1-config"
1004 AC_ARG_WITH(apu-config,
1005 [[ --with-apu-config=FILE Use the given path to apu-config when determining
1006 APR util configuration; defaults to "apu-config"]],
1008 if test "$withval" != "yes" -a "$withval" != ""; then
1009 APU_CONFIGS=$withval
1012 AC_MSG_CHECKING([for APR util])
1014 for VALUE in $APU_CONFIGS ; do
1015 if $VALUE --includes > /dev/null 2>&1 ; then
1020 if test $APU_CONFIG ; then
1021 AC_MSG_RESULT([found])
1022 APR_INCLUDE="$APR_INCLUDE `$APU_CONFIG --includes`"
1023 APR_LIBS="$APR_LIBS `$APU_CONFIG --link-ld --libs`"
1025 AC_MSG_RESULT([not found])
1028 dnl -----------------------------------------
1029 dnl NEON. Required by subversion (devel)
1030 dnl------------------------------------------
1032 dnl Check for neon. It is required by subversion libs, but for
1033 dnl for some strange reason it's not in it's dependencies.
1034 dnl subversion plugin will be disabled if neon (devel) is not
1035 dnl installed, even if subversion (devel) is installed.
1037 NEON_CONFIGS="neon-config"
1038 AC_ARG_WITH(neon-config,
1039 [[ --with-neon-config=FILE Use the given path to neon-config when determining
1040 Neon configuration; defaults to "neon-config"]],
1042 if test "$withval" != "yes" -a "$withval" != ""; then
1043 NEON_CONFIGS=$withval
1046 AC_MSG_CHECKING([for Neon])
1048 for VALUE in $NEON_CONFIGS ; do
1049 if $VALUE --cflags > /dev/null 2>&1 ; then
1054 if test $NEON_CONFIG ; then
1055 AC_MSG_RESULT([found])
1057 AC_MSG_RESULT([not found])
1063 dnl ------------------------------------------
1064 dnl Finally prepare subversion build flags
1065 dnl ------------------------------------------
1067 if test -n "$SVN_INCLUDE" ; then
1068 SVN_INCLUDE="-I$SVN_INCLUDE $APR_INCLUDE"
1069 if test x != "x$SVN_LIB" ; then
1070 SVN_LIB="-L$SVN_LIB $APR_LIBS -lsvn_client-1 -lsvn_subr-1"
1072 SVN_LIB="$APR_LIBS -lsvn_client-1 -lsvn_subr-1"
1074 SVN_CFLAGS="$APR_CFLAGS"
1077 AM_CONDITIONAL(BUILD_SVN, [test -n "$SVN_INCLUDE"])
1078 AC_SUBST(SVN_INCLUDE)
1080 AC_SUBST(SVN_CFLAGS)
1082 dnl --------- help outputs -----------
1083 dnl manuals/C/Makefile
1084 dnl manuals/C/anjuta-tutorial/Makefile
1085 dnl manuals/C/anjuta-advanced-tutorial/Makefile
1086 dnl manuals/C/anjuta-faqs/Makefile
1087 dnl manuals/C/anjuta-manual/Makefile
1088 dnl manuals/de/Makefile
1089 dnl manuals/de/anjuta-tutorial/Makefile
1090 dnl manuals/ja/Makefile
1091 dnl manuals/ja/anjuta-faqs/Makefile
1092 dnl manuals/ja/anjuta-manual/Makefile
1098 tagmanager/include/Makefile
1099 global-tags/Makefile
1101 libegg/util/Makefile
1102 libegg/treeviewutils/Makefile
1103 libegg/menu/Makefile
1104 libegg/recent-files/Makefile
1106 libanjuta/libanjuta-1.0.pc
1107 libanjuta/interfaces/Makefile
1112 data/properties/Makefile
1114 doc/anjuta_launcher.1
1117 scripts/anjuta_import.sh
1120 plugins/sample1/Makefile
1121 plugins/gtodo/Makefile
1122 plugins/class-gen/Makefile
1123 plugins/class-gen/templates/Makefile
1124 plugins/patch/Makefile
1125 plugins/editor/Makefile
1126 plugins/editor/scintilla/Makefile
1127 plugins/editor/scintilla/include/Makefile
1128 plugins/document-manager/Makefile
1129 plugins/document-manager/images/Makefile
1130 plugins/search/Makefile
1131 plugins/message-view/Makefile
1132 plugins/gdb/Makefile
1133 plugins/gdb/images/Makefile
1134 plugins/debug-manager/Makefile
1135 plugins/debug-manager/images/Makefile
1136 plugins/devhelp/Makefile
1137 plugins/glade/Makefile
1138 plugins/file-manager/Makefile
1139 plugins/file-loader/Makefile
1140 plugins/file-wizard/Makefile
1141 plugins/terminal/Makefile
1142 plugins/build-basic-autotools/Makefile
1143 plugins/profiler/Makefile
1144 plugins/project-manager/Makefile
1145 plugins/symbol-browser/Makefile
1146 plugins/symbol-browser/images/Makefile
1147 plugins/symbol-db/Makefile
1148 plugins/cvs-plugin/Makefile
1149 plugins/project-wizard/Makefile
1150 plugins/macro/Makefile
1151 plugins/subversion/Makefile
1152 plugins/sourceview/Makefile
1153 plugins/tools/Makefile
1154 plugins/tools/scripts/Makefile
1155 plugins/class-inheritance/Makefile
1156 plugins/valgrind/Makefile
1157 plugins/language-manager/Makefile
1158 plugins/project-import/Makefile
1159 plugins/project-wizard/templates/Makefile
1160 plugins/project-wizard/templates/mkfile/Makefile
1161 plugins/project-wizard/templates/mkfile/src/Makefile
1162 plugins/project-wizard/templates/mkfile/po/Makefile
1163 plugins/project-wizard/templates/minimal/Makefile
1164 plugins/project-wizard/templates/terminal/Makefile
1165 plugins/project-wizard/templates/terminal/src/Makefile
1166 plugins/project-wizard/templates/terminal/po/Makefile
1167 plugins/project-wizard/templates/cpp/Makefile
1168 plugins/project-wizard/templates/cpp/src/Makefile
1169 plugins/project-wizard/templates/cpp/po/Makefile
1170 plugins/project-wizard/templates/gtk/Makefile
1171 plugins/project-wizard/templates/gtk/src/Makefile
1172 plugins/project-wizard/templates/gtk/po/Makefile
1173 plugins/project-wizard/templates/anjuta-plugin/Makefile
1174 plugins/project-wizard/templates/anjuta-plugin/src/Makefile
1175 plugins/project-wizard/templates/anjuta-plugin/po/Makefile
1176 plugins/project-wizard/templates/gnome/Makefile
1177 plugins/project-wizard/templates/gnome/src/Makefile
1178 plugins/project-wizard/templates/gnome/po/Makefile
1179 plugins/project-wizard/templates/gtkmm/Makefile
1180 plugins/project-wizard/templates/gtkmm/src/Makefile
1181 plugins/project-wizard/templates/gtkmm/po/Makefile
1182 plugins/project-wizard/templates/gcj/Makefile
1183 plugins/project-wizard/templates/gcj/src/Makefile
1184 plugins/project-wizard/templates/java/Makefile
1185 plugins/project-wizard/templates/java/src/Makefile
1186 plugins/project-wizard/templates/java/po/Makefile
1187 plugins/project-wizard/templates/python/Makefile
1188 plugins/project-wizard/templates/python/src/Makefile
1189 plugins/project-wizard/templates/python/po/Makefile
1190 plugins/project-wizard/templates/wxwin/Makefile
1191 plugins/project-wizard/templates/wxwin/src/Makefile
1192 plugins/project-wizard/templates/wxwin/po/Makefile
1193 plugins/project-wizard/templates/xlib/Makefile
1194 plugins/project-wizard/templates/xlib/src/Makefile
1195 plugins/project-wizard/templates/xlib/po/Makefile
1196 plugins/project-wizard/templates/xlib-dock/Makefile
1197 plugins/project-wizard/templates/xlib-dock/src/Makefile
1198 plugins/project-wizard/templates/xlib-dock/po/Makefile
1199 plugins/project-wizard/templates/sdl/Makefile
1200 plugins/project-wizard/templates/sdl/src/Makefile
1201 plugins/project-wizard/templates/sdl/po/Makefile
1202 plugins/language-support-cpp-java/Makefile
1205 manuals/reference/Makefile
1206 manuals/reference/libanjuta/Makefile
1207 manuals/reference/libanjuta/version.xml
1208 manuals/anjuta-manual/Makefile
1209 manuals/anjuta-faqs/Makefile
1213 echo "-------------------------------------------------------------------"
1214 echo "Conditionally built plugins:"
1215 echo "-------------------------------------------------------------------"
1216 if [ test -n "$SVN_INCLUDE" ]; then
1217 echo "Building subversion plugin: ............................YES"
1219 echo "Building subversion plugin: ............................NO"
1220 echo " Requires apr (>= 0.9.4); http://subversion.org"
1221 echo " Requires apr-util (>= 0.9.4); http://subversion.org"
1222 echo " Requires neon (>= 0.24.5); http://subversion.org"
1223 echo " Requires subversion (>= 1.0.2); http://subversion.org"
1226 if [ test x$libgladeui_found = xyes ]; then
1227 echo "Building glade plugin: .................................YES"
1229 echo "Building glade plugin: .................................NO"
1230 echo " Requires glade-3 (>= 3.0.2)"
1233 if [ test x$devhelp_enabled = xyes ]; then
1234 echo "Building devhelp plugin: ...............................YES"
1236 echo "Building devhelp plugin: ...............................NO"
1237 echo " Requires devhelp"
1240 if [ test x$libgraphviz_found = xyes ]; then
1241 echo "Building class inheritance plugin: .....................YES"
1242 echo "Building performance profiler with function call chart: YES"
1244 echo "Building class inheritance plugin: .....................NO"
1245 echo " Requires graphviz (>= 2.6.0); http://graphviz.org"
1246 echo "Building performance profiler with function call chart: NO"
1247 echo " Requires graphviz (>= 2.6.0); http://graphviz.org"
1250 if [ test x$valgrind = xyes ]; then
1251 echo "Building Valgrind debugger plugin: .....................YES"
1253 echo "Building Valgrind debugger plugin: .....................NO"
1254 echo " Requires binutils-dev"
1257 if [ test x$sourceview = xyes ]; then
1258 echo "Building GtkSourceView based editor: ...................YES"
1260 echo "Building GtkSourceView based editor: ...................NO"
1263 if [ test x$scintilla = xyes ]; then
1264 echo "Building Scintilla based editor: .......................YES"
1266 echo "Building Scintilla based editor: .......................NO"
1269 if [ test x$symboldb = xyes ]; then
1270 echo "Building new (unstable) Symbol-db plugin: ..............YES"
1272 echo "Building new (unstable) Symbol-db plugin: .......,,.....NO"
1274 echo "-------------------------------------------------------------------"
1275 echo "AM_CFLAGS = $AM_CFLAGS"
1276 echo "AM_CXXFLAGS = $AM_CXXFLAGS"