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, 5)
7 m4_define(anjuta_micro_version, 0)
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
41 LIBDEVHELP_REQUIRED=0.13
43 GNOMEBUILD_REQUIRED=0.3.0
44 GLADEUI_REQUIRED=3.2.0
45 LIBGRAPHVIZ_REQUIRED=1.0
47 SUBVERSION_REQUIRED=1.0.2
48 GTKSOURCEVIEW_REQUIRED=2.1.2
49 GTKSOURCEVIEW_GNOME_REQUIRED=2.14
50 GTKSOURCEVIEW_GTK_REQUIRED=2.10
51 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_CANVAS_REQUIRED)
66 AC_SUBST(GNOME_UI_REQUIRED)
67 AC_SUBST(GNOME_PRINT_REQUIRED)
68 AC_SUBST(GNOME_PRINT_UI_REQUIRED)
69 AC_SUBST(GNOME_VFS_REQUIRED)
70 AC_SUBST(GCONF_REQUIRED)
71 AC_SUBST(VTE_REQUIRED)
72 AC_SUBST(LIBXML_REQUIRED)
73 AC_SUBST(PANGO_REQUIRED)
74 AC_SUBST(VTE_NEW_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)
88 AC_SUBST(GDA_REQUIRED)
90 dnl AC_SUBST(LIBGTODO_REQUIRED)
92 AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
93 AC_CONFIG_HEADERS(config.h)
103 #Check for C++ Compiler
107 GNOME_COMPILE_WARNINGS(maximum)
108 GNOME_CXX_WARNINGS(yes)
109 AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS"
110 AM_CXXFLAGS="$AM_CXXFLAGS $WARN_CXXFLAGS"
112 dnl Enable debugging mode
114 [ --enable-debug Enable debug messages],
115 AM_CFLAGS="$AM_CFLAGS -DDEBUG"
116 AM_CXXFLAGS="$AM_CXXFLAGS -DDEBUG")
118 AC_SUBST(AM_CXXFLAGS)
120 ANJUTA_LDFLAGS="-no-undefined"
121 ANJUTA_PLUGIN_LDFLAGS="-module -avoid-version -no-undefined"
122 AC_SUBST(ANJUTA_LDFLAG)
123 AC_SUBST(ANJUTA_PLUGIN_LDFLAGS)
125 dnl Disable deprecated APIs
126 AC_ARG_ENABLE(deprecated,
127 [ --disable-deprecated Disable deprecated APIs],
128 [ if test "$enableval" = "no"; then
129 DEPRECATED_FLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED"
131 [ DEPRECATED_FLAGS="" ])
132 AC_SUBST(DEPRECATED_FLAGS)
134 dnl Enable versioned user preferences directory
135 AC_ARG_WITH(pref-suffix,
136 [ --with-pref-suffix=VALUE Suffix to add to user preferences dir.],
137 PREF_SUFFIX="$withval")
139 AC_SUBST(PREF_SUFFIX)
140 AC_DEFINE_UNQUOTED(PREF_SUFFIX,
142 [Suffix to add to preferences directory])
151 dnl ***************************************************************************
152 dnl Check for GConf stuff to handle schema installation
153 dnl ***************************************************************************
154 AC_PATH_PROG(GCONFTOOL, gconftool-2)
157 dnl ***************************************************************************
158 dnl Check for pkgconfig
159 dnl ***************************************************************************
160 AC_PATH_PROG(PKGCONFIG_CONFIG, pkg-config,no)
161 if test x$PKGCONFIG_CONFIG = xno; then
162 AC_MSG_ERROR(Please install the pkg-config package from http://www.freedesktop.org/software/pkgconfig/)
165 dnl pkg checks are split into separate packages instead of single package
166 dnl because different plugins have different requirements.
168 PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
169 AC_SUBST(GLIB_CFLAGS)
172 PKG_CHECK_MODULES(GOBJECT, gobject-2.0 >= $GOBJECT_REQUIRED)
173 AC_SUBST(GOBJECT_CFLAGS)
174 AC_SUBST(GOBJECT_LIBS)
176 PKG_CHECK_MODULES(GMODULE, gmodule-2.0 >= $GMODULE_REQUIRED)
177 AC_SUBST(GMODULE_CFLAGS)
178 AC_SUBST(GMODULE_LIBS)
180 PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= $GTHREAD_REQUIRED)
181 AC_SUBST(GTHREAD_CFLAGS)
182 AC_SUBST(GTHREAD_LIBS)
184 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
188 PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED)
189 AC_SUBST(GDK_PIXBUF_CFLAGS)
190 AC_SUBST(GDK_PIXBUF_LIBS)
192 PKG_CHECK_MODULES(ORBIT, ORBit-2.0 >= $ORBIT_REQUIRED)
193 AC_SUBST(ORBIT_CFLAGS)
196 PKG_CHECK_MODULES(GLADE, libglade-2.0 >= $LIBGLADE_REQUIRED)
197 AC_SUBST(GLADE_CFLAGS)
200 PKG_CHECK_MODULES(GNOME, libgnome-2.0 >= $GNOME_REQUIRED)
201 AC_SUBST(GNOME_CFLAGS)
204 PKG_CHECK_MODULES(GNOME_CANVAS, libgnomecanvas-2.0 >= $GNOME_CANVAS_REQUIRED)
205 AC_SUBST(GNOME_CANVAS_CFLAGS)
206 AC_SUBST(GNOME_CANVAS_LIBS)
208 PKG_CHECK_MODULES(GNOME_UI, libgnomeui-2.0 >= $GNOME_UI_REQUIRED)
209 AC_SUBST(GNOME_UI_CFLAGS)
210 AC_SUBST(GNOME_UI_LIBS)
212 PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED)
213 AC_SUBST(GNOME_VFS_CFLAGS)
214 AC_SUBST(GNOME_VFS_LIBS)
216 PKG_CHECK_MODULES(GNOME_VFS_MODULE, gnome-vfs-module-2.0 >= $GNOME_VFS_REQUIRED)
217 AC_SUBST(GNOME_VFS_MODULE_CFLAGS)
218 AC_SUBST(GNOME_VFS_MODULE_LIBS)
220 PKG_CHECK_MODULES(GCONF, gconf-2.0 >= $GCONF_REQUIRED)
221 AC_SUBST(GCONF_CFLAGS)
224 PKG_CHECK_MODULES(VTE, vte >= $VTE_REQUIRED)
228 PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= $LIBXML_REQUIRED)
229 AC_SUBST(LIBXML_CFLAGS)
230 AC_SUBST(LIBXML_LIBS)
232 PKG_CHECK_MODULES(PANGO, pango >= $PANGO_REQUIRED)
233 AC_SUBST(PANGO_CFLAGS)
236 PKG_CHECK_MODULES(GDL, gdl-1.0 >= $GDL_REQUIRED gdl-gnome-1.0 >= $GDL_REQUIRED)
240 PKG_CHECK_MODULES(LIBXSLT, libxslt)
241 AC_SUBST(LIBXSLT_CFLAGS)
242 AC_SUBST(LIBXSLT_LIBS)
244 dnl Check for autogen
245 dnl -----------------
246 AC_PATH_PROG(AUTOGEN_PATH, autogen,no)
247 if test x$AUTOGEN_PATH = xno; then
248 AC_MSG_ERROR([Couldn't find autogen, please install the autogen package. You can get it from http://autogen.sourceforge.net/])
251 dnl Check for Devhelp
252 dnl -----------------
254 AC_ARG_ENABLE(plugin-devhelp,
255 [ --disable-plugin-devhelp Disable devhelp plugin support in Anjuta.],
256 [ if test "$enableval" = "no"; then
257 user_disabled_devhelp=1
259 [ user_disabled_devhelp=0 ] )
261 AC_MSG_CHECKING(if devhelp plugin is disabled)
262 if test "$user_disabled_devhelp" = 1; then
268 PKG_CHECK_MODULES(PLUGIN_DEVHELP,
269 [libdevhelp-1.0 >= $LIBDEVHELP_REQUIRED],
274 AC_MSG_RESULT([version >= 0.11 not found])
278 if test x$devhelp_old = xyes; then
279 PKG_CHECK_MODULES(PLUGIN_DEVHELP, [libdevhelp-1.0 >= 0.9], [devhelp_enabled=yes], [devhelp_enabled=no])
280 if test x$devhelp_enabled = xyes; then
281 AC_DEFINE(HAVE_OLD_DEVHELP, 1, [If old devhelp (>= 0.9 < 0.11) is installed])
284 AC_SUBST(PLUGIN_DEVHELP_CFLAGS)
285 AC_SUBST(PLUGIN_DEVHELP_LIBS)
288 if test x$devhelp_enabled = xyes; then
289 GECKO_HOME=`$PKGCONFIG_CONFIG --variable=gecko_home libdevhelp-1.0`
290 if test x$GECKO_HOME != x; then
291 ANJUTA_LDFLAGS="$ANJUTA_LDFLAGS -R$GECKO_HOME"
294 AC_SUBST(ANJUTA_LDFLAGS)
296 AM_CONDITIONAL(HAVE_PLUGIN_DEVHELP, [test x$devhelp_enabled = xyes])
299 dnl -----------------
300 dnl PKG_CHECK_MODULES(PLUGIN_GTODO, libgtodo-1.0 >= $LIBGTODO_REQUIRED)
301 dnl AC_SUBST(PLUGIN_GTODO_CFLAGS)
302 dnl AC_SUBST(PLUGIN_GTODO_LIBS)
304 dnl Check for Gnome Build
305 dnl ---------------------
307 PKG_CHECK_MODULES(PLUGIN_GNOMEBUILD, gnome-build-1.0 >= $GNOMEBUILD_REQUIRED)
308 AC_SUBST(PLUGIN_GNOMEBUILD_CFLAGS)
309 AC_SUBST(PLUGIN_GNOMEBUILD_LIBS)
312 dnl ---------------------
314 AC_ARG_ENABLE(plugin-glade,
315 [ --disable-plugin-glade Disable glade plugin support in Anjuta.],
316 [ if test "$enableval" = "no"; then
317 user_disabled_glade=1
319 [ user_disabled_glade=0 ] )
321 AC_MSG_CHECKING(if glade plugin is disabled)
322 if test "$user_disabled_glade" = 1; then
324 libgladeui_found="no"
327 AC_PATH_PROG(PKG_PATH, pkg-config, no)
329 PKG_CHECK_MODULES(PLUGIN_GLADE, gladeui-1.0,
331 libgladeui_found="yes"
332 gladeui_version=`$PKG_PATH --modversion gladeui-1.0 | sed -e 's,\.,,g'`
334 libgladeui_found="no"
336 if test x$libgladeui_found = xno; then
337 PKG_CHECK_MODULES(PLUGIN_GLADE, [libgladeui-1.0 >= $GLADEUI_REQUIRED],
339 libgladeui_found="yes"
340 gladeui_version=`$PKG_PATH --modversion libgladeui-1.0 | sed -e 's,\.,,g'`
342 libgladeui_found="no"
345 AC_DEFINE_UNQUOTED(GLADEUI_VERSION, [$gladeui_version], [GLADEUI version])
346 AC_SUBST(GLADEUI_VERSION)
347 AC_SUBST(PLUGIN_GLADE_CFLAGS)
348 AC_SUBST(PLUGIN_GLADE_LIBS)
351 AM_CONDITIONAL(HAVE_PLUGIN_GLADE, [test x$libgladeui_found = xyes])
353 dnl Check for graphviz (class inheritance and profiler plugins)
354 dnl --------------------------------------------------------------------------
355 dnl FIXME: For some strange reason graphviz-devel rpm install the *.pc files
356 dnl in /usr/lib/graphviz/pkgconfig, instead of usual /usr/lib/pkgconfig. This
357 dnl makes pkgconfig check fail if we don't add the above path in
358 dnl PKG_CONFIG_PATH. We have added both /usr/lib/graphviz/pkgconfig and
359 dnl /usr/local/lib/pkgconfig paths. If graphviz is installed in other prefix
360 dnl (other than /usr or /usr/local or the current installation prefix),
361 dnl following pkgconfig check will fail.
362 dnl --------------------------------------------------------------------------
363 AC_ARG_ENABLE(graphviz,
364 [ --disable-graphviz Disable GraphViz support in Anjuta],
365 [ if test "$enableval" = "no"; then
366 user_disabled_graphviz=1
368 [ user_disabled_graphviz=0 ])
370 AC_MSG_CHECKING(if GraphViz support is disabled)
371 if test "$user_disabled_graphviz" = 1; then
373 libgraphviz_found="no"
377 dnl Set pkgconfig path
378 ANJUTA_PKG_CONFIG_PATH_SAVE="${PKG_CONFIG_PATH}"
379 PKG_CONFIG_PATH="/usr/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
380 PKG_CONFIG_PATH="/usr/local/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
381 PKG_CONFIG_PATH="/usr/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
382 PKG_CONFIG_PATH="/usr/local/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
384 anjuta_save_prefix="$prefix"
385 test "x$prefix" = xNONE && prefix=$ac_default_prefix
386 graphviz_pkgconfig=`eval echo ${libdir}/graphviz/pkgconfig`
387 PKG_CONFIG_PATH="$graphviz_pkgconfig:$PKG_CONFIG_PATH"
388 prefix="$anjuta_save_prefix"
390 export PKG_CONFIG_PATH
391 PKG_CHECK_MODULES(GRAPHVIZ,
392 [libgvc >= $LIBGRAPHVIZ_REQUIRED libgraph >= $LIBGRAPHVIZ_REQUIRED],
393 [libgraphviz_found="yes"],
394 [libgraphviz_found="no"])
395 AC_SUBST(GRAPHVIZ_CFLAGS)
396 AC_SUBST(GRAPHVIZ_LIBS)
398 dnl Restore pkgconfig path
399 PKG_CONFIG_PATH="${ANJUTA_PKG_CONFIG_PATH_SAVE}"
400 export PKG_CONFIG_PATH
403 AM_CONDITIONAL(HAVE_GRAPHVIZ, [test x$libgraphviz_found = xyes])
405 dnl Define HAVE_GRAPHVIZ to disable Function Call Chart in the Profiler if
406 dnl Graphviz isn't on the system
407 if test "$libgraphviz_found" = yes; then
408 AC_DEFINE(HAVE_GRAPHVIZ, [], [Define if we have GraphViz >= 2.6.0])
411 dnl Build gtksourceview plugin only on gnome 2.14 and gtk 2.10
412 dnl -------------------------------------------------------------
414 AC_ARG_ENABLE(plugin-sourceview,
415 [ --disable-plugin-sourceview Disable gtksourceview based editor in Anjuta],
416 [ if test "$enableval" = "no"; then
417 user_disabled_sourceview=1
419 [ user_disabled_sourceview=0 ])
421 AC_MSG_CHECKING(if sourceview plugin is disabled)
422 if test "$user_disabled_sourceview" = 1; then
428 PKG_CHECK_MODULES(PLUGIN_SOURCEVIEW,
429 [libgnome-2.0 >= $GTKSOURCEVIEW_GNOME_REQUIRED,
430 gtk+-2.0 >= $GTKSOURCEVIEW_GTK_REQUIRED,
431 gtksourceview-2.0 >= $GTKSOURCEVIEW_REQUIRED],
434 AC_SUBST(PLUGIN_SOURCEVIEW_CFLAGS)
435 AC_SUBST(PLUGIN_SOURCEVIEW_LIBS)
438 AM_CONDITIONAL(HAVE_PLUGIN_SOURCEVIEW, [test x$sourceview = xyes])
441 dnl -------------------------------------------------------------
443 AC_ARG_ENABLE(plugin-scintilla,
444 [ --disable-plugin-scintilla Disable Scintilla based editor in Anjuta],
445 [ if test "$enableval" = "no"; then
446 user_disabled_scintilla=1
448 [ user_disabled_scintilla=0 ])
450 AC_MSG_CHECKING(if scintilla plugin is disabled)
451 if test "$user_disabled_scintilla" = 1; then
455 PKG_CHECK_MODULES(PLUGIN_SCINTILLA,
456 [libgnomeprint-2.2 >= $GNOME_PRINT_REQUIRED,
457 libgnomeprintui-2.2 >= $GNOME_PRINT_UI_REQUIRED],
460 AC_SUBST(PLUGIN_SCINTILLA_CFLAGS)
461 AC_SUBST(PLUGIN_SCINTILLA_LIBS)
463 AM_CONDITIONAL(HAVE_PLUGIN_SCINTILLA, [test x$scintilla = xyes])
465 dnl Build symbol-db only if we have gda
466 dnl -------------------------------------------------------------
467 user_disabled_symboldb=1
468 AC_ARG_ENABLE(plugin-symbol-db,
469 [ --enable-plugin-symbol-db Enable experimental symbol-db plugin],
470 [ if test "$enableval" = "yes"; then
471 user_disabled_symboldb=0
473 [ user_disabled_symboldb=1 ])
475 AC_MSG_CHECKING(if symbol-db plugin is disabled)
476 if test "$user_disabled_symboldb" = 1; then
482 PKG_CHECK_MODULES(PLUGIN_SYMBOL_DB,
483 [libgda-4.0 >= $GDA_REQUIRED],
486 AC_SUBST(PLUGIN_SYMBOL_DB_CFLAGS)
487 AC_SUBST(PLUGIN_SYMBOL_DB_LIBS)
490 AM_CONDITIONAL(HAVE_PLUGIN_SYMBOL_DB, [test x$symboldb = xyes])
494 dnl -------------------------------------------------------------
496 AC_ARG_ENABLE(plugin-valgrind,
497 [ --disable-plugin-valgrind Disable Valgrind plugin],
498 [ if test "$enableval" = "no"; then
499 user_disabled_valgrind=1
501 [ user_disabled_valgrind=0 ])
503 AC_MSG_CHECKING(if valgrind plugin is disabled)
504 if test "$user_disabled_valgrind" = 1; then
512 AC_CHECK_LIB(bfd, bfd_get_error, [PLUGIN_VALGRIND_LIBS="-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic"],
516 AC_SUBST(PLUGIN_VALGRIND_LIBS)
517 AM_CONDITIONAL(HAVE_PLUGIN_VALGRIND, [test x$valgrind = xyes])
522 dnl we need gconftool-2 in order to install the schema
523 AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
525 if test "x$GCONFTOOL" = "xno"; then
526 AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
534 dnl check for bfd_get_section_size_before_reloc() in libbfd
535 AC_MSG_CHECKING(for bfd_get_section_size_before_reloc)
541 bfd_get_section_size_before_reloc (section);
544 AC_DEFINE(HAVE_BFD_GET_SECTION_SIZE_BEFORE_RELOC, [], [Define if libbfd
545 contains the function bfd_get_section_size_before_reloc])
553 dnl Setup Anjuta Library flags
554 dnl --------------------------
555 LIBANJUTA_CFLAGS='$(GNOME_UI_CFLAGS) $(GLADE_CFLAGS) -I$(top_srcdir) -DPACKAGE_PIXMAPS_DIR=\""$(datadir)/pixmaps/$(PACKAGE)\"" -DPACKAGE_DATA_DIR=\""$(datadir)/$(PACKAGE)"\"'
556 LIBANJUTA_LIBS='$(top_builddir)/libanjuta/libanjuta.la'
557 AC_SUBST(LIBANJUTA_CFLAGS)
558 AC_SUBST(LIBANJUTA_LIBS)
560 dnl Setup Plugin directories
561 dnl ------------------------
562 anjuta_plugin_dir='$(libdir)/anjuta'
563 anjuta_data_dir='$(datadir)/anjuta'
564 anjuta_ui_dir='$(datadir)/anjuta/ui'
565 anjuta_glade_dir='$(datadir)/anjuta/glade'
566 anjuta_image_dir='$(datadir)/pixmaps/anjuta'
567 AC_SUBST(anjuta_plugin_dir)
568 AC_SUBST(anjuta_data_dir)
569 AC_SUBST(anjuta_ui_dir)
570 AC_SUBST(anjuta_glade_dir)
571 AC_SUBST(anjuta_image_dir)
573 dnl ***************************************************************************
574 dnl Check for old vte version
575 dnl ***************************************************************************
576 PKG_CHECK_MODULES(VTE, vte >= $VTE_NEW_REQUIRED, OLD_VTE=0, OLD_VTE=1)
578 AC_DEFINE_UNQUOTED(OLD_VTE, $OLD_VTE, [Old version of vte])
580 dnl ***************************************************************************
581 dnl Check for marshal and enum generators
582 dnl ***************************************************************************
583 GLIB_GENMARSHAL="`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`"
584 AC_SUBST(GLIB_GENMARSHAL)
585 GLIB_MKENUMS="`$PKG_CONFIG --variable=glib_mkenums glib-2.0`"
586 AC_SUBST(GLIB_MKENUMS)
588 dnl Set up Glade 3 catlog information
589 dnl ---------------------
590 GLADE_PLUGINS_PATH="`$PKG_CONFIG --variable=moduledir gladeui-1.0`"
591 AC_SUBST(GLADE_PLUGINS_PATH)
592 GLADE_CATALOG_PATH="`$PKG_CONFIG --variable=catalogdir gladeui-1.0`"
593 AC_SUBST(GLADE_CATALOG_PATH)
595 dnl ***************************************************************************
596 dnl Internatinalization
597 dnl ***************************************************************************
598 GETTEXT_PACKAGE=anjuta
599 AC_SUBST(GETTEXT_PACKAGE)
600 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
602 IT_PROG_INTLTOOL([0.35.0])
604 dnl ***************************************************************************
605 dnl Check for gtk-doc.
606 dnl ***************************************************************************
609 dnl ***************************************************************************
610 dnl Check for Gnome XML [Is this still required?]
611 dnl ***************************************************************************
614 dnl ***************************************************************************
615 dnl Check for ScrollKeeper [No documentation for now]
616 dnl ***************************************************************************
617 dnl AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
618 dnl if test x$SCROLLKEEPER_CONFIG = xno; then
619 dnl AC_MSG_ERROR(Couldn't find scrollkeeper-config, please install the scrollkeeper package. You can get it from http://scrollkeeper.sourceforge.net/)
621 dnl SCROLLKEEPER_REQUIRED=0.1.4
622 dnl AC_SUBST(SCROLLKEEPER_REQUIRED)
624 dnl ***************************************************************************
625 dnl Checking for scrollkeeper version [No documentation for now]
626 dnl ***************************************************************************
627 dnl AC_MSG_CHECKING(for scrollkeeper version number)
628 dnl if scrollkeeper-config --version > /dev/null 2>&1; then
629 dnl version=`scrollkeeper-config --version`; \
630 dnl vers=`echo $version | awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'`; \
631 dnl AC_MSG_RESULT(found $version)
632 dnl SCROLLKEEPER_VERSION_NUM=$vers
634 dnl AC_MSG_ERROR(Did not find scrollkeeper installed)
636 dnl AC_SUBST(SCROLLKEEPER_VERSION_NUM)
638 dnl ***************************************************************************
639 dnl Tagmanager checks.
640 dnl ***************************************************************************
642 dnl Define convenience macros
643 dnl -------------------------
644 dnl CHECK_HEADER_DEFINE(LABEL, HEADER [,ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ] ])
645 AC_DEFUN([CHECK_HEADER_DEFINE],
647 AC_MSG_CHECKING("if $1 is defined in $2")
661 dnl Checks for header files.
662 AC_CHECK_HEADERS(dirent.h fcntl.h fnmatch.h stat.h stdlib.h string.h stdint.h)
663 AC_CHECK_HEADERS(time.h types.h unistd.h)
664 AC_CHECK_HEADERS(sys/dir.h sys/stat.h sys/times.h sys/types.h)
666 dnl Checks for typedefs, structures, and compiler characteristics.
668 dnl Disable cygwin check until someone fixes that stupid autoconf warnings.
679 AC_MSG_CHECKING("for fpos_t")
680 AC_EGREP_HEADER(fpos_t, stdio.h, AC_MSG_RESULT(yes),
683 AC_DEFINE(fpos_t, long, [fpos_t is type long])
686 AC_MSG_CHECKING("for clock_t")
687 AC_EGREP_HEADER(clock_t, time.h, AC_MSG_RESULT(yes),
690 AC_DEFINE(clock_t, long, [clock_t is type long])
693 CHECK_HEADER_DEFINE(L_tmpnam, stdio.h,, AC_DEFINE(L_tmpnam, 20, [L_tmpname is 20]))
695 CHECK_HEADER_DEFINE(INT_MAX, limits.h,,
696 CHECK_HEADER_DEFINE(MAXINT, limits.h,
697 AC_DEFINE(INT_MAX, MAXINT, [Maximum int size]), AC_DEFINE(INT_MAX, 32767, [Maximum int size])))
699 AC_MSG_CHECKING(if struct stat contains st_ino)
700 AC_TRY_COMPILE([#include <sys/stat.h>], [
705 ], have_st_ino=yes, have_st_ino=no)
706 AC_MSG_RESULT($have_st_ino)
707 if test yes = "$have_st_ino"; then
708 AC_DEFINE(HAVE_STAT_ST_INO,,[Have stat st_ino])
712 dnl Check for function forkpty in libutil
713 AC_CHECK_LIB(util, forkpty)
715 dnl Checks for library functions.
716 AC_CHECK_FUNCS(fnmatch)
717 AC_CHECK_FUNCS(strstr)
718 AC_CHECK_FUNCS(stricmp)
719 AC_CHECK_FUNCS(strnicmp)
720 AC_CHECK_FUNCS(getline)
722 dnl for libegg/egg-recent-model.c
723 AC_CHECK_DECLS([lockf])
724 AC_CHECK_FUNCS([lockf])
726 AC_CHECK_FUNCS(fgetpos, have_fgetpos=yes)
728 dnl SEEK_SET should be in stdio.h, but may be in unistd.h on SunOS 4.1.x
729 if test "$have_fgetpos" != yes ; then
730 CHECK_HEADER_DEFINE(SEEK_SET, stdio.h,,
731 CHECK_HEADER_DEFINE(SEEK_SET, unistd.h,,
732 AC_DEFINE(SEEK_SET, 0, [Seek set 0])))
735 AC_CHECK_FUNCS(mkstemp, have_mkstemp=yes)
736 if test "$have_mkstemp" != yes ; then
737 AC_CHECK_FUNCS(chmod)
738 if test "$tmpdir_specified" = yes ; then
739 AC_MSG_RESULT(use of tmpnam overrides temporary directory selection)
742 AC_MSG_CHECKING(directory to use for temporary files)
743 if test -z "$enable_tmpdir" -o "$enable_tmpdir" = no -o "$enable_tmpdir" = yes ;
745 else tmpdir="$enable_tmpdir"
747 if test -d $tmpdir ; then
748 AC_MSG_RESULT($tmpdir)
749 AC_DEFINE_UNQUOTED(TMPDIR, "$tmpdir", [Directory for temporary files])
751 AC_MSG_WARN($tmpdir does not exist)
755 AC_CHECK_FUNCS(strerror opendir)
756 AC_CHECK_FUNCS(clock times, break)
757 AC_CHECK_FUNCS(remove, have_remove=yes,
758 CHECK_HEADER_DEFINE(remove, unistd.h,, AC_DEFINE(remove, unlink, [Remove is unlink])))
760 AC_CHECK_FUNCS(truncate, have_truncate=yes)
761 dnl === Cannot nest AC_CHECK_FUNCS() calls
762 if test "$have_truncate" != yes ; then
763 AC_CHECK_FUNCS(ftruncate, have_ftruncate=yes)
764 if test "$have_ftruncate" != yes ; then
765 AC_CHECK_FUNCS(chsize)
769 AC_CHECK_FUNCS(setenv, have_setenv=yes)
770 dnl === Cannot nest AC_CHECK_FUNCS() calls
771 if test "$have_setenv" != yes ; then
772 AC_CHECK_FUNCS(putenv, have_putenv=yes)
773 if test "$have_putenv" = yes ; then
774 AC_EGREP_HEADER(putenv, stdlib.h, have_putenv_prototype=yes)
775 if test "$have_putenv_prototype" = yes ; then
776 AC_MSG_CHECKING("putenv prototype")
777 AC_EGREP_HEADER([[^A-Za-zo-9_]putenv[ ]*\(.*const.*\)[ ]*;],
778 stdlib.h, AC_MSG_RESULT(correct),
780 AC_MSG_RESULT(no const)
781 AC_DEFINE(NON_CONST_PUTENV_PROTOTYPE,,[putenv has non constant prototype])
788 dnl if test yes = "$CYGWIN"; then with_posix_regex=no; fi
789 if test no != "$with_posix_regex"; then
790 AC_CHECK_FUNCS(regcomp)
791 AC_MSG_CHECKING(if regcomp works)
793 #include <sys/types.h>
797 exit (regcomp (&patbuf, "/hello/", 0) != 0);
798 }],regcomp_works=yes,regcomp_works=no,AC_DEFINE(CHECK_REGCOMP,,[Check regcomp]))
799 AC_MSG_RESULT($regcomp_works)
800 if test yes != "$regcomp_works"; then
801 AC_DEFINE(REGCOMP_BROKEN,,[Regcomp is broken])
805 dnl -----------------------------
806 dnl Checks for FreeBSD Build
807 dnl -----------------------------
808 AC_MSG_CHECKING(if building on FreeBSD)
810 if test `uname -s` = "FreeBSD" ; then
812 FREEBSD_BUILD=-DFREEBSD
813 AC_SUBST(FREEBSD_BUILD)
814 AC_PATH_PROG(GMAKE, gmake, no)
815 if test "x$GMAKE" = "xno"; then
816 AC_ERROR(You need gmake installed to build Anjuta!)
825 dnl Checks for missing prototypes
826 dnl -----------------------------
827 AC_CHECKING("for missing prototypes")
829 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))])
831 if test "$have_remove" = yes ; then
832 CHECK_PROTO(remove, stdio.h)
834 CHECK_PROTO(unlink, unistd.h)
836 CHECK_PROTO(malloc, stdlib.h)
837 CHECK_PROTO(getenv, stdlib.h)
838 CHECK_PROTO(stat, sys/stat.h)
839 CHECK_PROTO(lstat, sys/stat.h)
840 if test "$have_fgetpos" = yes ; then
841 CHECK_PROTO(fgetpos, stdio.h)
843 if test "$have_truncate" = yes ; then
844 CHECK_PROTO(truncate, unistd.h)
846 if test "$have_ftruncate" = yes ; then
847 CHECK_PROTO(ftruncate, unistd.h)
850 dnl **********************************************************
851 dnl check if we have svn libraries to build subversion plugin
852 dnl (stolen from kdevelop ;-)
853 dnl **********************************************************
855 AC_MSG_CHECKING(for Subversion svn-config)
856 AC_ARG_WITH(subversion-dir,
857 [ --with-subversion-dir=DIR where Subversion is installed ],
859 SVNCONFIG="$withval/bin/svn-config"
862 if test -z "$SVNCONFIG"; then
863 _SVNCONFIG="`svn-config --prefix 2> /dev/null`"
864 if test -n "$_SVNCONFIG"; then
865 SVNCONFIG="$_SVNCONFIG/bin/svn-config"
870 if test -x "$SVNCONFIG"; then
871 SVNLD="`$SVNCONFIG --ldflags 2> /dev/null`"
872 SVN_LIB="`$SVNCONFIG --libs --cflags 2> /dev/null` -lsvn_client-1 -lsvn_subr-1"
873 dnl ugly hack for subversion svn-config problems in 0.14.x, to be removed when svn-config is fixed
874 SVN_INCLUDE="`$SVNCONFIG --includes 2> /dev/null` -I$_SVNCONFIG/include/subversion-1/"
877 AC_MSG_RESULT(not found)
879 dnl just a fallback to debian's config so that it works for me :)
880 AC_ARG_WITH(svn-include,
881 [[ --with-svn-include=DIR Use the given path to the subversion headers.]],
883 if test "$withval" != "yes" -a "$withval" != ""; then
884 SVN_INCLUDES=$withval
887 if test -z "$SVN_INCLUDES"; then
888 SVN_INCLUDES="/usr/local/include /usr/include"
890 AC_MSG_CHECKING([for Subversion headers])
892 for VALUE in $SVN_INCLUDES ; do
893 if test -f $VALUE/subversion-1/svn_types.h ; then
894 SVN_INCLUDE=$VALUE/subversion-1
897 if test -f $VALUE/svn_types.h ; then
902 if test $SVN_INCLUDE ; then
903 AC_MSG_RESULT([found])
905 AC_MSG_RESULT([not found])
907 SVN_LIBS="/usr/local/lib /usr/lib"
909 [[ --with-svn-lib=DIR Use the given path to the subversion libraries.]],
911 if test "$withval" != "yes" -a "$withval" != ""; then
915 AC_MSG_CHECKING([for Subversion libraries])
917 for VALUE in $SVN_LIBS ; do
918 if ls $VALUE/libsvn_client-1.* 1>/dev/null 2>&1; then
923 if test $SVN_LIB ; then
924 AC_MSG_RESULT([found])
926 AC_MSG_RESULT([not found])
930 dnl ******************************************************************
931 dnl Check for extra libs required by subversion.
932 dnl FIXME: This should actually be done by subversion and not by us.
933 dnl ******************************************************************
935 AC_ARG_ENABLE(plugin-subversion,
936 [ --disable-plugin-subversion Disable subversion support in Anjuta.],
937 [ if test "$enableval" = "no"; then
938 user_disabled_subversion=1
940 [ user_disabled_subversion=0 ] )
942 AC_MSG_CHECKING(if subversion support is disabled)
943 if test "$user_disabled_subversion" = 1; then
951 if test -n "$SVN_INCLUDE" ; then
952 dnl ------------------------------------
953 dnl APR. Required by subversion (devel)
954 dnl ------------------------------------
956 APR_CONFIGS="apr-config /usr/local/apr/bin/apr-config/ apr-1-config "
957 AC_ARG_WITH(apr-config,
958 [[ --with-apr-config=FILE Use the given path to apr-config when determining
959 APR configuration; defaults to "apr-config"]],
961 if test "$withval" != "yes" -a "$withval" != ""; then
965 AC_MSG_CHECKING([for APR])
967 for VALUE in $APR_CONFIGS ; do
968 if $VALUE --cflags > /dev/null 2>&1 ; then
973 test $VALUE && APR_CONFIG=$VALUE
974 if test $APR_CONFIG ; then
975 AC_MSG_RESULT([found])
976 APR_CFLAGS="`$APR_CONFIG --cflags` `$APR_CONFIG --cppflags`"
977 APR_INCLUDE="`$APR_CONFIG --includes`"
978 APR_LIBS="`$APR_CONFIG --link-ld --libs`"
980 AC_MSG_RESULT([not found])
981 dnl AC_MSG_ERROR([APR is required. Try --with-apr-config.])
984 dnl -----------------------------------------
985 dnl APR util. Required by subversion (devel)
986 dnl------------------------------------------
988 APU_CONFIGS="apu-config /usr/local/apr/bin/apu-config apu-1-config"
989 AC_ARG_WITH(apu-config,
990 [[ --with-apu-config=FILE Use the given path to apu-config when determining
991 APR util configuration; defaults to "apu-config"]],
993 if test "$withval" != "yes" -a "$withval" != ""; then
997 AC_MSG_CHECKING([for APR util])
999 for VALUE in $APU_CONFIGS ; do
1000 if $VALUE --includes > /dev/null 2>&1 ; then
1005 if test $APU_CONFIG ; then
1006 AC_MSG_RESULT([found])
1007 APR_INCLUDE="$APR_INCLUDE `$APU_CONFIG --includes`"
1008 APR_LIBS="$APR_LIBS `$APU_CONFIG --link-ld --libs`"
1010 AC_MSG_RESULT([not found])
1013 dnl -----------------------------------------
1014 dnl NEON. Required by subversion (devel)
1015 dnl------------------------------------------
1017 dnl Check for neon. It is required by subversion libs, but for
1018 dnl for some strange reason it's not in it's dependencies.
1019 dnl subversion plugin will be disabled if neon (devel) is not
1020 dnl installed, even if subversion (devel) is installed.
1022 NEON_CONFIGS="neon-config"
1023 AC_ARG_WITH(neon-config,
1024 [[ --with-neon-config=FILE Use the given path to neon-config when determining
1025 Neon configuration; defaults to "neon-config"]],
1027 if test "$withval" != "yes" -a "$withval" != ""; then
1028 NEON_CONFIGS=$withval
1031 AC_MSG_CHECKING([for Neon])
1033 for VALUE in $NEON_CONFIGS ; do
1034 if $VALUE --cflags > /dev/null 2>&1 ; then
1039 if test $NEON_CONFIG ; then
1040 AC_MSG_RESULT([found])
1042 AC_MSG_RESULT([not found])
1048 dnl ------------------------------------------
1049 dnl Finally prepare subversion build flags
1050 dnl ------------------------------------------
1052 if test -n "$SVN_INCLUDE" ; then
1053 SVN_INCLUDE="-I$SVN_INCLUDE $APR_INCLUDE"
1054 if test x != "x$SVN_LIB" ; then
1055 SVN_LIB="-L$SVN_LIB $APR_LIBS -lsvn_client-1 -lsvn_subr-1"
1057 SVN_LIB="$APR_LIBS -lsvn_client-1 -lsvn_subr-1"
1059 SVN_CFLAGS="$APR_CFLAGS"
1062 AM_CONDITIONAL(BUILD_SVN, [test -n "$SVN_INCLUDE"])
1063 AC_SUBST(SVN_INCLUDE)
1065 AC_SUBST(SVN_CFLAGS)
1067 dnl --------- help outputs -----------
1068 dnl manuals/C/Makefile
1069 dnl manuals/C/anjuta-tutorial/Makefile
1070 dnl manuals/C/anjuta-advanced-tutorial/Makefile
1071 dnl manuals/C/anjuta-faqs/Makefile
1072 dnl manuals/C/anjuta-manual/Makefile
1073 dnl manuals/de/Makefile
1074 dnl manuals/de/anjuta-tutorial/Makefile
1075 dnl manuals/ja/Makefile
1076 dnl manuals/ja/anjuta-faqs/Makefile
1077 dnl manuals/ja/anjuta-manual/Makefile
1083 tagmanager/include/Makefile
1084 global-tags/Makefile
1086 libanjuta/libanjuta-1.0.pc
1087 libanjuta/interfaces/Makefile
1093 doc/anjuta_launcher.1
1096 scripts/anjuta_import.sh
1099 plugins/sample1/Makefile
1100 plugins/gtodo/Makefile
1101 plugins/class-gen/Makefile
1102 plugins/class-gen/templates/Makefile
1103 plugins/patch/Makefile
1104 plugins/editor/Makefile
1105 plugins/editor/scintilla/Makefile
1106 plugins/editor/scintilla/include/Makefile
1107 plugins/editor/properties/Makefile
1108 plugins/document-manager/Makefile
1109 plugins/document-manager/images/Makefile
1110 plugins/search/Makefile
1111 plugins/message-view/Makefile
1112 plugins/gdb/Makefile
1113 plugins/gdb/images/Makefile
1114 plugins/debug-manager/Makefile
1115 plugins/debug-manager/images/Makefile
1116 plugins/devhelp/Makefile
1117 plugins/glade/Makefile
1118 plugins/file-manager/Makefile
1119 plugins/file-loader/Makefile
1120 plugins/file-wizard/Makefile
1121 plugins/terminal/Makefile
1122 plugins/build-basic-autotools/Makefile
1123 plugins/profiler/Makefile
1124 plugins/project-manager/Makefile
1125 plugins/symbol-browser/Makefile
1126 plugins/symbol-browser/images/Makefile
1127 plugins/symbol-db/Makefile
1128 plugins/symbol-db/test/Makefile
1129 plugins/cvs-plugin/Makefile
1130 plugins/project-wizard/Makefile
1131 plugins/macro/Makefile
1132 plugins/subversion/Makefile
1133 plugins/git/Makefile
1134 plugins/sourceview/Makefile
1135 plugins/tools/Makefile
1136 plugins/tools/scripts/Makefile
1137 plugins/class-inheritance/Makefile
1138 plugins/valgrind/Makefile
1139 plugins/language-manager/Makefile
1140 plugins/project-import/Makefile
1141 plugins/project-wizard/templates/Makefile
1142 plugins/project-wizard/templates/mkfile/Makefile
1143 plugins/project-wizard/templates/mkfile/src/Makefile
1144 plugins/project-wizard/templates/mkfile/po/Makefile
1145 plugins/project-wizard/templates/minimal/Makefile
1146 plugins/project-wizard/templates/terminal/Makefile
1147 plugins/project-wizard/templates/terminal/src/Makefile
1148 plugins/project-wizard/templates/terminal/po/Makefile
1149 plugins/project-wizard/templates/cpp/Makefile
1150 plugins/project-wizard/templates/cpp/src/Makefile
1151 plugins/project-wizard/templates/cpp/po/Makefile
1152 plugins/project-wizard/templates/gtk/Makefile
1153 plugins/project-wizard/templates/gtk/src/Makefile
1154 plugins/project-wizard/templates/gtk/po/Makefile
1155 plugins/project-wizard/templates/anjuta-plugin/Makefile
1156 plugins/project-wizard/templates/anjuta-plugin/src/Makefile
1157 plugins/project-wizard/templates/anjuta-plugin/po/Makefile
1158 plugins/project-wizard/templates/gnome/Makefile
1159 plugins/project-wizard/templates/gnome/src/Makefile
1160 plugins/project-wizard/templates/gnome/po/Makefile
1161 plugins/project-wizard/templates/gtkmm/Makefile
1162 plugins/project-wizard/templates/gtkmm/src/Makefile
1163 plugins/project-wizard/templates/gtkmm/po/Makefile
1164 plugins/project-wizard/templates/gcj/Makefile
1165 plugins/project-wizard/templates/gcj/src/Makefile
1166 plugins/project-wizard/templates/java/Makefile
1167 plugins/project-wizard/templates/java/src/Makefile
1168 plugins/project-wizard/templates/java/po/Makefile
1169 plugins/project-wizard/templates/python/Makefile
1170 plugins/project-wizard/templates/python/src/Makefile
1171 plugins/project-wizard/templates/python/po/Makefile
1172 plugins/project-wizard/templates/wxwin/Makefile
1173 plugins/project-wizard/templates/wxwin/src/Makefile
1174 plugins/project-wizard/templates/wxwin/po/Makefile
1175 plugins/project-wizard/templates/xlib/Makefile
1176 plugins/project-wizard/templates/xlib/src/Makefile
1177 plugins/project-wizard/templates/xlib/po/Makefile
1178 plugins/project-wizard/templates/xlib-dock/Makefile
1179 plugins/project-wizard/templates/xlib-dock/src/Makefile
1180 plugins/project-wizard/templates/xlib-dock/po/Makefile
1181 plugins/project-wizard/templates/sdl/Makefile
1182 plugins/project-wizard/templates/sdl/src/Makefile
1183 plugins/project-wizard/templates/sdl/po/Makefile
1184 plugins/language-support-cpp-java/Makefile
1185 plugins/run-program/Makefile
1188 manuals/reference/Makefile
1189 manuals/reference/libanjuta/Makefile
1190 manuals/reference/libanjuta/version.xml
1191 manuals/anjuta-manual/Makefile
1192 manuals/anjuta-faqs/Makefile
1196 echo "-------------------------------------------------------------------"
1197 echo "Conditionally built plugins:"
1198 echo "-------------------------------------------------------------------"
1199 if [ test -n "$SVN_INCLUDE" ]; then
1200 echo "Building subversion plugin: ............................YES"
1202 echo "Building subversion plugin: ............................NO"
1203 echo " Requires apr (>= 0.9.4); http://subversion.org"
1204 echo " Requires apr-util (>= 0.9.4); http://subversion.org"
1205 echo " Requires neon (>= 0.24.5); http://subversion.org"
1206 echo " Requires subversion (>= 1.0.2); http://subversion.org"
1209 if [ test x$libgladeui_found = xyes ]; then
1210 echo "Building glade plugin: .................................YES"
1212 echo "Building glade plugin: .................................NO"
1213 echo " Requires glade-3 (>= 3.0.2)"
1216 if [ test x$devhelp_enabled = xyes ]; then
1217 echo "Building devhelp plugin: ...............................YES"
1219 echo "Building devhelp plugin: ...............................NO"
1220 echo " Requires devhelp"
1223 if [ test x$libgraphviz_found = xyes ]; then
1224 echo "Building class inheritance plugin: .....................YES"
1225 echo "Building performance profiler with function call chart: YES"
1227 echo "Building class inheritance plugin: .....................NO"
1228 echo " Requires graphviz (>= 2.6.0); http://graphviz.org"
1229 echo "Building performance profiler with function call chart: NO"
1230 echo " Requires graphviz (>= 2.6.0); http://graphviz.org"
1233 if [ test x$valgrind = xyes ]; then
1234 echo "Building Valgrind debugger plugin: .....................YES"
1236 echo "Building Valgrind debugger plugin: .....................NO"
1237 echo " Requires binutils-dev"
1240 if [ test x$sourceview = xyes ]; then
1241 echo "Building GtkSourceView based editor: ...................YES"
1243 echo "Building GtkSourceView based editor: ...................NO"
1246 if [ test x$scintilla = xyes ]; then
1247 echo "Building Scintilla based editor: .......................YES"
1249 echo "Building Scintilla based editor: .......................NO"
1250 echo " Requires libgnomeprintui2.2-dev"
1253 if [ test x$symboldb = xyes ]; then
1254 echo "Building new (unstable) Symbol-db plugin: ..............YES"
1256 echo "Building new (unstable) Symbol-db plugin: .......,,.....NO"
1258 echo "-------------------------------------------------------------------"
1259 echo "AM_CFLAGS = $AM_CFLAGS"
1260 echo "AM_CXXFLAGS = $AM_CXXFLAGS"