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, 2)
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.10.0
38 VTE_NEW_REQUIRED=0.13.1
39 LIBXML_REQUIRED=2.4.23
42 LIBDEVHELP_REQUIRED=0.13
44 GNOMEBUILD_REQUIRED=0.1.4
45 GLADEUI_REQUIRED=3.0.2
46 GLADEUI_SVN_REQUIRED=3.1.4
47 LIBGRAPHVIZ_REQUIRED=1.0
49 SUBVERSION_REQUIRED=1.0.2
50 GTKSOURCEVIEW_REQUIRED=1.4.0
51 GTKSOURCEVIEW_GNOME_REQUIRED=2.14
52 GTKSOURCEVIEW_GTK_REQUIRED=2.10
53 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)
91 dnl AC_SUBST(LIBGTODO_REQUIRED)
93 AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
94 AC_CONFIG_HEADERS(config.h)
99 CFLAGS_WARNINGS="-Wall -Wmissing-prototypes -Wmissing-declarations -Wparentheses -Wpointer-arith"
100 WCXXFLAGS_WARNINGS="-Wall -Wparentheses -Wpointer-arith"
102 if test "x$GCC" = x; then
107 AM_CFLAGS="$AM_CFLAGS $CFLAGS_WARNINGS"
108 AM_CXXFLAGS="$AM_CXXFLAGS $CXXFLAGS_WARNINGS"
110 dnl Enable debugging mode
112 [ --enable-debug Enable debug messages],
113 AM_CFLAGS="$AM_CFLAGS -DDEBUG"
114 AM_CXXFLAGS="$AM_CXXFLAGS -DDEBUG")
116 AC_SUBST(AM_CXXFLAGS)
118 ANJUTA_LDFLAGS="-no-undefined"
119 ANJUTA_PLUGIN_LDFLAGS="-module -avoid-version -no-undefined"
120 AC_SUBST(ANJUTA_LDFLAG)
121 AC_SUBST(ANJUTA_PLUGIN_LDFLAGS)
123 dnl Disable deprecated APIs
124 AC_ARG_ENABLE(deprecated,
125 [ --disable-deprecated Disable deprecated APIs],
126 [ if test "$enableval" = "no"; then
127 DEPRECATED_FLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED"
129 [ DEPRECATED_FLAGS="" ])
130 AC_SUBST(DEPRECATED_FLAGS)
132 dnl Enable versioned user preferences directory
133 AC_ARG_WITH(pref-suffix,
134 [ --with-pref-suffix=VALUE Suffix to add to user preferences dir.],
135 PREF_SUFFIX="$withval")
137 AC_SUBST(PREF_SUFFIX)
138 AC_DEFINE_UNQUOTED(PREF_SUFFIX,
140 [Suffix to add to preferences directory])
142 #Check for C Compiler
147 #Check for C++ Compiler
158 dnl ***************************************************************************
159 dnl Check for pkgconfig
160 dnl ***************************************************************************
161 AC_PATH_PROG(PKGCONFIG_CONFIG, pkg-config,no)
162 if test x$PKGCONFIG_CONFIG = xno; then
163 AC_MSG_ERROR(Please install the pkg-config package from http://www.freedesktop.org/software/pkgconfig/)
166 dnl pkg checks are split into separate packages instead of single package
167 dnl because different plugins have different requirements.
169 PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
170 AC_SUBST(GLIB_CFLAGS)
173 PKG_CHECK_MODULES(GOBJECT, gobject-2.0 >= $GOBJECT_REQUIRED)
174 AC_SUBST(GOBJECT_CFLAGS)
175 AC_SUBST(GOBJECT_LIBS)
177 PKG_CHECK_MODULES(GMODULE, gmodule-2.0 >= $GMODULE_REQUIRED)
178 AC_SUBST(GMODULE_CFLAGS)
179 AC_SUBST(GMODULE_LIBS)
181 PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= $GTHREAD_REQUIRED)
182 AC_SUBST(GTHREAD_CFLAGS)
183 AC_SUBST(GTHREAD_LIBS)
185 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
189 PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED)
190 AC_SUBST(GDK_PIXBUF_CFLAGS)
191 AC_SUBST(GDK_PIXBUF_LIBS)
193 PKG_CHECK_MODULES(ORBIT, ORBit-2.0 >= $ORBIT_REQUIRED)
194 AC_SUBST(ORBIT_CFLAGS)
197 PKG_CHECK_MODULES(GLADE, libglade-2.0 >= $LIBGLADE_REQUIRED)
198 AC_SUBST(GLADE_CFLAGS)
201 PKG_CHECK_MODULES(GNOME, libgnome-2.0 >= $GNOME_REQUIRED)
202 AC_SUBST(GNOME_CFLAGS)
205 PKG_CHECK_MODULES(GNOME_CANVAS, libgnomecanvas-2.0 >= $GNOME_CANVAS_REQUIRED)
206 AC_SUBST(GNOME_CANVAS_CFLAGS)
207 AC_SUBST(GNOME_CANVAS_LIBS)
209 PKG_CHECK_MODULES(GNOME_UI, libgnomeui-2.0 >= $GNOME_UI_REQUIRED)
210 AC_SUBST(GNOME_UI_CFLAGS)
211 AC_SUBST(GNOME_UI_LIBS)
213 PKG_CHECK_MODULES(GNOME_PRINT, libgnomeprint-2.2 >= $GNOME_PRINT_REQUIRED)
214 AC_SUBST(GNOME_PRINT_CFLAGS)
215 AC_SUBST(GNOME_PRINT_LIBS)
217 PKG_CHECK_MODULES(GNOME_PRINT_UI, libgnomeprintui-2.2 >= $GNOME_PRINT_UI_REQUIRED)
218 AC_SUBST(GNOME_PRINT_UI_CFLAGS)
219 AC_SUBST(GNOME_PRINT_UI_LIBS)
221 PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED)
222 AC_SUBST(GNOME_VFS_CFLAGS)
223 AC_SUBST(GNOME_VFS_LIBS)
225 PKG_CHECK_MODULES(GNOME_VFS_MODULE, gnome-vfs-module-2.0 >= $GNOME_VFS_REQUIRED)
226 AC_SUBST(GNOME_VFS_MODULE_CFLAGS)
227 AC_SUBST(GNOME_VFS_MODULE_LIBS)
229 PKG_CHECK_MODULES(GCONF, gconf-2.0 >= $GCONF_REQUIRED)
230 AC_SUBST(GCONF_CFLAGS)
233 PKG_CHECK_MODULES(VTE, vte >= $VTE_REQUIRED)
237 PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= $LIBXML_REQUIRED)
238 AC_SUBST(LIBXML_CFLAGS)
239 AC_SUBST(LIBXML_LIBS)
241 PKG_CHECK_MODULES(PANGO, pango >= $PANGO_REQUIRED)
242 AC_SUBST(PANGO_CFLAGS)
245 PKG_CHECK_MODULES(GDL, gdl-1.0 >= $GDL_REQUIRED gdl-gnome-1.0 >= $GDL_REQUIRED)
249 PKG_CHECK_MODULES(LIBXSLT, libxslt)
250 AC_SUBST(LIBXSLT_CFLAGS)
251 AC_SUBST(LIBXSLT_LIBS)
253 dnl Check for autogen
254 dnl -----------------
255 AC_PATH_PROG(AUTOGEN_PATH, autogen,no)
256 if test x$AUTOGEN_PATH = xno; then
257 AC_MSG_ERROR([Couldn't find autogen, please install the autogen package. You can get it from http://autogen.sourceforge.net/])
260 dnl Check for Devhelp
261 dnl -----------------
263 AC_ARG_ENABLE(plugin-devhelp,
264 [ --disable-plugin-devhelp Disable devhelp plugin support in Anjuta.],
265 [ if test "$enableval" = "no"; then
266 user_disabled_devhelp=1
268 [ user_disabled_devhelp=0 ] )
270 AC_MSG_CHECKING(if devhelp plugin is disabled)
271 if test "$user_disabled_devhelp" = 1; then
277 PKG_CHECK_MODULES(PLUGIN_DEVHELP,
278 [libdevhelp-1.0 >= $LIBDEVHELP_REQUIRED],
283 AC_MSG_RESULT([version >= 0.11 not found])
287 if test x$devhelp_old = xyes; then
288 PKG_CHECK_MODULES(PLUGIN_DEVHELP, [libdevhelp-1.0 >= 0.9], [devhelp_enabled=yes], [devhelp_enabled=no])
289 if test x$devhelp_enabled = xyes; then
290 AC_DEFINE(HAVE_OLD_DEVHELP, 1, [If old devhelp (>= 0.9 < 0.11) is installed])
293 AC_SUBST(PLUGIN_DEVHELP_CFLAGS)
294 AC_SUBST(PLUGIN_DEVHELP_LIBS)
297 if test x$devhelp_enabled = xyes; then
298 GECKO_HOME=`$PKGCONFIG_CONFIG --variable=gecko_home libdevhelp-1.0`
299 if test x$GECKO_HOME != x; then
300 ANJUTA_LDFLAGS="$ANJUTA_LDFLAGS -R$GECKO_HOME"
303 AC_SUBST(ANJUTA_LDFLAGS)
305 AM_CONDITIONAL(HAVE_PLUGIN_DEVHELP, [test x$devhelp_enabled = xyes])
308 dnl -----------------
309 dnl PKG_CHECK_MODULES(PLUGIN_GTODO, libgtodo-1.0 >= $LIBGTODO_REQUIRED)
310 dnl AC_SUBST(PLUGIN_GTODO_CFLAGS)
311 dnl AC_SUBST(PLUGIN_GTODO_LIBS)
313 dnl Check for Gnome Build
314 dnl ---------------------
316 PKG_CHECK_MODULES(PLUGIN_GNOMEBUILD, gnome-build-1.0 >= $GNOMEBUILD_REQUIRED)
317 AC_SUBST(PLUGIN_GNOMEBUILD_CFLAGS)
318 AC_SUBST(PLUGIN_GNOMEBUILD_LIBS)
321 dnl ---------------------
323 AC_ARG_ENABLE(plugin-glade,
324 [ --disable-plugin-glade Disable glade plugin support in Anjuta.],
325 [ if test "$enableval" = "no"; then
326 user_disabled_glade=1
328 [ user_disabled_glade=0 ] )
330 AC_MSG_CHECKING(if glade plugin is disabled)
331 if test "$user_disabled_glade" = 1; then
333 libgladeui_found="no"
336 PKG_CHECK_MODULES(PLUGIN_GLADE, [gladeui-1.0 >= $GLADEUI_SVN_REQUIRED],
338 libgladeui_found="yes"
340 libgladeui_found="no"
342 if test x$libgladeui_found = xno; then
343 PKG_CHECK_MODULES(PLUGIN_GLADE, [libgladeui-1.0 > $GLADEUI_REQUIRED],
345 libgladeui_found="old"
347 libgladeui_found="no"
350 if test x$libgladeui_found = xold; then
351 libgladeui_found="yes"
352 AC_DEFINE_UNQUOTED(GLADEUI_LAST_PUBLIC, [1], [Last public GLADEUI version])
353 AC_SUBST(GLADEUI_LAST_PUBLIC)
355 if test x$libgladeui_found = xno; then
356 PKG_CHECK_MODULES(PLUGIN_GLADE, [libgladeui-1.0 = $GLADEUI_REQUIRED],
358 libgladeui_found="old"
360 libgladeui_found="no"
363 if test x$libgladeui_found = xold; then
364 libgladeui_found="yes"
365 AC_DEFINE_UNQUOTED(GLADEUI_OLD, [1], [Older GLADEUI version])
366 AC_SUBST(GLADEUI_OLD)
368 AC_SUBST(PLUGIN_GLADE_CFLAGS)
369 AC_SUBST(PLUGIN_GLADE_LIBS)
372 AM_CONDITIONAL(HAVE_PLUGIN_GLADE, [test x$libgladeui_found = xyes])
374 dnl Check for graphviz (class inheritance and profiler plugins)
375 dnl --------------------------------------------------------------------------
376 dnl FIXME: For some strange reason graphviz-devel rpm install the *.pc files
377 dnl in /usr/lib/graphviz/pkgconfig, instead of usual /usr/lib/pkgconfig. This
378 dnl makes pkgconfig check fail if we don't add the above path in
379 dnl PKG_CONFIG_PATH. We have added both /usr/lib/graphviz/pkgconfig and
380 dnl /usr/local/lib/pkgconfig paths. If graphviz is installed in other prefix
381 dnl (other than /usr or /usr/local or the current installation prefix),
382 dnl following pkgconfig check will fail.
383 dnl --------------------------------------------------------------------------
384 AC_ARG_ENABLE(graphviz,
385 [ --disable-graphviz Disable GraphViz support in Anjuta],
386 [ if test "$enableval" = "no"; then
387 user_disabled_graphviz=1
389 [ user_disabled_graphviz=0 ])
391 AC_MSG_CHECKING(if GraphViz support is disabled)
392 if test "$user_disabled_graphviz" = 1; then
394 libgraphviz_found="no"
398 dnl Set pkgconfig path
399 ANJUTA_PKG_CONFIG_PATH_SAVE="${PKG_CONFIG_PATH}"
400 PKG_CONFIG_PATH="/usr/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
401 PKG_CONFIG_PATH="/usr/local/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
402 PKG_CONFIG_PATH="/usr/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
403 PKG_CONFIG_PATH="/usr/local/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
405 anjuta_save_prefix="$prefix"
406 test "x$prefix" = xNONE && prefix=$ac_default_prefix
407 graphviz_pkgconfig=`eval echo ${libdir}/graphviz/pkgconfig`
408 PKG_CONFIG_PATH="$graphviz_pkgconfig:$PKG_CONFIG_PATH"
409 prefix="$anjuta_save_prefix"
411 export PKG_CONFIG_PATH
412 PKG_CHECK_MODULES(GRAPHVIZ,
413 [libgvc >= $LIBGRAPHVIZ_REQUIRED libgraph >= $LIBGRAPHVIZ_REQUIRED],
414 [libgraphviz_found="yes"],
415 [libgraphviz_found="no"])
416 AC_SUBST(GRAPHVIZ_CFLAGS)
417 AC_SUBST(GRAPHVIZ_LIBS)
419 dnl Restore pkgconfig path
420 PKG_CONFIG_PATH="${ANJUTA_PKG_CONFIG_PATH_SAVE}"
421 export PKG_CONFIG_PATH
424 AM_CONDITIONAL(HAVE_GRAPHVIZ, [test x$libgraphviz_found = xyes])
426 dnl Define HAVE_GRAPHVIZ to disable Function Call Chart in the Profiler if
427 dnl Graphviz isn't on the system
428 if test "$libgraphviz_found" = yes; then
429 AC_DEFINE(HAVE_GRAPHVIZ, [], [Define if we have GraphViz >= 2.6.0])
432 dnl Build gtksourceview plugin only on gnome 2.14 and gtk 2.10
433 dnl -------------------------------------------------------------
435 AC_ARG_ENABLE(plugin-sourceview,
436 [ --disable-plugin-sourceview Disable gtksourceview based editor in Anjuta],
437 [ if test "$enableval" = "no"; then
438 user_disabled_sourceview=1
440 [ user_disabled_sourceview=0 ])
442 AC_MSG_CHECKING(if sourceview plugin is disabled)
443 if test "$user_disabled_sourceview" = 1; then
449 PKG_CHECK_MODULES(PLUGIN_SOURCEVIEW,
450 [libgnome-2.0 >= $GTKSOURCEVIEW_GNOME_REQUIRED,
451 gtk+-2.0 >= $GTKSOURCEVIEW_GTK_REQUIRED,
452 gtksourceview-1.0 >= $GTKSOURCEVIEW_REQUIRED],
455 AC_SUBST(PLUGIN_SOURCEVIEW_CFLAGS)
456 AC_SUBST(PLUGIN_SOURCEVIEW_LIBS)
459 AM_CONDITIONAL(HAVE_PLUGIN_SOURCEVIEW, [test x$sourceview = xyes])
462 dnl -------------------------------------------------------------
464 AC_ARG_ENABLE(plugin-scintilla,
465 [ --disable-plugin-scintilla Disable Scintilla based editor in Anjuta],
466 [ if test "$enableval" = "no"; then
467 user_disabled_scintilla=1
469 [ user_disabled_scintilla=0 ])
471 AC_MSG_CHECKING(if scintilla plugin is disabled)
472 if test "$user_disabled_scintilla" = 1; then
479 AM_CONDITIONAL(HAVE_PLUGIN_SCINTILLA, [test x$scintilla = xyes])
483 dnl -------------------------------------------------------------
485 AC_ARG_ENABLE(plugin-valgrind,
486 [ --disable-plugin-valgrind Disable Valgrind plugin],
487 [ if test "$enableval" = "no"; then
488 user_disabled_valgrind=1
490 [ user_disabled_valgrind=0 ])
492 AC_MSG_CHECKING(if valgrind plugin is disabled)
493 if test "$user_disabled_valgrind" = 1; then
501 AC_CHECK_LIB(bfd, bfd_get_error, [PLUGIN_VALGRIND_LIBS="-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic"],
505 AC_SUBST(PLUGIN_VALGRIND_LIBS)
506 AM_CONDITIONAL(HAVE_PLUGIN_VALGRIND, [test x$valgrind = xyes])
511 dnl we need gconftool-2 in order to install the schema
512 AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
514 if test "x$GCONFTOOL" = "xno"; then
515 AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
523 dnl check for bfd_get_section_size_before_reloc() in libbfd
524 AC_MSG_CHECKING(for bfd_get_section_size_before_reloc)
530 bfd_get_section_size_before_reloc (section);
533 AC_DEFINE(HAVE_BFD_GET_SECTION_SIZE_BEFORE_RELOC, [], [Define if libbfd
534 contains the function bfd_get_section_size_before_reloc])
542 dnl Setup Anjuta Library flags
543 dnl --------------------------
544 LIBANJUTA_CFLAGS='$(GNOME_UI_CFLAGS) $(GLADE_CFLAGS) -I$(top_srcdir) -DPACKAGE_PIXMAPS_DIR=\""$(datadir)/pixmaps/$(PACKAGE)\"" -DPACKAGE_DATA_DIR=\""$(datadir)/$(PACKAGE)"\"'
545 LIBANJUTA_LIBS='$(top_builddir)/libanjuta/libanjuta.la'
546 AC_SUBST(LIBANJUTA_CFLAGS)
547 AC_SUBST(LIBANJUTA_LIBS)
549 dnl Setup Plugin directories
550 dnl ------------------------
551 anjuta_plugin_dir='$(libdir)/anjuta'
552 anjuta_data_dir='$(datadir)/anjuta'
553 anjuta_ui_dir='$(datadir)/anjuta/ui'
554 anjuta_glade_dir='$(datadir)/anjuta/glade'
555 anjuta_image_dir='$(datadir)/pixmaps/anjuta'
556 AC_SUBST(anjuta_plugin_dir)
557 AC_SUBST(anjuta_data_dir)
558 AC_SUBST(anjuta_ui_dir)
559 AC_SUBST(anjuta_glade_dir)
560 AC_SUBST(anjuta_image_dir)
562 dnl ***************************************************************************
563 dnl Check for old vte version
564 dnl ***************************************************************************
565 PKG_CHECK_MODULES(VTE, vte >= $VTE_NEW_REQUIRED, OLD_VTE=0, OLD_VTE=1)
567 AC_DEFINE_UNQUOTED(OLD_VTE, $OLD_VTE, [Old version of vte])
569 dnl ***************************************************************************
570 dnl Check for marshal and enum generators
571 dnl ***************************************************************************
572 GLIB_GENMARSHAL="`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`"
573 AC_SUBST(GLIB_GENMARSHAL)
574 GLIB_MKENUMS="`$PKG_CONFIG --variable=glib_mkenums glib-2.0`"
575 AC_SUBST(GLIB_MKENUMS)
577 dnl ***************************************************************************
578 dnl Internatinalization
579 dnl ***************************************************************************
580 GETTEXT_PACKAGE=anjuta
581 AC_SUBST(GETTEXT_PACKAGE)
582 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
584 IT_PROG_INTLTOOL([0.35.0])
586 dnl ***************************************************************************
587 dnl Check for gtk-doc.
588 dnl ***************************************************************************
591 dnl ***************************************************************************
592 dnl Check for Gnome XML [Is this still required?]
593 dnl ***************************************************************************
596 dnl ***************************************************************************
597 dnl Check for ScrollKeeper [No documentation for now]
598 dnl ***************************************************************************
599 dnl AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
600 dnl if test x$SCROLLKEEPER_CONFIG = xno; then
601 dnl AC_MSG_ERROR(Couldn't find scrollkeeper-config, please install the scrollkeeper package. You can get it from http://scrollkeeper.sourceforge.net/)
603 dnl SCROLLKEEPER_REQUIRED=0.1.4
604 dnl AC_SUBST(SCROLLKEEPER_REQUIRED)
606 dnl ***************************************************************************
607 dnl Checking for scrollkeeper version [No documentation for now]
608 dnl ***************************************************************************
609 dnl AC_MSG_CHECKING(for scrollkeeper version number)
610 dnl if scrollkeeper-config --version > /dev/null 2>&1; then
611 dnl version=`scrollkeeper-config --version`; \
612 dnl vers=`echo $version | awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'`; \
613 dnl AC_MSG_RESULT(found $version)
614 dnl SCROLLKEEPER_VERSION_NUM=$vers
616 dnl AC_MSG_ERROR(Did not find scrollkeeper installed)
618 dnl AC_SUBST(SCROLLKEEPER_VERSION_NUM)
620 dnl ***************************************************************************
622 dnl ***************************************************************************
624 AC_PATH_PROG(PCRE_CONFIG, pcre-config,no)
625 if test x$PCRE_CONFIG = xno; then
626 AC_MSG_ERROR(Please install the PCRE package from http://www.pcre.org/)
628 PCRE_CFLAGS=`pcre-config --cflags`
629 PCRE_LIBS=`pcre-config --libs`
631 AC_SUBST(PCRE_CFLAGS)
633 dnl ***************************************************************************
634 dnl Tagmanager checks.
635 dnl ***************************************************************************
637 dnl Define convenience macros
638 dnl -------------------------
639 dnl CHECK_HEADER_DEFINE(LABEL, HEADER [,ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ] ])
640 AC_DEFUN([CHECK_HEADER_DEFINE],
642 AC_MSG_CHECKING("if $1 is defined in $2")
656 dnl Checks for header files.
657 AC_CHECK_HEADERS(dirent.h fcntl.h fnmatch.h stat.h stdlib.h string.h stdint.h)
658 AC_CHECK_HEADERS(time.h types.h unistd.h)
659 AC_CHECK_HEADERS(sys/dir.h sys/stat.h sys/times.h sys/types.h)
661 dnl Checks for typedefs, structures, and compiler characteristics.
663 dnl Disable cygwin check until someone fixes that stupid autoconf warnings.
674 AC_MSG_CHECKING("for fpos_t")
675 AC_EGREP_HEADER(fpos_t, stdio.h, AC_MSG_RESULT(yes),
678 AC_DEFINE(fpos_t, long, [fpos_t is type long])
681 AC_MSG_CHECKING("for clock_t")
682 AC_EGREP_HEADER(clock_t, time.h, AC_MSG_RESULT(yes),
685 AC_DEFINE(clock_t, long, [clock_t is type long])
688 CHECK_HEADER_DEFINE(L_tmpnam, stdio.h,, AC_DEFINE(L_tmpnam, 20, [L_tmpname is 20]))
690 CHECK_HEADER_DEFINE(INT_MAX, limits.h,,
691 CHECK_HEADER_DEFINE(MAXINT, limits.h,
692 AC_DEFINE(INT_MAX, MAXINT, [Maximum int size]), AC_DEFINE(INT_MAX, 32767, [Maximum int size])))
694 AC_MSG_CHECKING(if struct stat contains st_ino)
695 AC_TRY_COMPILE([#include <sys/stat.h>], [
700 ], have_st_ino=yes, have_st_ino=no)
701 AC_MSG_RESULT($have_st_ino)
702 if test yes = "$have_st_ino"; then
703 AC_DEFINE(HAVE_STAT_ST_INO,,[Have stat st_ino])
707 dnl Check for function forkpty in libutil
708 AC_CHECK_LIB(util, forkpty)
710 dnl Checks for library functions.
711 AC_CHECK_FUNCS(fnmatch)
712 AC_CHECK_FUNCS(strstr)
713 AC_CHECK_FUNCS(stricmp)
714 AC_CHECK_FUNCS(strnicmp)
715 AC_CHECK_FUNCS(getline)
717 AC_CHECK_FUNCS(fgetpos, have_fgetpos=yes)
719 dnl SEEK_SET should be in stdio.h, but may be in unistd.h on SunOS 4.1.x
720 if test "$have_fgetpos" != yes ; then
721 CHECK_HEADER_DEFINE(SEEK_SET, stdio.h,,
722 CHECK_HEADER_DEFINE(SEEK_SET, unistd.h,,
723 AC_DEFINE(SEEK_SET, 0, [Seek set 0])))
726 AC_CHECK_FUNCS(mkstemp, have_mkstemp=yes)
727 if test "$have_mkstemp" != yes ; then
728 AC_CHECK_FUNCS(chmod)
729 if test "$tmpdir_specified" = yes ; then
730 AC_MSG_RESULT(use of tmpnam overrides temporary directory selection)
733 AC_MSG_CHECKING(directory to use for temporary files)
734 if test -z "$enable_tmpdir" -o "$enable_tmpdir" = no -o "$enable_tmpdir" = yes ;
736 else tmpdir="$enable_tmpdir"
738 if test -d $tmpdir ; then
739 AC_MSG_RESULT($tmpdir)
740 AC_DEFINE_UNQUOTED(TMPDIR, "$tmpdir", [Directory for temporary files])
742 AC_MSG_WARN($tmpdir does not exist)
746 AC_CHECK_FUNCS(strerror opendir)
747 AC_CHECK_FUNCS(clock times, break)
748 AC_CHECK_FUNCS(remove, have_remove=yes,
749 CHECK_HEADER_DEFINE(remove, unistd.h,, AC_DEFINE(remove, unlink, [Remove is unlink])))
751 AC_CHECK_FUNCS(truncate, have_truncate=yes)
752 dnl === Cannot nest AC_CHECK_FUNCS() calls
753 if test "$have_truncate" != yes ; then
754 AC_CHECK_FUNCS(ftruncate, have_ftruncate=yes)
755 if test "$have_ftruncate" != yes ; then
756 AC_CHECK_FUNCS(chsize)
760 AC_CHECK_FUNCS(setenv, have_setenv=yes)
761 dnl === Cannot nest AC_CHECK_FUNCS() calls
762 if test "$have_setenv" != yes ; then
763 AC_CHECK_FUNCS(putenv, have_putenv=yes)
764 if test "$have_putenv" = yes ; then
765 AC_EGREP_HEADER(putenv, stdlib.h, have_putenv_prototype=yes)
766 if test "$have_putenv_prototype" = yes ; then
767 AC_MSG_CHECKING("putenv prototype")
768 AC_EGREP_HEADER([[^A-Za-zo-9_]putenv[ ]*\(.*const.*\)[ ]*;],
769 stdlib.h, AC_MSG_RESULT(correct),
771 AC_MSG_RESULT(no const)
772 AC_DEFINE(NON_CONST_PUTENV_PROTOTYPE,,[putenv has non constant prototype])
779 dnl if test yes = "$CYGWIN"; then with_posix_regex=no; fi
780 if test no != "$with_posix_regex"; then
781 AC_CHECK_FUNCS(regcomp)
782 AC_MSG_CHECKING(if regcomp works)
784 #include <sys/types.h>
788 exit (regcomp (&patbuf, "/hello/", 0) != 0);
789 }],regcomp_works=yes,regcomp_works=no,AC_DEFINE(CHECK_REGCOMP,,[Check regcomp]))
790 AC_MSG_RESULT($regcomp_works)
791 if test yes != "$regcomp_works"; then
792 AC_DEFINE(REGCOMP_BROKEN,,[Regcomp is broken])
796 dnl -----------------------------
797 dnl Checks for FreeBSD Build
798 dnl -----------------------------
799 AC_MSG_CHECKING(if building on FreeBSD)
801 if test `uname -s` = "FreeBSD" ; then
803 FREEBSD_BUILD=-DFREEBSD
804 AC_SUBST(FREEBSD_BUILD)
805 AC_PATH_PROG(GMAKE, gmake, no)
806 if test "x$GMAKE" = "xno"; then
807 AC_ERROR(You need gmake installed to build Anjuta!)
816 dnl Checks for missing prototypes
817 dnl -----------------------------
818 AC_CHECKING("for missing prototypes")
820 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))])
822 if test "$have_remove" = yes ; then
823 CHECK_PROTO(remove, stdio.h)
825 CHECK_PROTO(unlink, unistd.h)
827 CHECK_PROTO(malloc, stdlib.h)
828 CHECK_PROTO(getenv, stdlib.h)
829 CHECK_PROTO(stat, sys/stat.h)
830 CHECK_PROTO(lstat, sys/stat.h)
831 if test "$have_fgetpos" = yes ; then
832 CHECK_PROTO(fgetpos, stdio.h)
834 if test "$have_truncate" = yes ; then
835 CHECK_PROTO(truncate, unistd.h)
837 if test "$have_ftruncate" = yes ; then
838 CHECK_PROTO(ftruncate, unistd.h)
841 dnl **********************************************************
842 dnl check if we have svn libraries to build subversion plugin
843 dnl (stolen from kdevelop ;-)
844 dnl **********************************************************
846 AC_MSG_CHECKING(for Subversion svn-config)
847 AC_ARG_WITH(subversion-dir,
848 [ --with-subversion-dir=DIR where Subversion is installed ],
850 SVNCONFIG="$withval/bin/svn-config"
853 if test -z "$SVNCONFIG"; then
854 _SVNCONFIG="`svn-config --prefix 2> /dev/null`"
855 if test -n "$_SVNCONFIG"; then
856 SVNCONFIG="$_SVNCONFIG/bin/svn-config"
861 if test -x "$SVNCONFIG"; then
862 SVNLD="`$SVNCONFIG --ldflags 2> /dev/null`"
863 SVN_LIB="`$SVNCONFIG --libs --cflags 2> /dev/null` -lsvn_client-1 -lsvn_subr-1"
864 dnl ugly hack for subversion svn-config problems in 0.14.x, to be removed when svn-config is fixed
865 SVN_INCLUDE="`$SVNCONFIG --includes 2> /dev/null` -I$_SVNCONFIG/include/subversion-1/"
868 AC_MSG_RESULT(not found)
870 dnl just a fallback to debian's config so that it works for me :)
871 AC_ARG_WITH(svn-include,
872 [[ --with-svn-include=DIR Use the given path to the subversion headers.]],
874 if test "$withval" != "yes" -a "$withval" != ""; then
875 SVN_INCLUDES=$withval
878 if test -z "$SVN_INCLUDES"; then
879 SVN_INCLUDES="/usr/local/include /usr/include"
881 AC_MSG_CHECKING([for Subversion headers])
883 for VALUE in $SVN_INCLUDES ; do
884 if test -f $VALUE/subversion-1/svn_types.h ; then
885 SVN_INCLUDE=$VALUE/subversion-1
888 if test -f $VALUE/svn_types.h ; then
893 if test $SVN_INCLUDE ; then
894 AC_MSG_RESULT([found])
896 AC_MSG_RESULT([not found])
898 SVN_LIBS="/usr/local/lib /usr/lib"
900 [[ --with-svn-lib=DIR Use the given path to the subversion libraries.]],
902 if test "$withval" != "yes" -a "$withval" != ""; then
906 AC_MSG_CHECKING([for Subversion libraries])
908 for VALUE in $SVN_LIBS ; do
909 if ls $VALUE/libsvn_client-1.* 1>/dev/null 2>&1; then
914 if test $SVN_LIB ; then
915 AC_MSG_RESULT([found])
917 AC_MSG_RESULT([not found])
921 dnl ******************************************************************
922 dnl Check for extra libs required by subversion.
923 dnl FIXME: This should actually be done by subversion and not by us.
924 dnl ******************************************************************
926 AC_ARG_ENABLE(plugin-subversion,
927 [ --disable-plugin-subversion Disable subversion support in Anjuta.],
928 [ if test "$enableval" = "no"; then
929 user_disabled_subversion=1
931 [ user_disabled_subversion=0 ] )
933 AC_MSG_CHECKING(if subversion support is disabled)
934 if test "$user_disabled_subversion" = 1; then
942 if test -n "$SVN_INCLUDE" ; then
943 dnl ------------------------------------
944 dnl APR. Required by subversion (devel)
945 dnl ------------------------------------
947 APR_CONFIGS="apr-config /usr/local/apr/bin/apr-config/ apr-1-config "
948 AC_ARG_WITH(apr-config,
949 [[ --with-apr-config=FILE Use the given path to apr-config when determining
950 APR configuration; defaults to "apr-config"]],
952 if test "$withval" != "yes" -a "$withval" != ""; then
956 AC_MSG_CHECKING([for APR])
958 for VALUE in $APR_CONFIGS ; do
959 if $VALUE --cflags > /dev/null 2>&1 ; then
964 test $VALUE && APR_CONFIG=$VALUE
965 if test $APR_CONFIG ; then
966 AC_MSG_RESULT([found])
967 APR_CFLAGS="`$APR_CONFIG --cflags` `$APR_CONFIG --cppflags`"
968 APR_INCLUDE="`$APR_CONFIG --includes`"
969 APR_LIBS="`$APR_CONFIG --link-ld --libs`"
971 AC_MSG_RESULT([not found])
972 dnl AC_MSG_ERROR([APR is required. Try --with-apr-config.])
975 dnl -----------------------------------------
976 dnl APR util. Required by subversion (devel)
977 dnl------------------------------------------
979 APU_CONFIGS="apu-config /usr/local/apr/bin/apu-config apu-1-config"
980 AC_ARG_WITH(apu-config,
981 [[ --with-apu-config=FILE Use the given path to apu-config when determining
982 APR util configuration; defaults to "apu-config"]],
984 if test "$withval" != "yes" -a "$withval" != ""; then
988 AC_MSG_CHECKING([for APR util])
990 for VALUE in $APU_CONFIGS ; do
991 if $VALUE --includes > /dev/null 2>&1 ; then
996 if test $APU_CONFIG ; then
997 AC_MSG_RESULT([found])
998 APR_INCLUDE="$APR_INCLUDE `$APU_CONFIG --includes`"
999 APR_LIBS="$APR_LIBS `$APU_CONFIG --link-ld --libs`"
1001 AC_MSG_RESULT([not found])
1004 dnl -----------------------------------------
1005 dnl NEON. Required by subversion (devel)
1006 dnl------------------------------------------
1008 dnl Check for neon. It is required by subversion libs, but for
1009 dnl for some strange reason it's not in it's dependencies.
1010 dnl subversion plugin will be disabled if neon (devel) is not
1011 dnl installed, even if subversion (devel) is installed.
1013 NEON_CONFIGS="neon-config"
1014 AC_ARG_WITH(neon-config,
1015 [[ --with-neon-config=FILE Use the given path to neon-config when determining
1016 Neon configuration; defaults to "neon-config"]],
1018 if test "$withval" != "yes" -a "$withval" != ""; then
1019 NEON_CONFIGS=$withval
1022 AC_MSG_CHECKING([for Neon])
1024 for VALUE in $NEON_CONFIGS ; do
1025 if $VALUE --cflags > /dev/null 2>&1 ; then
1030 if test $NEON_CONFIG ; then
1031 AC_MSG_RESULT([found])
1033 AC_MSG_RESULT([not found])
1039 dnl ------------------------------------------
1040 dnl Finally prepare subversion build flags
1041 dnl ------------------------------------------
1043 if test -n "$SVN_INCLUDE" ; then
1044 SVN_INCLUDE="-I$SVN_INCLUDE $APR_INCLUDE"
1045 SVN_LIB="-L$SVN_LIB $APR_LIBS -lsvn_client-1 -lsvn_subr-1"
1046 SVN_CFLAGS="$APR_CFLAGS"
1049 AM_CONDITIONAL(BUILD_SVN, [test -n "$SVN_INCLUDE"])
1050 AC_SUBST(SVN_INCLUDE)
1052 AC_SUBST(SVN_CFLAGS)
1054 dnl --------- help outputs -----------
1055 dnl manuals/C/Makefile
1056 dnl manuals/C/anjuta-tutorial/Makefile
1057 dnl manuals/C/anjuta-advanced-tutorial/Makefile
1058 dnl manuals/C/anjuta-faqs/Makefile
1059 dnl manuals/C/anjuta-manual/Makefile
1060 dnl manuals/de/Makefile
1061 dnl manuals/de/anjuta-tutorial/Makefile
1062 dnl manuals/ja/Makefile
1063 dnl manuals/ja/anjuta-faqs/Makefile
1064 dnl manuals/ja/anjuta-manual/Makefile
1070 tagmanager/include/Makefile
1071 global-tags/Makefile
1073 libegg/util/Makefile
1074 libegg/treeviewutils/Makefile
1075 libegg/menu/Makefile
1076 libegg/recent-files/Makefile
1079 libanjuta/libanjuta-1.0.pc
1080 libanjuta/interfaces/Makefile
1085 data/properties/Makefile
1087 doc/anjuta_launcher.1
1090 scripts/anjuta_import.sh
1093 plugins/sample1/Makefile
1094 plugins/gtodo/Makefile
1095 plugins/class-gen/Makefile
1096 plugins/class-gen/templates/Makefile
1097 plugins/patch/Makefile
1098 plugins/editor/Makefile
1099 plugins/editor/scintilla/Makefile
1100 plugins/editor/scintilla/include/Makefile
1101 plugins/document-manager/Makefile
1102 plugins/search/Makefile
1103 plugins/message-view/Makefile
1104 plugins/gdb/Makefile
1105 plugins/gdb/images/Makefile
1106 plugins/debug-manager/Makefile
1107 plugins/debug-manager/images/Makefile
1108 plugins/devhelp/Makefile
1109 plugins/glade/Makefile
1110 plugins/file-manager/Makefile
1111 plugins/file-loader/Makefile
1112 plugins/file-wizard/Makefile
1113 plugins/terminal/Makefile
1114 plugins/build-basic-autotools/Makefile
1115 plugins/profiler/Makefile
1116 plugins/project-manager/Makefile
1117 plugins/symbol-browser/Makefile
1118 plugins/symbol-browser/images/Makefile
1119 plugins/cvs-plugin/Makefile
1120 plugins/project-wizard/Makefile
1121 plugins/macro/Makefile
1122 plugins/subversion/Makefile
1123 plugins/sourceview/Makefile
1124 plugins/tools/Makefile
1125 plugins/tools/scripts/Makefile
1126 plugins/class-inheritance/Makefile
1127 plugins/valgrind/Makefile
1128 plugins/project-import/Makefile
1129 plugins/project-wizard/templates/Makefile
1130 plugins/project-wizard/templates/mkfile/Makefile
1131 plugins/project-wizard/templates/mkfile/src/Makefile
1132 plugins/project-wizard/templates/mkfile/po/Makefile
1133 plugins/project-wizard/templates/minimal/Makefile
1134 plugins/project-wizard/templates/terminal/Makefile
1135 plugins/project-wizard/templates/terminal/src/Makefile
1136 plugins/project-wizard/templates/terminal/po/Makefile
1137 plugins/project-wizard/templates/cpp/Makefile
1138 plugins/project-wizard/templates/cpp/src/Makefile
1139 plugins/project-wizard/templates/cpp/po/Makefile
1140 plugins/project-wizard/templates/gtk/Makefile
1141 plugins/project-wizard/templates/gtk/src/Makefile
1142 plugins/project-wizard/templates/gtk/po/Makefile
1143 plugins/project-wizard/templates/anjuta-plugin/Makefile
1144 plugins/project-wizard/templates/anjuta-plugin/src/Makefile
1145 plugins/project-wizard/templates/anjuta-plugin/po/Makefile
1146 plugins/project-wizard/templates/gnome/Makefile
1147 plugins/project-wizard/templates/gnome/src/Makefile
1148 plugins/project-wizard/templates/gnome/po/Makefile
1149 plugins/project-wizard/templates/gtkmm/Makefile
1150 plugins/project-wizard/templates/gtkmm/src/Makefile
1151 plugins/project-wizard/templates/gtkmm/po/Makefile
1152 plugins/project-wizard/templates/gcj/Makefile
1153 plugins/project-wizard/templates/gcj/src/Makefile
1154 plugins/project-wizard/templates/java/Makefile
1155 plugins/project-wizard/templates/java/src/Makefile
1156 plugins/project-wizard/templates/java/po/Makefile
1157 plugins/project-wizard/templates/python/Makefile
1158 plugins/project-wizard/templates/python/src/Makefile
1159 plugins/project-wizard/templates/python/po/Makefile
1160 plugins/project-wizard/templates/wxwin/Makefile
1161 plugins/project-wizard/templates/wxwin/src/Makefile
1162 plugins/project-wizard/templates/wxwin/po/Makefile
1163 plugins/project-wizard/templates/xlib/Makefile
1164 plugins/project-wizard/templates/xlib/src/Makefile
1165 plugins/project-wizard/templates/xlib/po/Makefile
1166 plugins/project-wizard/templates/xlib-dock/Makefile
1167 plugins/project-wizard/templates/xlib-dock/src/Makefile
1168 plugins/project-wizard/templates/xlib-dock/po/Makefile
1169 plugins/language-support-cpp-java/Makefile
1172 manuals/reference/Makefile
1173 manuals/reference/libanjuta/Makefile
1174 manuals/reference/libanjuta/version.xml
1175 manuals/anjuta-manual/Makefile
1176 manuals/anjuta-faqs/Makefile
1180 echo "-------------------------------------------------------------------"
1181 echo "Conditionally built plugins:"
1182 echo "-------------------------------------------------------------------"
1183 if [ test -n "$SVN_INCLUDE" ]; then
1184 echo "Building subversion plugin: ............................YES"
1186 echo "Building subversion plugin: ............................NO"
1187 echo " Requires apr (>= 0.9.4); http://subversion.org"
1188 echo " Requires apr-util (>= 0.9.4); http://subversion.org"
1189 echo " Requires neon (>= 0.24.5); http://subversion.org"
1190 echo " Requires subversion (>= 1.0.2); http://subversion.org"
1193 if [ test x$libgladeui_found = xyes ]; then
1194 echo "Building glade plugin: .................................YES"
1196 echo "Building glade plugin: .................................NO"
1197 echo " Requires glade-3 (>= 3.0.2)"
1200 if [ test x$devhelp_enabled = xyes ]; then
1201 echo "Building devhelp plugin: ...............................YES"
1203 echo "Building devhelp plugin: ...............................NO"
1204 echo " Requires devhelp"
1207 if [ test x$libgraphviz_found = xyes ]; then
1208 echo "Building class inheritance plugin: .....................YES"
1209 echo "Building performance profiler with function call chart: YES"
1211 echo "Building class inheritance plugin: .....................NO"
1212 echo " Requires graphviz (>= 2.6.0); http://graphviz.org"
1213 echo "Building performance profiler with function call chart: NO"
1214 echo " Requires graphviz (>= 2.6.0); http://graphviz.org"
1217 if [ test x$valgrind = xyes ]; then
1218 echo "Building Valgrind debugger plugin: .....................YES"
1220 echo "Building Valgrind debugger plugin: .....................NO"
1221 echo " Requires binutils-dev"
1224 if [ test x$sourceview = xyes ]; then
1225 echo "Building GtkSourceView based editor: ...................YES"
1227 echo "Building GtkSourceView based editor: ...................NO"
1230 if [ test x$scintilla = xyes ]; then
1231 echo "Building Scintilla based editor: .......................YES"
1233 echo "Building Scintilla based editor: .......................NO"
1235 echo "-------------------------------------------------------------------"