* plugins/editor/text_editor.c:
[anjuta-git-plugin.git] / configure.in
blob3b6adff75af286d076775f80fefabdacd23b120f
1 dnl Process this file with autoconf to produce a configure script.
3 AC_PREREQ(2.59)
5 m4_define(anjuta_major_version,  2)
6 m4_define(anjuta_minor_version, 1)
7 m4_define(anjuta_micro_version,  3)
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)
22 GLIB_REQUIRED=2.8.0
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
27 GTK_REQUIRED=2.8.0
28 ORBIT_REQUIRED=2.6.0
29 LIBGLADE_REQUIRED=2.3.0
30 GNOME_REQUIRED=2.12.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
36 GCONF_REQUIRED=2.12.0
37 VTE_REQUIRED=0.9.0
38 VTE_NEW_REQUIRED=0.13.1
39 LIBXML_REQUIRED=2.4.23
40 PANGO_REQUIRED=1.1.1
41 PCRE_REQUIRED=3.9
42 LIBDEVHELP_REQUIRED=0.13
43 GDL_REQUIRED=0.7.3
44 GNOMEBUILD_REQUIRED=0.1.4
45 GLADEUI_REQUIRED=3.0.2
46 LIBGRAPHVIZ_REQUIRED=1.0
47 NEON_REQUIRED=0.24.5
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
53 LIBWNCK_REQUIRED=2.12
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(PCRE_REQUIRED)
76 AC_SUBST(LIBDEVHELP_REQUIRED)
77 AC_SUBST(GDL_REQUIRED)
78 AC_SUBST(GNOMEBUILD_REQUIRED)
79 AC_SUBST(GLADEUI_REQUIRED)
80 AC_SUBST(GLADEUI_SVN_REQUIRED)
81 AC_SUBST(LIBGRAPHVIZ_REQUIRED)
82 AC_SUBST(NEON_REQUIRED)
83 AC_SUBST(SUBVERSION_REQUIRED)
84 AC_SUBST(GTKSOURCEVIEW_REQUIRED)
85 AC_SUBST(GTKSOURCEVIEW_GNOME_REQUIRED)
86 AC_SUBST(GTKSOURCEVIEW_GTK_REQUIRED)
87 AC_SUBST(BINUTILS_REQUIRED)
88 AC_SUBST(LIBWNCK_REQUIRED)
90 dnl AC_SUBST(LIBGTODO_REQUIRED)
92 AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
93 AC_CONFIG_HEADERS(config.h)
94 AC_DISABLE_STATIC
95 AM_MAINTAINER_MODE
96 GNOME_DOC_INIT
98 CFLAGS_WARNINGS="-Wall -Wmissing-prototypes -Wmissing-declarations -Wparentheses -Wpointer-arith"
99 WCXXFLAGS_WARNINGS="-Wall -Wparentheses -Wpointer-arith"
101 if test "x$GCC" = x; then
102     CFLAGS_WARNINGS=""
103     CXXFLAGS_WARNINGS=""
106 AM_CFLAGS="$AM_CFLAGS $CFLAGS_WARNINGS"
107 AM_CXXFLAGS="$AM_CXXFLAGS $CXXFLAGS_WARNINGS"
109 dnl Enable debugging mode
110 AC_ARG_ENABLE(debug,
111   [  --enable-debug           Enable debug messages],
112   AM_CFLAGS="$AM_CFLAGS -DDEBUG"
113   AM_CXXFLAGS="$AM_CXXFLAGS -DDEBUG")
114 AC_SUBST(AM_CFLAGS)
115 AC_SUBST(AM_CXXFLAGS)
117 ANJUTA_LDFLAGS="-no-undefined"
118 ANJUTA_PLUGIN_LDFLAGS="-module -avoid-version -no-undefined"
119 AC_SUBST(ANJUTA_LDFLAG)
120 AC_SUBST(ANJUTA_PLUGIN_LDFLAGS)
122 dnl Disable deprecated APIs
123 AC_ARG_ENABLE(deprecated,
124   [  --disable-deprecated     Disable deprecated APIs],
125   [ if test "$enableval" = "no"; then
126     DEPRECATED_FLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED"
127   fi ],
128  [ DEPRECATED_FLAGS="" ])
129 AC_SUBST(DEPRECATED_FLAGS)
131 dnl Enable versioned user preferences directory
132 AC_ARG_WITH(pref-suffix,
133   [  --with-pref-suffix=VALUE Suffix to add to user preferences dir.],
134   PREF_SUFFIX="$withval")
136 AC_SUBST(PREF_SUFFIX)
137 AC_DEFINE_UNQUOTED(PREF_SUFFIX,
138       "${PREF_SUFFIX}",
139           [Suffix to add to preferences directory])
141 #Check for C Compiler
142 AC_PROG_CC
143 AC_PROG_CPP
144 AC_LANG_C
146 #Check for C++ Compiler
147 AC_PROG_CXX
148 AC_LANG_CPLUSPLUS
150 AC_ISC_POSIX
151 AC_HEADER_STDC
152 AM_DISABLE_STATIC
153 AM_PROG_LIBTOOL
155 AC_TYPE_SIGNAL
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)
170 AC_SUBST(GLIB_LIBS)
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)
185 AC_SUBST(GTK_CFLAGS)
186 AC_SUBST(GTK_LIBS)
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)
194 AC_SUBST(ORBIT_LIBS)
196 PKG_CHECK_MODULES(GLADE, libglade-2.0 >= $LIBGLADE_REQUIRED)
197 AC_SUBST(GLADE_CFLAGS)
198 AC_SUBST(GLADE_LIBS)
200 PKG_CHECK_MODULES(GNOME, libgnome-2.0 >= $GNOME_REQUIRED)
201 AC_SUBST(GNOME_CFLAGS)
202 AC_SUBST(GNOME_LIBS)
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_PRINT, libgnomeprint-2.2 >= $GNOME_PRINT_REQUIRED)
213 AC_SUBST(GNOME_PRINT_CFLAGS)
214 AC_SUBST(GNOME_PRINT_LIBS)
216 PKG_CHECK_MODULES(GNOME_PRINT_UI, libgnomeprintui-2.2 >= $GNOME_PRINT_UI_REQUIRED)
217 AC_SUBST(GNOME_PRINT_UI_CFLAGS)
218 AC_SUBST(GNOME_PRINT_UI_LIBS)
220 PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED)
221 AC_SUBST(GNOME_VFS_CFLAGS)
222 AC_SUBST(GNOME_VFS_LIBS)
224 PKG_CHECK_MODULES(GNOME_VFS_MODULE, gnome-vfs-module-2.0 >= $GNOME_VFS_REQUIRED)
225 AC_SUBST(GNOME_VFS_MODULE_CFLAGS)
226 AC_SUBST(GNOME_VFS_MODULE_LIBS)
228 PKG_CHECK_MODULES(GCONF, gconf-2.0 >= $GCONF_REQUIRED)
229 AC_SUBST(GCONF_CFLAGS)
230 AC_SUBST(GCONF_LIBS)
232 PKG_CHECK_MODULES(VTE, vte >= $VTE_REQUIRED)
233 AC_SUBST(VTE_CFLAGS)
234 AC_SUBST(VTE_LIBS)
236 PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= $LIBXML_REQUIRED)
237 AC_SUBST(LIBXML_CFLAGS)
238 AC_SUBST(LIBXML_LIBS)
240 PKG_CHECK_MODULES(PANGO, pango >= $PANGO_REQUIRED)
241 AC_SUBST(PANGO_CFLAGS)
242 AC_SUBST(PANGO_LIBS)
244 PKG_CHECK_MODULES(GDL, gdl-1.0 >= $GDL_REQUIRED gdl-gnome-1.0 >= $GDL_REQUIRED)
245 AC_SUBST(GDL_CFLAGS)
246 AC_SUBST(GDL_LIBS)
248 PKG_CHECK_MODULES(LIBXSLT, libxslt)
249 AC_SUBST(LIBXSLT_CFLAGS)
250 AC_SUBST(LIBXSLT_LIBS)
252 dnl Check for autogen
253 dnl -----------------
254 AC_PATH_PROG(AUTOGEN_PATH, autogen,no)
255 if test x$AUTOGEN_PATH = xno; then
256    AC_MSG_ERROR([Couldn't find autogen, please install the autogen package. You can get it from http://autogen.sourceforge.net/])
259 dnl Check for Devhelp
260 dnl -----------------
262 AC_ARG_ENABLE(plugin-devhelp,
263   [  --disable-plugin-devhelp        Disable devhelp plugin support in Anjuta.],
264   [ if test "$enableval" = "no"; then
265        user_disabled_devhelp=1
266     fi ],
267   [ user_disabled_devhelp=0 ] )
269 AC_MSG_CHECKING(if devhelp plugin is disabled)
270 if test "$user_disabled_devhelp" = 1; then
271         AC_MSG_RESULT(yes)
272         devhelp_enabled="no"
273 else
274         AC_MSG_RESULT(no)
275         devhelp_old=yes
276         PKG_CHECK_MODULES(PLUGIN_DEVHELP, 
277                                 [libdevhelp-1.0 >= $LIBDEVHELP_REQUIRED],
278                                          [
279                                             devhelp_old=no
280                                                 devhelp_enabled=yes
281                                          ], [
282                                                    AC_MSG_RESULT([version >= 0.11 not found])
283                                                    devhelp_old=yes
284                                                    devhelp_enabled=no
285                                          ])
286         if test x$devhelp_old = xyes; then
287           PKG_CHECK_MODULES(PLUGIN_DEVHELP, [libdevhelp-1.0 >= 0.9], [devhelp_enabled=yes], [devhelp_enabled=no])
288                 if test x$devhelp_enabled = xyes; then
289               AC_DEFINE(HAVE_OLD_DEVHELP, 1, [If old devhelp (>= 0.9 < 0.11) is installed])
290                 fi
291         fi
292         AC_SUBST(PLUGIN_DEVHELP_CFLAGS)
293         AC_SUBST(PLUGIN_DEVHELP_LIBS)
296 if test x$devhelp_enabled = xyes; then
297         GECKO_HOME=`$PKGCONFIG_CONFIG --variable=gecko_home libdevhelp-1.0`
298         if test x$GECKO_HOME != x; then
299                 ANJUTA_LDFLAGS="$ANJUTA_LDFLAGS -R$GECKO_HOME"
300         fi
302 AC_SUBST(ANJUTA_LDFLAGS)
304 AM_CONDITIONAL(HAVE_PLUGIN_DEVHELP, [test x$devhelp_enabled = xyes])
306 dnl Check for GTodo
307 dnl -----------------
308 dnl PKG_CHECK_MODULES(PLUGIN_GTODO, libgtodo-1.0 >= $LIBGTODO_REQUIRED)
309 dnl AC_SUBST(PLUGIN_GTODO_CFLAGS)
310 dnl AC_SUBST(PLUGIN_GTODO_LIBS)
312 dnl Check for Gnome Build
313 dnl ---------------------
315 PKG_CHECK_MODULES(PLUGIN_GNOMEBUILD, gnome-build-1.0 >= $GNOMEBUILD_REQUIRED)
316 AC_SUBST(PLUGIN_GNOMEBUILD_CFLAGS)
317 AC_SUBST(PLUGIN_GNOMEBUILD_LIBS)
319 dnl Check for Glade3
320 dnl ---------------------
322 AC_ARG_ENABLE(plugin-glade,
323   [  --disable-plugin-glade        Disable glade plugin support in Anjuta.],
324   [ if test "$enableval" = "no"; then
325        user_disabled_glade=1
326     fi ],
327   [ user_disabled_glade=0 ] )
329 AC_MSG_CHECKING(if glade plugin is disabled)
330 if test "$user_disabled_glade" = 1; then
331         AC_MSG_RESULT(yes)
332         libgladeui_found="no"
333 else
334         AC_MSG_RESULT(no)
335         AC_PATH_PROG(PKG_PATH, pkg-config, no)
336         gladeui_version=0
337         PKG_CHECK_MODULES(PLUGIN_GLADE, gladeui-1.0,
338             [
339                 libgladeui_found="yes"
340                 gladeui_version=`$PKG_PATH --modversion gladeui-1.0 | sed -e 's,\.,,g'`
341             ], [
342                 libgladeui_found="no"
343             ])
344         if test x$libgladeui_found = xno; then
345             PKG_CHECK_MODULES(PLUGIN_GLADE, [libgladeui-1.0 >= $GLADEUI_REQUIRED],
346                 [
347                         libgladeui_found="yes"
348                         gladeui_version=`$PKG_PATH --modversion libgladeui-1.0 | sed -e 's,\.,,g'`
349                 ], [
350                         libgladeui_found="no"
351                 ])
352         fi
353         AC_DEFINE_UNQUOTED(GLADEUI_VERSION, [$gladeui_version], [GLADEUI version])
354         AC_SUBST(GLADEUI_VERSION)
355         AC_SUBST(PLUGIN_GLADE_CFLAGS)
356         AC_SUBST(PLUGIN_GLADE_LIBS)
359 AM_CONDITIONAL(HAVE_PLUGIN_GLADE, [test x$libgladeui_found = xyes])
361 dnl Check for graphviz (class inheritance and profiler plugins)
362 dnl --------------------------------------------------------------------------
363 dnl FIXME: For some strange reason graphviz-devel rpm install the *.pc files
364 dnl in /usr/lib/graphviz/pkgconfig, instead of usual /usr/lib/pkgconfig. This
365 dnl makes pkgconfig check fail if we don't add the above path in
366 dnl PKG_CONFIG_PATH. We have added both /usr/lib/graphviz/pkgconfig and
367 dnl /usr/local/lib/pkgconfig paths. If graphviz is installed in other prefix
368 dnl (other than /usr or /usr/local or the current installation prefix),
369 dnl following pkgconfig check will fail.
370 dnl --------------------------------------------------------------------------
371 AC_ARG_ENABLE(graphviz,
372         [ --disable-graphviz            Disable GraphViz support in Anjuta], 
373         [ if test "$enableval" = "no"; then
374                 user_disabled_graphviz=1
375           fi ],
376         [ user_disabled_graphviz=0 ])
378 AC_MSG_CHECKING(if GraphViz support is disabled)
379 if test "$user_disabled_graphviz" = 1; then
380         AC_MSG_RESULT(yes)
381         libgraphviz_found="no"
382 else
383         AC_MSG_RESULT(no)
384         
385         dnl Set pkgconfig path
386         ANJUTA_PKG_CONFIG_PATH_SAVE="${PKG_CONFIG_PATH}"
387         PKG_CONFIG_PATH="/usr/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
388         PKG_CONFIG_PATH="/usr/local/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
389         PKG_CONFIG_PATH="/usr/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
390         PKG_CONFIG_PATH="/usr/local/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
391         
392         anjuta_save_prefix="$prefix"
393         test "x$prefix" = xNONE && prefix=$ac_default_prefix
394         graphviz_pkgconfig=`eval echo ${libdir}/graphviz/pkgconfig`
395         PKG_CONFIG_PATH="$graphviz_pkgconfig:$PKG_CONFIG_PATH"
396         prefix="$anjuta_save_prefix"
398         export PKG_CONFIG_PATH
399         PKG_CHECK_MODULES(GRAPHVIZ,
400                 [libgvc >= $LIBGRAPHVIZ_REQUIRED libgraph >= $LIBGRAPHVIZ_REQUIRED], 
401                 [libgraphviz_found="yes"],
402                 [libgraphviz_found="no"])
403         AC_SUBST(GRAPHVIZ_CFLAGS)
404         AC_SUBST(GRAPHVIZ_LIBS)
405         
406         dnl Restore pkgconfig path
407         PKG_CONFIG_PATH="${ANJUTA_PKG_CONFIG_PATH_SAVE}"
408         export PKG_CONFIG_PATH
411 AM_CONDITIONAL(HAVE_GRAPHVIZ, [test x$libgraphviz_found = xyes])
413 dnl Define HAVE_GRAPHVIZ to disable Function Call Chart in the Profiler if 
414 dnl Graphviz isn't on the system
415 if test "$libgraphviz_found" = yes; then
416         AC_DEFINE(HAVE_GRAPHVIZ, [], [Define if we have GraphViz >= 2.6.0])
419 dnl Build gtksourceview plugin only on gnome 2.14 and gtk 2.10
420 dnl -------------------------------------------------------------
422 AC_ARG_ENABLE(plugin-sourceview,
423         [ --disable-plugin-sourceview   Disable gtksourceview based editor in Anjuta], 
424         [ if test "$enableval" = "no"; then
425                 user_disabled_sourceview=1
426           fi ],
427         [ user_disabled_sourceview=0 ])
429 AC_MSG_CHECKING(if sourceview plugin is disabled)
430 if test "$user_disabled_sourceview" = 1; then
431         AC_MSG_RESULT(yes)
432         sourceview="no"
433 else
434         AC_MSG_RESULT(no)
435         
436         PKG_CHECK_MODULES(PLUGIN_SOURCEVIEW,
437                 [libgnome-2.0 >= $GTKSOURCEVIEW_GNOME_REQUIRED,
438                 gtk+-2.0 >= $GTKSOURCEVIEW_GTK_REQUIRED,
439                 gtksourceview-1.0 >= $GTKSOURCEVIEW_REQUIRED],
440                 [sourceview="yes"],
441                 [sourceview="no"])
442         AC_SUBST(PLUGIN_SOURCEVIEW_CFLAGS)
443         AC_SUBST(PLUGIN_SOURCEVIEW_LIBS)
446 AM_CONDITIONAL(HAVE_PLUGIN_SOURCEVIEW, [test x$sourceview = xyes])
448 dnl Scintilla Editor
449 dnl -------------------------------------------------------------
451 AC_ARG_ENABLE(plugin-scintilla,
452         [ --disable-plugin-scintilla    Disable Scintilla based editor in Anjuta], 
453         [ if test "$enableval" = "no"; then
454                 user_disabled_scintilla=1
455           fi ],
456         [ user_disabled_scintilla=0 ])
458 AC_MSG_CHECKING(if scintilla plugin is disabled)
459 if test "$user_disabled_scintilla" = 1; then
460         AC_MSG_RESULT(yes)
461         scintilla="no"
462 else
463         AC_MSG_RESULT(no)
464         scintilla="yes"
466 AM_CONDITIONAL(HAVE_PLUGIN_SCINTILLA, [test x$scintilla = xyes])
468 dnl Valgrind plugin
469 dnl check for libbfd
470 dnl -------------------------------------------------------------
472 AC_ARG_ENABLE(plugin-valgrind,
473         [ --disable-plugin-valgrind     Disable Valgrind plugin], 
474         [ if test "$enableval" = "no"; then
475                 user_disabled_valgrind=1
476           fi ],
477         [ user_disabled_valgrind=0 ])
479 AC_MSG_CHECKING(if valgrind plugin is disabled)
480 if test "$user_disabled_valgrind" = 1; then
481         AC_MSG_RESULT(yes)
482         valgrind="no"
483 else
484         AC_MSG_RESULT(no)
485         valgrind="yes"
488 AC_CHECK_LIB(bfd, bfd_get_error, [PLUGIN_VALGRIND_LIBS="-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic"],
489    valgrind="no",
490   -liberty)
492 AC_SUBST(PLUGIN_VALGRIND_LIBS)
493 AM_CONDITIONAL(HAVE_PLUGIN_VALGRIND, [test x$valgrind = xyes])
498 dnl we need gconftool-2 in order to install the schema
499 AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
501 if test "x$GCONFTOOL" = "xno"; then
502   AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
505 AM_GCONF_SOURCE_2
510 dnl check for bfd_get_section_size_before_reloc() in libbfd
511 AC_MSG_CHECKING(for bfd_get_section_size_before_reloc)
512 AC_TRY_LINK([
513         #include <bfd.h>
514         ], [
515         asection *section;
517         bfd_get_section_size_before_reloc (section);
518         ],
519         AC_MSG_RESULT(yes)
520         AC_DEFINE(HAVE_BFD_GET_SECTION_SIZE_BEFORE_RELOC, [], [Define if libbfd
521 contains the function bfd_get_section_size_before_reloc])
523         AC_MSG_RESULT(no)
529 dnl Setup Anjuta Library flags
530 dnl --------------------------
531 LIBANJUTA_CFLAGS='$(GNOME_UI_CFLAGS) $(GLADE_CFLAGS) -I$(top_srcdir) -DPACKAGE_PIXMAPS_DIR=\""$(datadir)/pixmaps/$(PACKAGE)\"" -DPACKAGE_DATA_DIR=\""$(datadir)/$(PACKAGE)"\"'
532 LIBANJUTA_LIBS='$(top_builddir)/libanjuta/libanjuta.la'
533 AC_SUBST(LIBANJUTA_CFLAGS)
534 AC_SUBST(LIBANJUTA_LIBS)
536 dnl Setup Plugin directories
537 dnl ------------------------
538 anjuta_plugin_dir='$(libdir)/anjuta'
539 anjuta_data_dir='$(datadir)/anjuta'
540 anjuta_ui_dir='$(datadir)/anjuta/ui'
541 anjuta_glade_dir='$(datadir)/anjuta/glade'
542 anjuta_image_dir='$(datadir)/pixmaps/anjuta'
543 AC_SUBST(anjuta_plugin_dir)
544 AC_SUBST(anjuta_data_dir)
545 AC_SUBST(anjuta_ui_dir)
546 AC_SUBST(anjuta_glade_dir)
547 AC_SUBST(anjuta_image_dir)
549 dnl ***************************************************************************
550 dnl Check for old vte version
551 dnl ***************************************************************************
552 PKG_CHECK_MODULES(VTE, vte >= $VTE_NEW_REQUIRED, OLD_VTE=0, OLD_VTE=1)
553 AC_SUBST(OLD_VTE)
554 AC_DEFINE_UNQUOTED(OLD_VTE, $OLD_VTE, [Old version of vte])
556 dnl ***************************************************************************
557 dnl Check for marshal and enum generators
558 dnl ***************************************************************************
559 GLIB_GENMARSHAL="`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`"
560 AC_SUBST(GLIB_GENMARSHAL)
561 GLIB_MKENUMS="`$PKG_CONFIG --variable=glib_mkenums glib-2.0`"
562 AC_SUBST(GLIB_MKENUMS)
564 dnl ***************************************************************************
565 dnl Internatinalization
566 dnl ***************************************************************************
567 GETTEXT_PACKAGE=anjuta
568 AC_SUBST(GETTEXT_PACKAGE)
569 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
570 AM_GLIB_GNU_GETTEXT
571 IT_PROG_INTLTOOL([0.35.0])
573 dnl ***************************************************************************
574 dnl Check for gtk-doc.
575 dnl ***************************************************************************
576 GTK_DOC_CHECK([1.4])
578 dnl ***************************************************************************
579 dnl Check for Gnome XML [Is this still required?]
580 dnl ***************************************************************************
581 dnl GNOME_XML_CHECK
583 dnl ***************************************************************************
584 dnl Check for ScrollKeeper [No documentation for now]
585 dnl ***************************************************************************
586 dnl AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
587 dnl if test x$SCROLLKEEPER_CONFIG = xno; then
588 dnl   AC_MSG_ERROR(Couldn't find scrollkeeper-config, please install the scrollkeeper package. You can get it from http://scrollkeeper.sourceforge.net/)
589 dnl fi
590 dnl SCROLLKEEPER_REQUIRED=0.1.4
591 dnl AC_SUBST(SCROLLKEEPER_REQUIRED)
593 dnl ***************************************************************************
594 dnl Checking for scrollkeeper version [No documentation for now]
595 dnl ***************************************************************************
596 dnl AC_MSG_CHECKING(for scrollkeeper version number)
597 dnl if scrollkeeper-config --version > /dev/null 2>&1; then 
598 dnl    version=`scrollkeeper-config --version`; \
599 dnl    vers=`echo $version | awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'`; \
600 dnl    AC_MSG_RESULT(found $version)
601 dnl    SCROLLKEEPER_VERSION_NUM=$vers
602 dnl else
603 dnl    AC_MSG_ERROR(Did not find scrollkeeper installed)
604 dnl fi
605 dnl AC_SUBST(SCROLLKEEPER_VERSION_NUM)
607 dnl ***************************************************************************
608 dnl Check for PCRE
609 dnl ***************************************************************************
610 dnl Check for PCRE
611 AC_PATH_PROG(PCRE_CONFIG, pcre-config,no)
612 if test x$PCRE_CONFIG = xno; then
613   AC_MSG_ERROR(Please install the PCRE package from http://www.pcre.org/)
615 PCRE_CFLAGS=`pcre-config --cflags`
616 PCRE_LIBS=`pcre-config --libs`
617 AC_SUBST(PCRE_LIBS)
618 AC_SUBST(PCRE_CFLAGS)
620 dnl ***************************************************************************
621 dnl Tagmanager checks.
622 dnl ***************************************************************************
624 dnl Define convenience macros
625 dnl -------------------------
626 dnl CHECK_HEADER_DEFINE(LABEL, HEADER [,ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ] ])
627 AC_DEFUN([CHECK_HEADER_DEFINE],
629         AC_MSG_CHECKING("if $1 is defined in $2")
630         AC_EGREP_CPP(yes,
631 [#include <$2>
632 #ifdef $1
633   yes
634 #endif
635 ], [
636         AC_MSG_RESULT(yes)
637         $3
638 ], [
639         AC_MSG_RESULT(no)
640         $4
641 ]) ])
643 dnl Checks for header files.
644 AC_CHECK_HEADERS(dirent.h fcntl.h fnmatch.h stat.h stdlib.h string.h stdint.h)
645 AC_CHECK_HEADERS(time.h types.h unistd.h)
646 AC_CHECK_HEADERS(sys/dir.h sys/stat.h sys/times.h sys/types.h)
648 dnl Checks for typedefs, structures, and compiler characteristics.
650 dnl Disable cygwin check until someone fixes that stupid autoconf warnings.
651 dnl AC_CYGWIN
652 dnl AC_MINGW
654 AC_C_CONST
655 AC_OBJEXT
656 AC_EXEEXT
658 AC_TYPE_SIZE_T
659 AC_TYPE_OFF_T
661 AC_MSG_CHECKING("for fpos_t")
662 AC_EGREP_HEADER(fpos_t, stdio.h, AC_MSG_RESULT(yes),
664     AC_MSG_RESULT(no)
665     AC_DEFINE(fpos_t, long, [fpos_t is type long])
668 AC_MSG_CHECKING("for clock_t")
669 AC_EGREP_HEADER(clock_t, time.h, AC_MSG_RESULT(yes),
671     AC_MSG_RESULT(no)
672     AC_DEFINE(clock_t, long, [clock_t is type long])
675 CHECK_HEADER_DEFINE(L_tmpnam, stdio.h,, AC_DEFINE(L_tmpnam, 20, [L_tmpname is 20]))
677 CHECK_HEADER_DEFINE(INT_MAX, limits.h,,
678     CHECK_HEADER_DEFINE(MAXINT, limits.h,
679         AC_DEFINE(INT_MAX, MAXINT, [Maximum int size]), AC_DEFINE(INT_MAX, 32767, [Maximum int size])))
681 AC_MSG_CHECKING(if struct stat contains st_ino)
682 AC_TRY_COMPILE([#include <sys/stat.h>], [
683     struct stat st;
684     stat(".", &st);
685     if (st.st_ino > 0)
686         exit(0);
687 ], have_st_ino=yes, have_st_ino=no)
688 AC_MSG_RESULT($have_st_ino)
689 if test yes = "$have_st_ino"; then
690     AC_DEFINE(HAVE_STAT_ST_INO,,[Have stat st_ino])
694 dnl Check for function forkpty in libutil
695 AC_CHECK_LIB(util, forkpty)
697 dnl Checks for library functions.
698 AC_CHECK_FUNCS(fnmatch)
699 AC_CHECK_FUNCS(strstr)
700 AC_CHECK_FUNCS(stricmp)
701 AC_CHECK_FUNCS(strnicmp)
702 AC_CHECK_FUNCS(getline)
704 AC_CHECK_FUNCS(fgetpos, have_fgetpos=yes)
706 dnl SEEK_SET should be in stdio.h, but may be in unistd.h on SunOS 4.1.x
707 if test "$have_fgetpos" != yes ; then
708     CHECK_HEADER_DEFINE(SEEK_SET, stdio.h,,
709         CHECK_HEADER_DEFINE(SEEK_SET, unistd.h,,
710             AC_DEFINE(SEEK_SET, 0, [Seek set 0])))
713 AC_CHECK_FUNCS(mkstemp, have_mkstemp=yes)
714 if test "$have_mkstemp" != yes ; then
715     AC_CHECK_FUNCS(chmod)
716     if test "$tmpdir_specified" = yes ; then
717         AC_MSG_RESULT(use of tmpnam overrides temporary directory selection)
718     fi
719 else
720     AC_MSG_CHECKING(directory to use for temporary files)
721     if test -z "$enable_tmpdir" -o "$enable_tmpdir" = no -o "$enable_tmpdir" = yes ;
722         then tmpdir=/tmp
723         else tmpdir="$enable_tmpdir"
724     fi
725     if test -d $tmpdir ; then
726         AC_MSG_RESULT($tmpdir)
727         AC_DEFINE_UNQUOTED(TMPDIR, "$tmpdir", [Directory for temporary files])
728     else
729         AC_MSG_WARN($tmpdir does not exist)
730     fi
733 AC_CHECK_FUNCS(strerror opendir)
734 AC_CHECK_FUNCS(clock times, break)
735 AC_CHECK_FUNCS(remove, have_remove=yes,
736     CHECK_HEADER_DEFINE(remove, unistd.h,, AC_DEFINE(remove, unlink, [Remove is unlink])))
738 AC_CHECK_FUNCS(truncate, have_truncate=yes)
739 dnl === Cannot nest AC_CHECK_FUNCS() calls
740 if test "$have_truncate" != yes  ; then
741     AC_CHECK_FUNCS(ftruncate, have_ftruncate=yes)
742     if test "$have_ftruncate" != yes ; then
743         AC_CHECK_FUNCS(chsize)
744     fi
747 AC_CHECK_FUNCS(setenv, have_setenv=yes)
748 dnl === Cannot nest AC_CHECK_FUNCS() calls
749 if test "$have_setenv" != yes ; then
750     AC_CHECK_FUNCS(putenv, have_putenv=yes)
751     if test "$have_putenv" = yes ; then
752         AC_EGREP_HEADER(putenv, stdlib.h, have_putenv_prototype=yes)
753         if test "$have_putenv_prototype" = yes ; then
754             AC_MSG_CHECKING("putenv prototype")
755             AC_EGREP_HEADER([[^A-Za-zo-9_]putenv[   ]*\(.*const.*\)[    ]*;],
756                 stdlib.h, AC_MSG_RESULT(correct),
757                 [
758                     AC_MSG_RESULT(no const)
759                     AC_DEFINE(NON_CONST_PUTENV_PROTOTYPE,,[putenv has non constant prototype])
760                 ])
761         fi
762     fi
766 dnl if test yes = "$CYGWIN"; then with_posix_regex=no; fi
767 if test no != "$with_posix_regex"; then
768     AC_CHECK_FUNCS(regcomp)
769     AC_MSG_CHECKING(if regcomp works)
770     AC_TRY_RUN([
771 #include <sys/types.h>
772 #include <regex.h>
773 main() {
774     regex_t patbuf;
775     exit (regcomp (&patbuf, "/hello/", 0) != 0);
776 }],regcomp_works=yes,regcomp_works=no,AC_DEFINE(CHECK_REGCOMP,,[Check regcomp]))
777     AC_MSG_RESULT($regcomp_works)
778     if test yes != "$regcomp_works"; then
779         AC_DEFINE(REGCOMP_BROKEN,,[Regcomp is broken])
780     fi
783 dnl -----------------------------
784 dnl Checks for FreeBSD Build
785 dnl -----------------------------
786 AC_MSG_CHECKING(if building on FreeBSD)
788 if test `uname -s` = "FreeBSD" ; then
789         AC_MSG_RESULT(yes)
790         FREEBSD_BUILD=-DFREEBSD
791         AC_SUBST(FREEBSD_BUILD)
792         AC_PATH_PROG(GMAKE, gmake, no)
793         if test "x$GMAKE" = "xno"; then
794                 AC_ERROR(You need gmake installed to build Anjuta!)
795         fi
796 else
797         AC_MSG_RESULT(no)
798         GMAKE="make"
801 AC_SUBST(GMAKE)
803 dnl Checks for missing prototypes
804 dnl -----------------------------
805 AC_CHECKING("for missing prototypes")
807 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))])
809 if test "$have_remove" = yes ; then
810     CHECK_PROTO(remove, stdio.h)
811 else
812     CHECK_PROTO(unlink, unistd.h)
814 CHECK_PROTO(malloc, stdlib.h)
815 CHECK_PROTO(getenv, stdlib.h)
816 CHECK_PROTO(stat,   sys/stat.h)
817 CHECK_PROTO(lstat,  sys/stat.h)
818 if test "$have_fgetpos" = yes ; then
819     CHECK_PROTO(fgetpos, stdio.h)
821 if test "$have_truncate" = yes ; then
822     CHECK_PROTO(truncate, unistd.h)
824 if test "$have_ftruncate" = yes ; then
825     CHECK_PROTO(ftruncate, unistd.h)
828 dnl  **********************************************************
829 dnl  check if we have svn libraries to build subversion plugin
830 dnl  (stolen from kdevelop ;-)
831 dnl  **********************************************************
833 AC_MSG_CHECKING(for Subversion svn-config)
834 AC_ARG_WITH(subversion-dir,
835                 [  --with-subversion-dir=DIR           where Subversion is installed ],
836                 [
837                                 SVNCONFIG="$withval/bin/svn-config"
838                 ])
840 if test -z "$SVNCONFIG"; then
841                 _SVNCONFIG="`svn-config --prefix 2> /dev/null`"
842                 if test -n "$_SVNCONFIG"; then
843                                 SVNCONFIG="$_SVNCONFIG/bin/svn-config"
844                 fi
847 AC_SUBST(SVNCONFIG)
848 if test -x "$SVNCONFIG"; then
849                 SVNLD="`$SVNCONFIG --ldflags 2> /dev/null`"
850                 SVN_LIB="`$SVNCONFIG --libs --cflags 2> /dev/null` -lsvn_client-1 -lsvn_subr-1"
851                 dnl ugly hack for subversion svn-config problems in 0.14.x, to be removed when svn-config is fixed
852                 SVN_INCLUDE="`$SVNCONFIG --includes 2> /dev/null` -I$_SVNCONFIG/include/subversion-1/"
853                 AC_MSG_RESULT(yes)
854 else
855                 AC_MSG_RESULT(not found)
856                 
857                 dnl just a fallback to debian's config so that it works for me :)
858                 AC_ARG_WITH(svn-include,
859                                                                 [[  --with-svn-include=DIR   Use the given path to the subversion headers.]],
860                                                                 [
861                                                                 if test "$withval" != "yes" -a "$withval" != ""; then
862                                                                                 SVN_INCLUDES=$withval
863                                                                 fi
864                                                                 ])
865                 if test -z "$SVN_INCLUDES"; then
866                         SVN_INCLUDES="/usr/local/include /usr/include"
867                 fi
868                 AC_MSG_CHECKING([for Subversion headers])
869                 SVN_INCLUDE=""
870                 for VALUE in $SVN_INCLUDES ; do
871                                 if test -f $VALUE/subversion-1/svn_types.h ; then
872                                                 SVN_INCLUDE=$VALUE/subversion-1
873                                                 break
874                                 fi
875                                 if test -f $VALUE/svn_types.h ; then
876                                                 SVN_INCLUDE=$VALUE
877                                                 break
878                                 fi
879                 done
880                 if test $SVN_INCLUDE ; then
881                                 AC_MSG_RESULT([found])
882                 else
883                                 AC_MSG_RESULT([not found])
884                 fi
885                 SVN_LIBS="/usr/local/lib /usr/lib"
886                 AC_ARG_WITH(svn-lib,
887                                                 [[  --with-svn-lib=DIR  Use the given path to the subversion libraries.]],
888                                                 [
889                                                         if test "$withval" != "yes" -a "$withval" != ""; then
890                                                                 SVN_LIBS=$withval
891                                                         fi
892                                                 ])
893                 AC_MSG_CHECKING([for Subversion libraries])
894                 SVN_LIB=""
895                 for VALUE in $SVN_LIBS ; do
896                                 if ls $VALUE/libsvn_client-1.* 1>/dev/null 2>&1; then
897                                                 SVN_LIB=$VALUE
898                                                 break
899                                 fi
900                 done
901                 if test $SVN_LIB ; then
902                                 AC_MSG_RESULT([found])
903                 else
904                                 AC_MSG_RESULT([not found])
905                 fi
908 dnl ******************************************************************
909 dnl Check for extra libs required by subversion.
910 dnl FIXME: This should actually be done by subversion and not by us.
911 dnl ******************************************************************
913 AC_ARG_ENABLE(plugin-subversion,
914   [  --disable-plugin-subversion        Disable subversion support in Anjuta.],
915   [ if test "$enableval" = "no"; then
916         user_disabled_subversion=1
917     fi ],
918   [ user_disabled_subversion=0 ] )
920 AC_MSG_CHECKING(if subversion support is disabled)
921 if test "$user_disabled_subversion" = 1; then
922         AC_MSG_RESULT(yes)
923         SVN_INCLUDE=""
924         SVN_LIB=""
925 else
926         AC_MSG_RESULT(no)
929 if test -n "$SVN_INCLUDE" ; then
930         dnl ------------------------------------
931         dnl APR. Required by subversion (devel)
932         dnl ------------------------------------
933         
934         APR_CONFIGS="apr-config /usr/local/apr/bin/apr-config/ apr-1-config "
935         AC_ARG_WITH(apr-config,
936         [[  --with-apr-config=FILE    Use the given path to apr-config when determining
937                                                                 APR configuration; defaults to "apr-config"]],
938         [
939         if test "$withval" != "yes" -a "$withval" != ""; then
940           APR_CONFIGS=$withval
941         fi
942         ])
943         AC_MSG_CHECKING([for APR])
944         APR_CONFIG=""
945         for VALUE in $APR_CONFIGS ; do
946                         if $VALUE --cflags > /dev/null 2>&1 ; then
947                                         APR_CONFIG=$VALUE
948                                         break
949                         fi
950         done
951         test $VALUE && APR_CONFIG=$VALUE
952         if test $APR_CONFIG ; then
953                 AC_MSG_RESULT([found])
954                 APR_CFLAGS="`$APR_CONFIG --cflags` `$APR_CONFIG --cppflags`"
955                 APR_INCLUDE="`$APR_CONFIG --includes`"
956                 APR_LIBS="`$APR_CONFIG --link-ld --libs`"
957         else
958                 AC_MSG_RESULT([not found])
959                 dnl AC_MSG_ERROR([APR is required. Try --with-apr-config.])
960         fi
961         
962         dnl -----------------------------------------
963         dnl APR util. Required by subversion (devel)
964         dnl------------------------------------------
965         
966         APU_CONFIGS="apu-config /usr/local/apr/bin/apu-config apu-1-config"
967         AC_ARG_WITH(apu-config,
968         [[  --with-apu-config=FILE    Use the given path to apu-config when determining
969                                                                 APR util configuration; defaults to "apu-config"]],
970         [
971                 if test "$withval" != "yes" -a "$withval" != ""; then
972                         APU_CONFIGS=$withval
973                 fi
974         ])
975         AC_MSG_CHECKING([for APR util])
976         APU_CONFIG=""
977         for VALUE in $APU_CONFIGS ; do
978                         if $VALUE --includes > /dev/null 2>&1 ; then
979                                         APU_CONFIG=$VALUE
980                                         break
981                         fi
982         done
983         if test $APU_CONFIG ; then
984                 AC_MSG_RESULT([found])
985                 APR_INCLUDE="$APR_INCLUDE `$APU_CONFIG --includes`"
986                 APR_LIBS="$APR_LIBS `$APU_CONFIG --link-ld --libs`"
987         else
988                 AC_MSG_RESULT([not found])
989         fi
990         
991         dnl -----------------------------------------
992         dnl NEON. Required by subversion (devel)
993         dnl------------------------------------------
995         dnl Check for neon. It is required by subversion libs, but for
996         dnl for some strange reason it's not in it's dependencies.
997         dnl subversion plugin will be disabled if neon (devel) is not
998         dnl installed, even if subversion (devel) is installed.
1000         NEON_CONFIGS="neon-config"
1001         AC_ARG_WITH(neon-config,
1002         [[  --with-neon-config=FILE    Use the given path to neon-config when determining
1003                                                                 Neon configuration; defaults to "neon-config"]],
1004         [
1005                 if test "$withval" != "yes" -a "$withval" != ""; then
1006                         NEON_CONFIGS=$withval
1007                 fi
1008         ])
1009         AC_MSG_CHECKING([for Neon])
1010         NEON_CONFIG=""
1011         for VALUE in $NEON_CONFIGS ; do
1012                         if $VALUE --cflags > /dev/null 2>&1 ; then
1013                                         NEON_CONFIG=$VALUE
1014                                         break
1015                         fi
1016         done
1017         if test $NEON_CONFIG ; then
1018                 AC_MSG_RESULT([found])
1019         else
1020                 AC_MSG_RESULT([not found])
1021                 SVN_INCLUDE=""
1022                 SVN_LIB=""
1023         fi
1026 dnl ------------------------------------------
1027 dnl Finally prepare subversion build flags
1028 dnl ------------------------------------------
1030 if test -n "$SVN_INCLUDE" ; then
1031         SVN_INCLUDE="-I$SVN_INCLUDE $APR_INCLUDE"
1032         SVN_LIB="-L$SVN_LIB $APR_LIBS -lsvn_client-1 -lsvn_subr-1"
1033         SVN_CFLAGS="$APR_CFLAGS"
1036 AM_CONDITIONAL(BUILD_SVN, [test -n "$SVN_INCLUDE"])
1037 AC_SUBST(SVN_INCLUDE)
1038 AC_SUBST(SVN_LIB)
1039 AC_SUBST(SVN_CFLAGS)
1041 dnl --------- help outputs -----------
1042 dnl manuals/C/Makefile
1043 dnl manuals/C/anjuta-tutorial/Makefile
1044 dnl manuals/C/anjuta-advanced-tutorial/Makefile
1045 dnl manuals/C/anjuta-faqs/Makefile
1046 dnl manuals/C/anjuta-manual/Makefile
1047 dnl manuals/de/Makefile
1048 dnl manuals/de/anjuta-tutorial/Makefile
1049 dnl manuals/ja/Makefile
1050 dnl manuals/ja/anjuta-faqs/Makefile
1051 dnl manuals/ja/anjuta-manual/Makefile
1053 AC_OUTPUT([
1054 Makefile
1055 po/Makefile.in
1056 tagmanager/Makefile
1057 tagmanager/include/Makefile
1058 global-tags/Makefile
1059 libegg/Makefile
1060 libegg/util/Makefile
1061 libegg/treeviewutils/Makefile
1062 libegg/menu/Makefile
1063 libegg/recent-files/Makefile
1064 anjuta.spec
1065 libanjuta/Makefile
1066 libanjuta/libanjuta-1.0.pc
1067 libanjuta/interfaces/Makefile
1068 src/Makefile
1069 pixmaps/Makefile
1070 data/Makefile
1071 data/welcome.txt
1072 data/properties/Makefile
1073 doc/anjuta.1
1074 doc/anjuta_launcher.1
1075 doc/Makefile
1076 scripts/Makefile
1077 scripts/anjuta_import.sh
1078 launcher/Makefile
1079 plugins/Makefile
1080 plugins/sample1/Makefile
1081 plugins/gtodo/Makefile
1082 plugins/class-gen/Makefile
1083 plugins/class-gen/templates/Makefile
1084 plugins/patch/Makefile
1085 plugins/editor/Makefile
1086 plugins/editor/scintilla/Makefile
1087 plugins/editor/scintilla/include/Makefile
1088 plugins/document-manager/Makefile
1089 plugins/search/Makefile
1090 plugins/message-view/Makefile
1091 plugins/gdb/Makefile
1092 plugins/gdb/images/Makefile
1093 plugins/debug-manager/Makefile
1094 plugins/debug-manager/images/Makefile
1095 plugins/devhelp/Makefile
1096 plugins/glade/Makefile
1097 plugins/file-manager/Makefile
1098 plugins/file-loader/Makefile
1099 plugins/file-wizard/Makefile
1100 plugins/terminal/Makefile
1101 plugins/build-basic-autotools/Makefile
1102 plugins/profiler/Makefile
1103 plugins/project-manager/Makefile
1104 plugins/symbol-browser/Makefile
1105 plugins/symbol-browser/images/Makefile
1106 plugins/cvs-plugin/Makefile
1107 plugins/project-wizard/Makefile
1108 plugins/macro/Makefile
1109 plugins/subversion/Makefile
1110 plugins/sourceview/Makefile
1111 plugins/tools/Makefile
1112 plugins/tools/scripts/Makefile
1113 plugins/class-inheritance/Makefile
1114 plugins/valgrind/Makefile
1115 plugins/project-import/Makefile
1116 plugins/project-wizard/templates/Makefile
1117 plugins/project-wizard/templates/mkfile/Makefile
1118 plugins/project-wizard/templates/mkfile/src/Makefile
1119 plugins/project-wizard/templates/mkfile/po/Makefile
1120 plugins/project-wizard/templates/minimal/Makefile
1121 plugins/project-wizard/templates/terminal/Makefile
1122 plugins/project-wizard/templates/terminal/src/Makefile
1123 plugins/project-wizard/templates/terminal/po/Makefile
1124 plugins/project-wizard/templates/cpp/Makefile
1125 plugins/project-wizard/templates/cpp/src/Makefile
1126 plugins/project-wizard/templates/cpp/po/Makefile
1127 plugins/project-wizard/templates/gtk/Makefile
1128 plugins/project-wizard/templates/gtk/src/Makefile
1129 plugins/project-wizard/templates/gtk/po/Makefile
1130 plugins/project-wizard/templates/anjuta-plugin/Makefile
1131 plugins/project-wizard/templates/anjuta-plugin/src/Makefile
1132 plugins/project-wizard/templates/anjuta-plugin/po/Makefile
1133 plugins/project-wizard/templates/gnome/Makefile
1134 plugins/project-wizard/templates/gnome/src/Makefile
1135 plugins/project-wizard/templates/gnome/po/Makefile
1136 plugins/project-wizard/templates/gtkmm/Makefile
1137 plugins/project-wizard/templates/gtkmm/src/Makefile
1138 plugins/project-wizard/templates/gtkmm/po/Makefile
1139 plugins/project-wizard/templates/gcj/Makefile
1140 plugins/project-wizard/templates/gcj/src/Makefile
1141 plugins/project-wizard/templates/java/Makefile
1142 plugins/project-wizard/templates/java/src/Makefile
1143 plugins/project-wizard/templates/java/po/Makefile
1144 plugins/project-wizard/templates/python/Makefile
1145 plugins/project-wizard/templates/python/src/Makefile
1146 plugins/project-wizard/templates/python/po/Makefile
1147 plugins/project-wizard/templates/wxwin/Makefile
1148 plugins/project-wizard/templates/wxwin/src/Makefile
1149 plugins/project-wizard/templates/wxwin/po/Makefile
1150 plugins/project-wizard/templates/xlib/Makefile
1151 plugins/project-wizard/templates/xlib/src/Makefile
1152 plugins/project-wizard/templates/xlib/po/Makefile
1153 plugins/project-wizard/templates/xlib-dock/Makefile
1154 plugins/project-wizard/templates/xlib-dock/src/Makefile
1155 plugins/project-wizard/templates/xlib-dock/po/Makefile
1156 plugins/language-support-cpp-java/Makefile
1157 anjuta.desktop.in
1158 manuals/Makefile
1159 manuals/reference/Makefile
1160 manuals/reference/libanjuta/Makefile
1161 manuals/reference/libanjuta/version.xml
1162 manuals/anjuta-manual/Makefile
1163 manuals/anjuta-faqs/Makefile
1164 mime/Makefile
1166 echo " "
1167 echo "-------------------------------------------------------------------"
1168 echo "Conditionally built plugins:"
1169 echo "-------------------------------------------------------------------"
1170 if [ test -n "$SVN_INCLUDE" ]; then
1171         echo "Building subversion plugin: ............................YES"
1172 else
1173         echo "Building subversion plugin: ............................NO"
1174                 echo "        Requires apr (>= 0.9.4); http://subversion.org"
1175                 echo "        Requires apr-util (>= 0.9.4); http://subversion.org"
1176                 echo "        Requires neon (>= 0.24.5); http://subversion.org"
1177                 echo "        Requires subversion (>= 1.0.2); http://subversion.org"
1180 if [ test x$libgladeui_found = xyes ]; then
1181        echo "Building glade plugin: .................................YES"
1182 else
1183        echo "Building glade plugin: .................................NO"
1184        echo "        Requires glade-3 (>= 3.0.2)"
1187 if [ test x$devhelp_enabled = xyes ]; then
1188        echo "Building devhelp plugin: ...............................YES"
1189 else
1190        echo "Building devhelp plugin: ...............................NO"
1191        echo "        Requires devhelp"
1194 if [ test x$libgraphviz_found = xyes ]; then
1195         echo "Building class inheritance plugin: .....................YES"
1196         echo "Building performance profiler with function call chart: YES"
1197 else
1198         echo "Building class inheritance plugin: .....................NO"
1199         echo "        Requires graphviz (>= 2.6.0); http://graphviz.org"
1200         echo "Building performance profiler with function call chart: NO"
1201          echo "        Requires graphviz (>= 2.6.0); http://graphviz.org"
1204 if [ test x$valgrind = xyes ]; then
1205         echo "Building Valgrind debugger plugin: .....................YES"
1206 else
1207         echo "Building Valgrind debugger plugin: .....................NO"
1208         echo "          Requires binutils-dev"
1211 if [ test x$sourceview = xyes ]; then
1212         echo "Building GtkSourceView based editor: ...................YES"
1213 else
1214         echo "Building GtkSourceView based editor: ...................NO"
1217 if [ test x$scintilla = xyes ]; then
1218         echo "Building Scintilla based editor: .......................YES"
1219 else
1220         echo "Building Scintilla based editor: .......................NO"
1222 echo "-------------------------------------------------------------------"