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, 1)
7 m4_define(anjuta_micro_version, 1)
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_UI_REQUIRED=2.12.0
32 GNOME_PRINT_REQUIRED=2.12.0
33 GNOME_PRINT_UI_REQUIRED=2.12.0
34 GNOME_VFS_REQUIRED=2.10.0
37 VTE_NEW_REQUIRED=0.13.1
38 LIBXML_REQUIRED=2.4.23
41 LIBDEVHELP_REQUIRED=0.13
43 GNOMEBUILD_REQUIRED=0.1.4
44 GLADEUI_REQUIRED=3.0.2
45 GLADEUI_SVN_REQUIRED=3.1.4
46 LIBGRAPHVIZ_REQUIRED=1.0
48 SUBVERSION_REQUIRED=1.0.2
49 GTKSOURCEVIEW_REQUIRED=1.4.0
50 GTKSOURCEVIEW_GNOME_REQUIRED=2.14
51 GTKSOURCEVIEW_GTK_REQUIRED=2.10
52 BINUTILS_REQUIRED=2.15.92
55 dnl LIBGTODO_REQUIRED=0.15
57 AC_SUBST(GLIB_REQUIRED)
58 AC_SUBST(GOBJECT_REQUIRED)
59 AC_SUBST(GMODULE_REQUIRED)
60 AC_SUBST(GDK_PIXBUF_REQUIRED)
61 AC_SUBST(GTK_REQUIRED)
62 AC_SUBST(ORBIT_REQUIRED)
63 AC_SUBST(LIBGLADE_REQUIRED)
64 AC_SUBST(GNOME_REQUIRED)
65 AC_SUBST(GNOME_UI_REQUIRED)
66 AC_SUBST(GNOME_PRINT_REQUIRED)
67 AC_SUBST(GNOME_PRINT_UI_REQUIRED)
68 AC_SUBST(GNOME_VFS_REQUIRED)
69 AC_SUBST(GCONF_REQUIRED)
70 AC_SUBST(VTE_REQUIRED)
71 AC_SUBST(LIBXML_REQUIRED)
72 AC_SUBST(PANGO_REQUIRED)
73 AC_SUBST(VTE_NEW_REQUIRED)
74 AC_SUBST(PCRE_REQUIRED)
75 AC_SUBST(LIBDEVHELP_REQUIRED)
76 AC_SUBST(GDL_REQUIRED)
77 AC_SUBST(GNOMEBUILD_REQUIRED)
78 AC_SUBST(GLADEUI_REQUIRED)
79 AC_SUBST(GLADEUI_SVN_REQUIRED)
80 AC_SUBST(LIBGRAPHVIZ_REQUIRED)
81 AC_SUBST(NEON_REQUIRED)
82 AC_SUBST(SUBVERSION_REQUIRED)
83 AC_SUBST(GTKSOURCEVIEW_REQUIRED)
84 AC_SUBST(GTKSOURCEVIEW_GNOME_REQUIRED)
85 AC_SUBST(GTKSOURCEVIEW_GTK_REQUIRED)
86 AC_SUBST(BINUTILS_REQUIRED)
87 AC_SUBST(LIBWNCK_REQUIRED)
89 dnl AC_SUBST(LIBGTODO_REQUIRED)
91 AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
92 AC_CONFIG_HEADERS(config.h)
97 CFLAGS_WARNINGS="-Wall -Wmissing-prototypes -Wmissing-declarations -Wparentheses -Wpointer-arith"
98 WCXXFLAGS_WARNINGS="-Wall -Wparentheses -Wpointer-arith"
100 if test "x$GCC" = xyes; then
105 AM_CFLAGS="$AM_CFLAGS -O0 -g $CFLAGS_WARNINGS"
106 AM_CXXFLAGS="$AM_CXXFLAGS -O0 -g $CXXFLAGS_WARNINGS"
108 dnl Enable debugging mode
110 [ --enable-debug Enable debug messages],
111 AM_CFLAGS="$AM_CFLAGS -DDEBUG"
112 AM_CXXFLAGS="$AM_CXXFLAGS -DDEBUG")
114 AC_SUBST(AM_CXXFLAGS)
116 dnl Disable deprecated APIs
117 AC_ARG_ENABLE(deprecated,
118 [ --disable-deprecated Disable deprecated APIs],
119 [ if test "$enableval" = "no"; then
120 DEPRECATED_FLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED"
122 [ DEPRECATED_FLAGS="" ])
123 AC_SUBST(DEPRECATED_FLAGS)
125 dnl Enable versioned user preferences directory
126 AC_ARG_WITH(pref-suffix,
127 [ --with-pref-suffix=VALUE Suffix to add to user preferences dir.],
128 PREF_SUFFIX="$withval")
130 AC_SUBST(PREF_SUFFIX)
131 AC_DEFINE_UNQUOTED(PREF_SUFFIX,
133 [Suffix to add to preferences directory])
135 #Check for C Compiler
140 #Check for C++ Compiler
151 dnl ***************************************************************************
152 dnl Check for pkgconfig
153 dnl ***************************************************************************
154 AC_PATH_PROG(PKGCONFIG_CONFIG, pkg-config,no)
155 if test x$PKGCONFIG_CONFIG = xno; then
156 AC_MSG_ERROR(Please install the pkg-config package from http://www.freedesktop.org/software/pkgconfig/)
159 dnl pkg checks are split into separate packages instead of single package
160 dnl because different plugins have different requirements.
162 PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
163 AC_SUBST(GLIB_CFLAGS)
166 PKG_CHECK_MODULES(GOBJECT, gobject-2.0 >= $GOBJECT_REQUIRED)
167 AC_SUBST(GOBJECT_CFLAGS)
168 AC_SUBST(GOBJECT_LIBS)
170 PKG_CHECK_MODULES(GMODULE, gmodule-2.0 >= $GMODULE_REQUIRED)
171 AC_SUBST(GMODULE_CFLAGS)
172 AC_SUBST(GMODULE_LIBS)
174 PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= $GTHREAD_REQUIRED)
175 AC_SUBST(GTHREAD_CFLAGS)
176 AC_SUBST(GTHREAD_LIBS)
178 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
182 PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED)
183 AC_SUBST(GDK_PIXBUF_CFLAGS)
184 AC_SUBST(GDK_PIXBUF_LIBS)
186 PKG_CHECK_MODULES(ORBIT, ORBit-2.0 >= $ORBIT_REQUIRED)
187 AC_SUBST(ORBIT_CFLAGS)
190 PKG_CHECK_MODULES(GLADE, libglade-2.0 >= $LIBGLADE_REQUIRED)
191 AC_SUBST(GLADE_CFLAGS)
194 PKG_CHECK_MODULES(GNOME, libgnome-2.0 >= $GNOME_REQUIRED)
195 AC_SUBST(GNOME_CFLAGS)
198 PKG_CHECK_MODULES(GNOME_UI, libgnomeui-2.0 >= $GNOME_UI_REQUIRED)
199 AC_SUBST(GNOME_UI_CFLAGS)
200 AC_SUBST(GNOME_UI_LIBS)
202 PKG_CHECK_MODULES(GNOME_PRINT, libgnomeprint-2.2 >= $GNOME_PRINT_REQUIRED)
203 AC_SUBST(GNOME_PRINT_CFLAGS)
204 AC_SUBST(GNOME_PRINT_LIBS)
206 PKG_CHECK_MODULES(GNOME_PRINT_UI, libgnomeprintui-2.2 >= $GNOME_PRINT_UI_REQUIRED)
207 AC_SUBST(GNOME_PRINT_UI_CFLAGS)
208 AC_SUBST(GNOME_PRINT_UI_LIBS)
210 PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED)
211 AC_SUBST(GNOME_VFS_CFLAGS)
212 AC_SUBST(GNOME_VFS_LIBS)
214 PKG_CHECK_MODULES(GNOME_VFS_MODULE, gnome-vfs-module-2.0 >= $GNOME_VFS_REQUIRED)
215 AC_SUBST(GNOME_VFS_MODULE_CFLAGS)
216 AC_SUBST(GNOME_VFS_MODULE_LIBS)
218 PKG_CHECK_MODULES(GCONF, gconf-2.0 >= $GCONF_REQUIRED)
219 AC_SUBST(GCONF_CFLAGS)
222 dnl PKG_CHECK_MODULES(BONOBO, libbonobo-2.0 >= $BONOBO_REQUIRED)
223 dnl AC_SUBST(BONOBO_CFLAGS)
224 dnl AC_SUBST(BONOBO_LIBS)
226 dnl PKG_CHECK_MODULES(BONOBO_UI, libbonobo-2.0 >= $BONOBO_UI_REQUIRED)
227 dnl AC_SUBST(BONOBO_UI_CFLAGS)
228 dnl AC_SUBST(BONOBO_UI_LIBS)
230 PKG_CHECK_MODULES(VTE, vte >= $VTE_REQUIRED)
234 PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= $LIBXML_REQUIRED)
235 AC_SUBST(LIBXML_CFLAGS)
236 AC_SUBST(LIBXML_LIBS)
238 PKG_CHECK_MODULES(PANGO, pango >= $PANGO_REQUIRED)
239 AC_SUBST(PANGO_CFLAGS)
242 PKG_CHECK_MODULES(GDL, gdl-1.0 >= $GDL_REQUIRED gdl-gnome-1.0 >= $GDL_REQUIRED)
246 PKG_CHECK_MODULES(LIBXSLT, libxslt)
247 AC_SUBST(LIBXSLT_CFLAGS)
248 AC_SUBST(LIBXSLT_LIBS)
250 dnl Check for autogen
251 dnl -----------------
252 AC_PATH_PROG(AUTOGEN_PATH, autogen,no)
253 if test x$AUTOGEN_PATH = xno; then
254 AC_MSG_ERROR([Couldn't find autogen, please install the autogen package. You can get it from http://autogen.sourceforge.net/])
257 dnl Check for Devhelp
258 dnl -----------------
260 AC_ARG_ENABLE(plugin-devhelp,
261 [ --disable-plugin-devhelp Disable devhelp plugin support in Anjuta.],
262 [ if test "$enableval" = "no"; then
263 user_disabled_devhelp=1
265 [ user_disabled_devhelp=0 ] )
267 AC_MSG_CHECKING(if devhelp plugin is disabled)
268 if test "$user_disabled_devhelp" = 1; then
274 PKG_CHECK_MODULES(PLUGIN_DEVHELP,
275 [libdevhelp-1.0 >= $LIBDEVHELP_REQUIRED],
280 AC_MSG_RESULT([version >= 0.11 not found])
284 if test x$devhelp_old = xyes; then
285 PKG_CHECK_MODULES(PLUGIN_DEVHELP, [libdevhelp-1.0 >= 0.9], [devhelp_enabled=yes], [devhelp_enabled=no])
286 if test x$devhelp_enabled = xyes; then
287 AC_DEFINE(HAVE_OLD_DEVHELP, 1, [If old devhelp (>= 0.9 < 0.11) is installed])
290 AC_SUBST(PLUGIN_DEVHELP_CFLAGS)
291 AC_SUBST(PLUGIN_DEVHELP_LIBS)
294 if test x$devhelp_enabled = xyes; then
295 GECKO_HOME=`$PKGCONFIG_CONFIG --variable=gecko_home libdevhelp-1.0`
296 if test x$GECKO_HOME != x; then
297 ANJUTA_LDFLAGS="$ANJUTA_LDFLAGS -R$GECKO_HOME"
300 AC_SUBST(ANJUTA_LDFLAGS)
302 AM_CONDITIONAL(HAVE_PLUGIN_DEVHELP, [test x$devhelp_enabled = xyes])
305 dnl -----------------
306 dnl PKG_CHECK_MODULES(PLUGIN_GTODO, libgtodo-1.0 >= $LIBGTODO_REQUIRED)
307 dnl AC_SUBST(PLUGIN_GTODO_CFLAGS)
308 dnl AC_SUBST(PLUGIN_GTODO_LIBS)
310 dnl Check for Gnome Build
311 dnl ---------------------
313 PKG_CHECK_MODULES(PLUGIN_GNOMEBUILD, gnome-build-1.0 >= $GNOMEBUILD_REQUIRED)
314 AC_SUBST(PLUGIN_GNOMEBUILD_CFLAGS)
315 AC_SUBST(PLUGIN_GNOMEBUILD_LIBS)
318 dnl ---------------------
320 AC_ARG_ENABLE(plugin-glade,
321 [ --disable-plugin-glade Disable glade plugin support in Anjuta.],
322 [ if test "$enableval" = "no"; then
323 user_disabled_glade=1
325 [ user_disabled_glade=0 ] )
327 AC_MSG_CHECKING(if glade plugin is disabled)
328 if test "$user_disabled_glade" = 1; then
330 libgladeui_found="no"
333 PKG_CHECK_MODULES(PLUGIN_GLADE, [gladeui-1.0 >= $GLADEUI_SVN_REQUIRED],
335 libgladeui_found="yes"
337 libgladeui_found="no"
339 if test x$libgladeui_found = xno; then
340 PKG_CHECK_MODULES(PLUGIN_GLADE, [libgladeui-1.0 > $GLADEUI_REQUIRED],
342 libgladeui_found="old"
344 libgladeui_found="no"
347 if test x$libgladeui_found = xold; then
348 libgladeui_found="yes"
349 AC_DEFINE_UNQUOTED(GLADEUI_LAST_PUBLIC, [1], [Last public GLADEUI version])
350 AC_SUBST(GLADEUI_LAST_PUBLIC)
352 if test x$libgladeui_found = xno; then
353 PKG_CHECK_MODULES(PLUGIN_GLADE, [libgladeui-1.0 = $GLADEUI_REQUIRED],
355 libgladeui_found="old"
357 libgladeui_found="no"
360 if test x$libgladeui_found = xold; then
361 libgladeui_found="yes"
362 AC_DEFINE_UNQUOTED(GLADEUI_OLD, [1], [Older GLADEUI version])
363 AC_SUBST(GLADEUI_OLD)
365 AC_SUBST(PLUGIN_GLADE_CFLAGS)
366 AC_SUBST(PLUGIN_GLADE_LIBS)
369 AM_CONDITIONAL(HAVE_PLUGIN_GLADE, [test x$libgladeui_found = xyes])
371 dnl Check for graphviz (class inheritance and profiler plugins)
372 dnl --------------------------------------------------------------------------
373 dnl FIXME: For some strange reason graphviz-devel rpm install the *.pc files
374 dnl in /usr/lib/graphviz/pkgconfig, instead of usual /usr/lib/pkgconfig. This
375 dnl makes pkgconfig check fail if we don't add the above path in
376 dnl PKG_CONFIG_PATH. We have added both /usr/lib/graphviz/pkgconfig and
377 dnl /usr/local/lib/pkgconfig paths. If graphviz is installed in other prefix
378 dnl (other than /usr or /usr/local or the current installation prefix),
379 dnl following pkgconfig check will fail.
380 dnl --------------------------------------------------------------------------
381 AC_ARG_ENABLE(graphviz,
382 [ --disable-graphviz Disable GraphViz support in Anjuta],
383 [ if test "$enableval" = "no"; then
384 user_disabled_graphviz=1
386 [ user_disabled_graphviz=0 ])
388 AC_MSG_CHECKING(if GraphViz support is disabled)
389 if test "$user_disabled_graphviz" = 1; then
391 libgraphviz_found="no"
395 dnl Set pkgconfig path
396 ANJUTA_PKG_CONFIG_PATH_SAVE="${PKG_CONFIG_PATH}"
397 PKG_CONFIG_PATH="/usr/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
398 PKG_CONFIG_PATH="/usr/local/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
399 PKG_CONFIG_PATH="/usr/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
400 PKG_CONFIG_PATH="/usr/local/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
402 anjuta_save_prefix="$prefix"
403 test "x$prefix" = xNONE && prefix=$ac_default_prefix
404 graphviz_pkgconfig=`eval echo ${libdir}/graphviz/pkgconfig`
405 PKG_CONFIG_PATH="$graphviz_pkgconfig:$PKG_CONFIG_PATH"
406 prefix="$anjuta_save_prefix"
408 export PKG_CONFIG_PATH
409 PKG_CHECK_MODULES(GRAPHVIZ,
410 [libgvc >= $LIBGRAPHVIZ_REQUIRED],
411 [libgraphviz_found="yes"],
412 [libgraphviz_found="no"])
413 AC_SUBST(GRAPHVIZ_CFLAGS)
414 AC_SUBST(GRAPHVIZ_LIBS)
416 dnl Restore pkgconfig path
417 PKG_CONFIG_PATH="${ANJUTA_PKG_CONFIG_PATH_SAVE}"
418 export PKG_CONFIG_PATH
421 AM_CONDITIONAL(HAVE_GRAPHVIZ, [test x$libgraphviz_found = xyes])
423 dnl Define HAVE_GRAPHVIZ to disable Function Call Chart in the Profiler if
424 dnl Graphviz isn't on the system
425 if test "$libgraphviz_found" = yes; then
426 AC_DEFINE(HAVE_GRAPHVIZ, [], [Define if we have GraphViz >= 2.6.0])
429 dnl Build gtksourceview plugin only on gnome 2.14 and gtk 2.10
430 dnl -------------------------------------------------------------
432 AC_ARG_ENABLE(plugin-sourceview,
433 [ --disable-plugin-sourceview Disable gtksourceview based editor in Anjuta],
434 [ if test "$enableval" = "no"; then
435 user_disabled_sourceview=1
437 [ user_disabled_sourceview=0 ])
439 AC_MSG_CHECKING(if sourceview plugin is disabled)
440 if test "$user_disabled_sourceview" = 1; then
446 PKG_CHECK_MODULES(PLUGIN_SOURCEVIEW,
447 [libgnome-2.0 >= $GTKSOURCEVIEW_GNOME_REQUIRED,
448 gtk+-2.0 >= $GTKSOURCEVIEW_GTK_REQUIRED,
449 gtksourceview-1.0 >= $GTKSOURCEVIEW_REQUIRED],
452 AC_SUBST(PLUGIN_SOURCEVIEW_CFLAGS)
453 AC_SUBST(PLUGIN_SOURCEVIEW_LIBS)
456 AM_CONDITIONAL(HAVE_PLUGIN_SOURCEVIEW, [test x$sourceview = xyes])
459 dnl -------------------------------------------------------------
461 AC_ARG_ENABLE(plugin-scintilla,
462 [ --disable-plugin-scintilla Disable Scintilla based editor in Anjuta],
463 [ if test "$enableval" = "no"; then
464 user_disabled_scintilla=1
466 [ user_disabled_scintilla=0 ])
468 AC_MSG_CHECKING(if scintilla plugin is disabled)
469 if test "$user_disabled_scintilla" = 1; then
476 AM_CONDITIONAL(HAVE_PLUGIN_SCINTILLA, [test x$scintilla = xyes])
480 dnl -------------------------------------------------------------
482 AC_ARG_ENABLE(plugin-valgrind,
483 [ --disable-plugin-valgrind Disable Valgrind plugin],
484 [ if test "$enableval" = "no"; then
485 user_disabled_valgrind=1
487 [ user_disabled_valgrind=0 ])
489 AC_MSG_CHECKING(if valgrind plugin is disabled)
490 if test "$user_disabled_valgrind" = 1; then
498 AC_CHECK_LIB(bfd, bfd_get_error, [PLUGIN_VALGRIND_LIBS="-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic"],
502 AC_SUBST(PLUGIN_VALGRIND_LIBS)
503 AM_CONDITIONAL(HAVE_PLUGIN_VALGRIND, [test x$valgrind = xyes])
508 dnl we need gconftool-2 in order to install the schema
509 AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
511 if test "x$GCONFTOOL" = "xno"; then
512 AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
520 dnl check for bfd_get_section_size_before_reloc() in libbfd
521 AC_MSG_CHECKING(for bfd_get_section_size_before_reloc)
527 bfd_get_section_size_before_reloc (section);
530 AC_DEFINE(HAVE_BFD_GET_SECTION_SIZE_BEFORE_RELOC, [], [Define if libbfd
531 contains the function bfd_get_section_size_before_reloc])
539 dnl Setup Anjuta Library flags
540 dnl --------------------------
541 LIBANJUTA_CFLAGS='$(GNOME_UI_CFLAGS) $(GLADE_CFLAGS) -I$(top_srcdir) -DPACKAGE_PIXMAPS_DIR=\""$(datadir)/pixmaps/$(PACKAGE)\"" -DPACKAGE_DATA_DIR=\""$(datadir)/$(PACKAGE)"\"'
542 LIBANJUTA_LIBS='$(top_builddir)/libanjuta/libanjuta.la'
543 AC_SUBST(LIBANJUTA_CFLAGS)
544 AC_SUBST(LIBANJUTA_LIBS)
546 dnl Setup Plugin directories
547 dnl ------------------------
548 anjuta_plugin_dir='$(libdir)/anjuta'
549 anjuta_data_dir='$(datadir)/anjuta'
550 anjuta_ui_dir='$(datadir)/anjuta/ui'
551 anjuta_glade_dir='$(datadir)/anjuta/glade'
552 anjuta_image_dir='$(datadir)/pixmaps/anjuta'
553 AC_SUBST(anjuta_plugin_dir)
554 AC_SUBST(anjuta_data_dir)
555 AC_SUBST(anjuta_ui_dir)
556 AC_SUBST(anjuta_glade_dir)
557 AC_SUBST(anjuta_image_dir)
559 dnl ***************************************************************************
560 dnl Check for old vte version
561 dnl ***************************************************************************
562 PKG_CHECK_MODULES(VTE, vte >= $VTE_NEW_REQUIRED, OLD_VTE=0, OLD_VTE=1)
564 AC_DEFINE_UNQUOTED(OLD_VTE, $OLD_VTE, [Old version of vte])
566 dnl ***************************************************************************
567 dnl Check for marshal and enum generators
568 dnl ***************************************************************************
569 GLIB_GENMARSHAL="`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`"
570 AC_SUBST(GLIB_GENMARSHAL)
571 GLIB_MKENUMS="`$PKG_CONFIG --variable=glib_mkenums glib-2.0`"
572 AC_SUBST(GLIB_MKENUMS)
574 dnl ***************************************************************************
575 dnl Internatinalization
576 dnl ***************************************************************************
577 GETTEXT_PACKAGE=anjuta
578 AC_SUBST(GETTEXT_PACKAGE)
579 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
581 IT_PROG_INTLTOOL([0.35.0])
584 dnl GTK_DOC_CHECK([1.0])
586 dnl ***************************************************************************
587 dnl Check for gtk-doc.
588 dnl ***************************************************************************
589 AC_ARG_WITH(html-dir, [ --with-html-dir=PATH path to installed docs ])
590 if test "x$with_html_dir" = "x" ; then
591 HTML_DIR='${datadir}/gtk-doc/html'
593 HTML_DIR=$with_html_dir
597 gtk_doc_min_version=1.0
598 AC_MSG_CHECKING([gtk-doc version >= $gtk_doc_min_version])
599 if pkg-config --atleast-version=$gtk_doc_min_version gtk-doc; then
606 dnl Let people disable the gtk-doc stuff.
607 AC_ARG_ENABLE(gtk-doc, [ --enable-gtk-doc Use gtk-doc to build documentation [default=auto]], enable_gtk_doc="$enableval", enable_gtk_doc=auto)
608 if test x$enable_gtk_doc = xauto ; then
609 if test x$GTKDOC = xtrue ; then
615 AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
617 dnl ***************************************************************************
618 dnl Check for Gnome XML [Is this still required?]
619 dnl ***************************************************************************
622 dnl ***************************************************************************
623 dnl Check for ScrollKeeper [No documentation for now]
624 dnl ***************************************************************************
625 dnl AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
626 dnl if test x$SCROLLKEEPER_CONFIG = xno; then
627 dnl AC_MSG_ERROR(Couldn't find scrollkeeper-config, please install the scrollkeeper package. You can get it from http://scrollkeeper.sourceforge.net/)
629 dnl SCROLLKEEPER_REQUIRED=0.1.4
630 dnl AC_SUBST(SCROLLKEEPER_REQUIRED)
632 dnl ***************************************************************************
633 dnl Checking for scrollkeeper version [No documentation for now]
634 dnl ***************************************************************************
635 dnl AC_MSG_CHECKING(for scrollkeeper version number)
636 dnl if scrollkeeper-config --version > /dev/null 2>&1; then
637 dnl version=`scrollkeeper-config --version`; \
638 dnl vers=`echo $version | awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'`; \
639 dnl AC_MSG_RESULT(found $version)
640 dnl SCROLLKEEPER_VERSION_NUM=$vers
642 dnl AC_MSG_ERROR(Did not find scrollkeeper installed)
644 dnl AC_SUBST(SCROLLKEEPER_VERSION_NUM)
646 dnl ***************************************************************************
648 dnl ***************************************************************************
650 AC_PATH_PROG(PCRE_CONFIG, pcre-config,no)
651 if test x$PCRE_CONFIG = xno; then
652 AC_MSG_ERROR(Please install the PCRE package from http://www.pcre.org/)
654 PCRE_CFLAGS=`pcre-config --cflags`
655 PCRE_LIBS=`pcre-config --libs`
657 AC_SUBST(PCRE_CFLAGS)
659 dnl ***************************************************************************
660 dnl Tagmanager checks.
661 dnl ***************************************************************************
663 dnl Define convenience macros
664 dnl -------------------------
665 dnl CHECK_HEADER_DEFINE(LABEL, HEADER [,ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ] ])
666 AC_DEFUN([CHECK_HEADER_DEFINE],
668 AC_MSG_CHECKING("if $1 is defined in $2")
682 dnl Checks for header files.
683 AC_CHECK_HEADERS(dirent.h fcntl.h fnmatch.h stat.h stdlib.h string.h stdint.h)
684 AC_CHECK_HEADERS(time.h types.h unistd.h)
685 AC_CHECK_HEADERS(sys/dir.h sys/stat.h sys/times.h sys/types.h)
687 dnl Checks for typedefs, structures, and compiler characteristics.
689 dnl Disable cygwin check until someone fixes that stupid autoconf warnings.
700 AC_MSG_CHECKING("for fpos_t")
701 AC_EGREP_HEADER(fpos_t, stdio.h, AC_MSG_RESULT(yes),
704 AC_DEFINE(fpos_t, long, [fpos_t is type long])
707 AC_MSG_CHECKING("for clock_t")
708 AC_EGREP_HEADER(clock_t, time.h, AC_MSG_RESULT(yes),
711 AC_DEFINE(clock_t, long, [clock_t is type long])
714 CHECK_HEADER_DEFINE(L_tmpnam, stdio.h,, AC_DEFINE(L_tmpnam, 20, [L_tmpname is 20]))
716 CHECK_HEADER_DEFINE(INT_MAX, limits.h,,
717 CHECK_HEADER_DEFINE(MAXINT, limits.h,
718 AC_DEFINE(INT_MAX, MAXINT, [Maximum int size]), AC_DEFINE(INT_MAX, 32767, [Maximum int size])))
720 AC_MSG_CHECKING(if struct stat contains st_ino)
721 AC_TRY_COMPILE([#include <sys/stat.h>], [
726 ], have_st_ino=yes, have_st_ino=no)
727 AC_MSG_RESULT($have_st_ino)
728 if test yes = "$have_st_ino"; then
729 AC_DEFINE(HAVE_STAT_ST_INO,,[Have stat st_ino])
733 dnl Checks for library functions.
734 AC_CHECK_FUNCS(fnmatch)
735 AC_CHECK_FUNCS(strstr)
736 AC_CHECK_FUNCS(stricmp)
737 AC_CHECK_FUNCS(strnicmp)
738 AC_CHECK_FUNCS(getline)
740 AC_CHECK_FUNCS(fgetpos, have_fgetpos=yes)
742 dnl SEEK_SET should be in stdio.h, but may be in unistd.h on SunOS 4.1.x
743 if test "$have_fgetpos" != yes ; then
744 CHECK_HEADER_DEFINE(SEEK_SET, stdio.h,,
745 CHECK_HEADER_DEFINE(SEEK_SET, unistd.h,,
746 AC_DEFINE(SEEK_SET, 0, [Seek set 0])))
749 AC_CHECK_FUNCS(mkstemp, have_mkstemp=yes)
750 if test "$have_mkstemp" != yes ; then
751 AC_CHECK_FUNCS(chmod)
752 if test "$tmpdir_specified" = yes ; then
753 AC_MSG_RESULT(use of tmpnam overrides temporary directory selection)
756 AC_MSG_CHECKING(directory to use for temporary files)
757 if test -z "$enable_tmpdir" -o "$enable_tmpdir" = no -o "$enable_tmpdir" = yes ;
759 else tmpdir="$enable_tmpdir"
761 if test -d $tmpdir ; then
762 AC_MSG_RESULT($tmpdir)
763 AC_DEFINE_UNQUOTED(TMPDIR, "$tmpdir", [Directory for temporary files])
765 AC_MSG_WARN($tmpdir does not exist)
769 AC_CHECK_FUNCS(strerror opendir)
770 AC_CHECK_FUNCS(clock times, break)
771 AC_CHECK_FUNCS(remove, have_remove=yes,
772 CHECK_HEADER_DEFINE(remove, unistd.h,, AC_DEFINE(remove, unlink, [Remove is unlink])))
774 AC_CHECK_FUNCS(truncate, have_truncate=yes)
775 dnl === Cannot nest AC_CHECK_FUNCS() calls
776 if test "$have_truncate" != yes ; then
777 AC_CHECK_FUNCS(ftruncate, have_ftruncate=yes)
778 if test "$have_ftruncate" != yes ; then
779 AC_CHECK_FUNCS(chsize)
783 AC_CHECK_FUNCS(setenv, have_setenv=yes)
784 dnl === Cannot nest AC_CHECK_FUNCS() calls
785 if test "$have_setenv" != yes ; then
786 AC_CHECK_FUNCS(putenv, have_putenv=yes)
787 if test "$have_putenv" = yes ; then
788 AC_EGREP_HEADER(putenv, stdlib.h, have_putenv_prototype=yes)
789 if test "$have_putenv_prototype" = yes ; then
790 AC_MSG_CHECKING("putenv prototype")
791 AC_EGREP_HEADER([[^A-Za-zo-9_]putenv[ ]*\(.*const.*\)[ ]*;],
792 stdlib.h, AC_MSG_RESULT(correct),
794 AC_MSG_RESULT(no const)
795 AC_DEFINE(NON_CONST_PUTENV_PROTOTYPE,,[putenv has non constant prototype])
802 dnl if test yes = "$CYGWIN"; then with_posix_regex=no; fi
803 if test no != "$with_posix_regex"; then
804 AC_CHECK_FUNCS(regcomp)
805 AC_MSG_CHECKING(if regcomp works)
807 #include <sys/types.h>
811 exit (regcomp (&patbuf, "/hello/", 0) != 0);
812 }],regcomp_works=yes,regcomp_works=no,AC_DEFINE(CHECK_REGCOMP,,[Check regcomp]))
813 AC_MSG_RESULT($regcomp_works)
814 if test yes != "$regcomp_works"; then
815 AC_DEFINE(REGCOMP_BROKEN,,[Regcomp is broken])
819 dnl -----------------------------
820 dnl Checks for FreeBSD Build
821 dnl -----------------------------
822 AC_MSG_CHECKING(if building on FreeBSD)
824 if test `uname -s` = "FreeBSD" ; then
826 FREEBSD_BUILD=-DFREEBSD
827 AC_SUBST(FREEBSD_BUILD)
828 AC_PATH_PROG(GMAKE, gmake, no)
829 if test "x$GMAKE" = "xno"; then
830 AC_ERROR(You need gmake installed to build Anjuta!)
839 dnl Checks for missing prototypes
840 dnl -----------------------------
841 AC_CHECKING("for missing prototypes")
843 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))])
845 if test "$have_remove" = yes ; then
846 CHECK_PROTO(remove, stdio.h)
848 CHECK_PROTO(unlink, unistd.h)
850 CHECK_PROTO(malloc, stdlib.h)
851 CHECK_PROTO(getenv, stdlib.h)
852 CHECK_PROTO(stat, sys/stat.h)
853 CHECK_PROTO(lstat, sys/stat.h)
854 if test "$have_fgetpos" = yes ; then
855 CHECK_PROTO(fgetpos, stdio.h)
857 if test "$have_truncate" = yes ; then
858 CHECK_PROTO(truncate, unistd.h)
860 if test "$have_ftruncate" = yes ; then
861 CHECK_PROTO(ftruncate, unistd.h)
864 dnl **********************************************************
865 dnl check if we have svn libraries to build subversion plugin
866 dnl (stolen from kdevelop ;-)
867 dnl **********************************************************
869 AC_MSG_CHECKING(for Subversion svn-config)
870 AC_ARG_WITH(subversion-dir,
871 [ --with-subversion-dir=DIR where Subversion is installed ],
873 SVNCONFIG="$withval/bin/svn-config"
876 if test -z "$SVNCONFIG"; then
877 _SVNCONFIG="`svn-config --prefix 2> /dev/null`"
878 if test -n "$_SVNCONFIG"; then
879 SVNCONFIG="$_SVNCONFIG/bin/svn-config"
884 if test -x "$SVNCONFIG"; then
885 SVNLD="`$SVNCONFIG --ldflags 2> /dev/null`"
886 SVN_LIB="`$SVNCONFIG --libs --cflags 2> /dev/null` -lsvn_client-1"
887 dnl ugly hack for subversion svn-config problems in 0.14.x, to be removed when svn-config is fixed
888 SVN_INCLUDE="`$SVNCONFIG --includes 2> /dev/null` -I$_SVNCONFIG/include/subversion-1/"
891 AC_MSG_RESULT(not found)
893 dnl just a fallback to debian's config so that it works for me :)
894 AC_ARG_WITH(svn-include,
895 [[ --with-svn-include=DIR Use the given path to the subversion headers.]],
897 if test "$withval" != "yes" -a "$withval" != ""; then
898 SVN_INCLUDES=$withval
901 if test -z "$SVN_INCLUDES"; then
902 SVN_INCLUDES="/usr/local/include /usr/include"
904 AC_MSG_CHECKING([for Subversion headers])
906 for VALUE in $SVN_INCLUDES ; do
907 if test -f $VALUE/subversion-1/svn_types.h ; then
912 if test $SVN_INCLUDE ; then
913 AC_MSG_RESULT([found])
915 AC_MSG_RESULT([not found])
917 SVN_LIBS="/usr/local/lib /usr/lib"
919 [[ --with-svn-lib=DIR Use the given path to the subversion libraries.]],
921 if test "$withval" != "yes" -a "$withval" != ""; then
925 AC_MSG_CHECKING([for Subversion libraries])
927 for VALUE in $SVN_LIBS ; do
928 if ls $VALUE/libsvn_client-1.* 1>/dev/null 2>&1; then
933 if test $SVN_LIB ; then
934 AC_MSG_RESULT([found])
936 AC_MSG_RESULT([not found])
940 dnl ******************************************************************
941 dnl Check for extra libs required by subversion.
942 dnl FIXME: This should actually be done by subversion and not by us.
943 dnl ******************************************************************
945 AC_ARG_ENABLE(plugin-subversion,
946 [ --disable-plugin-subversion Disable subversion support in Anjuta.],
947 [ if test "$enableval" = "no"; then
948 user_disabled_subversion=1
950 [ user_disabled_subversion=0 ] )
952 AC_MSG_CHECKING(if subversion support is disabled)
953 if test "$user_disabled_subversion" = 1; then
961 if test -n "$SVN_INCLUDE" ; then
962 dnl ------------------------------------
963 dnl APR. Required by subversion (devel)
964 dnl ------------------------------------
966 APR_CONFIGS="apr-config /usr/local/apr/bin/apr-config/ apr-1-config "
967 AC_ARG_WITH(apr-config,
968 [[ --with-apr-config=FILE Use the given path to apr-config when determining
969 APR configuration; defaults to "apr-config"]],
971 if test "$withval" != "yes" -a "$withval" != ""; then
975 AC_MSG_CHECKING([for APR])
977 for VALUE in $APR_CONFIGS ; do
978 if $VALUE --cflags > /dev/null 2>&1 ; then
983 test $VALUE && APR_CONFIG=$VALUE
984 if test $APR_CONFIG ; then
985 AC_MSG_RESULT([found])
986 APR_CFLAGS="`$APR_CONFIG --cflags` `$APR_CONFIG --cppflags`"
987 APR_INCLUDE="`$APR_CONFIG --includes`"
988 APR_LIBS="`$APR_CONFIG --link-ld --libs`"
990 AC_MSG_RESULT([not found])
991 dnl AC_MSG_ERROR([APR is required. Try --with-apr-config.])
994 dnl -----------------------------------------
995 dnl APR util. Required by subversion (devel)
996 dnl------------------------------------------
998 APU_CONFIGS="apu-config /usr/local/apr/bin/apu-config apu-1-config"
999 AC_ARG_WITH(apu-config,
1000 [[ --with-apu-config=FILE Use the given path to apu-config when determining
1001 APR util configuration; defaults to "apu-config"]],
1003 if test "$withval" != "yes" -a "$withval" != ""; then
1004 APU_CONFIGS=$withval
1007 AC_MSG_CHECKING([for APR util])
1009 for VALUE in $APU_CONFIGS ; do
1010 if $VALUE --includes > /dev/null 2>&1 ; then
1015 if test $APU_CONFIG ; then
1016 AC_MSG_RESULT([found])
1017 APR_INCLUDE="$APR_INCLUDE `$APU_CONFIG --includes`"
1018 APR_LIBS="$APR_LIBS `$APU_CONFIG --link-ld --libs`"
1020 AC_MSG_RESULT([not found])
1023 dnl -----------------------------------------
1024 dnl NEON. Required by subversion (devel)
1025 dnl------------------------------------------
1027 dnl Check for neon. It is required by subversion libs, but for
1028 dnl for some strange reason it's not in it's dependencies.
1029 dnl subversion plugin will be disabled if neon (devel) is not
1030 dnl installed, even if subversion (devel) is installed.
1032 NEON_CONFIGS="neon-config"
1033 AC_ARG_WITH(neon-config,
1034 [[ --with-neon-config=FILE Use the given path to neon-config when determining
1035 Neon configuration; defaults to "neon-config"]],
1037 if test "$withval" != "yes" -a "$withval" != ""; then
1038 NEON_CONFIGS=$withval
1041 AC_MSG_CHECKING([for Neon])
1043 for VALUE in $NEON_CONFIGS ; do
1044 if $VALUE --cflags > /dev/null 2>&1 ; then
1049 if test $NEON_CONFIG ; then
1050 AC_MSG_RESULT([found])
1052 AC_MSG_RESULT([not found])
1058 dnl ------------------------------------------
1059 dnl Finally prepare subversion build flags
1060 dnl ------------------------------------------
1062 if test -n "$SVN_INCLUDE" ; then
1063 SVN_INCLUDE="-I$SVN_INCLUDE $APR_INCLUDE"
1064 SVN_LIB="-L$SVN_LIB $APR_LIBS -lsvn_client-1"
1065 SVN_CFLAGS="$APR_CFLAGS"
1068 AM_CONDITIONAL(BUILD_SVN, [test -n "$SVN_INCLUDE"])
1069 AC_SUBST(SVN_INCLUDE)
1071 AC_SUBST(SVN_CFLAGS)
1073 dnl --------- help outputs -----------
1074 dnl manuals/C/Makefile
1075 dnl manuals/C/anjuta-tutorial/Makefile
1076 dnl manuals/C/anjuta-advanced-tutorial/Makefile
1077 dnl manuals/C/anjuta-faqs/Makefile
1078 dnl manuals/C/anjuta-manual/Makefile
1079 dnl manuals/de/Makefile
1080 dnl manuals/de/anjuta-tutorial/Makefile
1081 dnl manuals/ja/Makefile
1082 dnl manuals/ja/anjuta-faqs/Makefile
1083 dnl manuals/ja/anjuta-manual/Makefile
1089 tagmanager/include/Makefile
1090 global-tags/Makefile
1092 libegg/util/Makefile
1093 libegg/treeviewutils/Makefile
1094 libegg/menu/Makefile
1095 libegg/recent-files/Makefile
1098 libanjuta/libanjuta-1.0.pc
1099 libanjuta/interfaces/Makefile
1104 data/properties/Makefile
1106 doc/anjuta_launcher.1
1109 scripts/anjuta_import.sh
1112 plugins/sample1/Makefile
1113 plugins/gtodo/Makefile
1114 plugins/class-gen/Makefile
1115 plugins/class-gen/templates/Makefile
1116 plugins/patch/Makefile
1117 plugins/editor/Makefile
1118 plugins/editor/scintilla/Makefile
1119 plugins/editor/scintilla/include/Makefile
1120 plugins/document-manager/Makefile
1121 plugins/search/Makefile
1122 plugins/message-view/Makefile
1123 plugins/gdb/Makefile
1124 plugins/gdb/images/Makefile
1125 plugins/debug-manager/Makefile
1126 plugins/debug-manager/images/Makefile
1127 plugins/devhelp/Makefile
1128 plugins/glade/Makefile
1129 plugins/file-manager/Makefile
1130 plugins/file-loader/Makefile
1131 plugins/file-wizard/Makefile
1132 plugins/terminal/Makefile
1133 plugins/build-basic-autotools/Makefile
1134 plugins/profiler/Makefile
1135 plugins/project-manager/Makefile
1136 plugins/symbol-browser/Makefile
1137 plugins/symbol-browser/images/Makefile
1138 plugins/cvs-plugin/Makefile
1139 plugins/project-wizard/Makefile
1140 plugins/macro/Makefile
1141 plugins/subversion/Makefile
1142 plugins/sourceview/Makefile
1143 plugins/tools/Makefile
1144 plugins/tools/scripts/Makefile
1145 plugins/class-inheritance/Makefile
1146 plugins/valgrind/Makefile
1147 plugins/project-import/Makefile
1148 plugins/project-wizard/templates/Makefile
1149 plugins/project-wizard/templates/terminal/Makefile
1150 plugins/project-wizard/templates/terminal/src/Makefile
1151 plugins/project-wizard/templates/terminal/po/Makefile
1152 plugins/project-wizard/templates/cpp/Makefile
1153 plugins/project-wizard/templates/cpp/src/Makefile
1154 plugins/project-wizard/templates/cpp/po/Makefile
1155 plugins/project-wizard/templates/gtk/Makefile
1156 plugins/project-wizard/templates/gtk/src/Makefile
1157 plugins/project-wizard/templates/gtk/po/Makefile
1158 plugins/project-wizard/templates/anjuta-plugin/Makefile
1159 plugins/project-wizard/templates/anjuta-plugin/src/Makefile
1160 plugins/project-wizard/templates/anjuta-plugin/po/Makefile
1161 plugins/project-wizard/templates/gnome/Makefile
1162 plugins/project-wizard/templates/gnome/src/Makefile
1163 plugins/project-wizard/templates/gnome/po/Makefile
1164 plugins/project-wizard/templates/gtkmm/Makefile
1165 plugins/project-wizard/templates/gtkmm/src/Makefile
1166 plugins/project-wizard/templates/gtkmm/po/Makefile
1167 plugins/project-wizard/templates/gcj/Makefile
1168 plugins/project-wizard/templates/gcj/src/Makefile
1169 plugins/project-wizard/templates/java/Makefile
1170 plugins/project-wizard/templates/java/src/Makefile
1171 plugins/project-wizard/templates/java/po/Makefile
1172 plugins/project-wizard/templates/python/Makefile
1173 plugins/project-wizard/templates/python/src/Makefile
1174 plugins/project-wizard/templates/python/po/Makefile
1175 plugins/project-wizard/templates/wxwin/Makefile
1176 plugins/project-wizard/templates/wxwin/src/Makefile
1177 plugins/project-wizard/templates/wxwin/po/Makefile
1178 plugins/project-wizard/templates/xlib/Makefile
1179 plugins/project-wizard/templates/xlib/src/Makefile
1180 plugins/project-wizard/templates/xlib/po/Makefile
1181 plugins/project-wizard/templates/xlib-dock/Makefile
1182 plugins/project-wizard/templates/xlib-dock/src/Makefile
1183 plugins/project-wizard/templates/xlib-dock/po/Makefile
1184 plugins/language-support-cpp-java/Makefile
1187 manuals/reference/Makefile
1188 manuals/reference/libanjuta/Makefile
1189 manuals/reference/libanjuta/version.xml
1190 manuals/anjuta-manual/Makefile
1191 manuals/anjuta-faqs/Makefile
1195 echo "-------------------------------------------------------------------"
1196 echo "Conditionally built plugins:"
1197 echo "-------------------------------------------------------------------"
1198 if [ test -n "$SVN_INCLUDE" ]; then
1199 echo "Building subversion plugin: ............................YES"
1201 echo "Building subversion plugin: ............................NO"
1202 echo " Requires apr (>= 0.9.4); http://subversion.org"
1203 echo " Requires apr-util (>= 0.9.4); http://subversion.org"
1204 echo " Requires neon (>= 0.24.5); http://subversion.org"
1205 echo " Requires subversion (>= 1.0.2); http://subversion.org"
1208 if [ test x$libgladeui_found = xyes ]; then
1209 echo "Building glade plugin: .................................YES"
1211 echo "Building glade plugin: .................................NO"
1212 echo " Requires glade-3 (>= 3.0.2)"
1215 if [ test x$devhelp_enabled = xyes ]; then
1216 echo "Building devhelp plugin: ...............................YES"
1218 echo "Building devhelp plugin: ...............................NO"
1219 echo " Requires devhelp"
1222 if [ test x$libgraphviz_found = xyes ]; then
1223 echo "Building class inheritance plugin: .....................YES"
1224 echo "Building performance profiler with function call chart: YES"
1226 echo "Building class inheritance plugin: .....................NO"
1227 echo " Requires graphviz (>= 2.6.0); http://graphviz.org"
1228 echo "Building performance profiler with function call chart: NO"
1229 echo " Requires graphviz (>= 2.6.0); http://graphviz.org"
1232 if [ test x$valgrind = xyes ]; then
1233 echo "Building Valgrind debugger plugin: .....................YES"
1235 echo "Building Valgrind debugger plugin: .....................NO"
1236 echo " Requires binutils-dev"
1239 if [ test x$sourceview = xyes ]; then
1240 echo "Building GtkSourceView based editor: ...................YES"
1242 echo "Building GtkSourceView based editor: ...................NO"
1245 if [ test x$scintilla = xyes ]; then
1246 echo "Building Scintilla based editor: .......................YES"
1248 echo "Building Scintilla based editor: .......................NO"
1250 echo "-------------------------------------------------------------------"