Updated Spanish translation
[anjuta-git-plugin.git] / configure.in
blob234b71af4790da568ba11cae7afef92006a2db1c
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, 2)
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)
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 GNOME_COMPILE_WARNINGS(maximum)
100 dnl Enable debugging mode
101 AC_ARG_ENABLE(debug,
102   [  --enable-debug           Enable debug messages],
103   AM_CFLAGS="$AM_CFLAGS -DDEBUG"
104   AM_CXXFLAGS="$AM_CXXFLAGS -DDEBUG")
105 AC_SUBST(AM_CFLAGS)
106 AC_SUBST(AM_CXXFLAGS)
108 ANJUTA_LDFLAGS="-no-undefined"
109 ANJUTA_PLUGIN_LDFLAGS="-module -avoid-version -no-undefined"
110 AC_SUBST(ANJUTA_LDFLAG)
111 AC_SUBST(ANJUTA_PLUGIN_LDFLAGS)
113 dnl Disable deprecated APIs
114 AC_ARG_ENABLE(deprecated,
115   [  --disable-deprecated     Disable deprecated APIs],
116   [ if test "$enableval" = "no"; then
117     DEPRECATED_FLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED"
118   fi ],
119  [ DEPRECATED_FLAGS="" ])
120 AC_SUBST(DEPRECATED_FLAGS)
122 dnl Enable versioned user preferences directory
123 AC_ARG_WITH(pref-suffix,
124   [  --with-pref-suffix=VALUE Suffix to add to user preferences dir.],
125   PREF_SUFFIX="$withval")
127 AC_SUBST(PREF_SUFFIX)
128 AC_DEFINE_UNQUOTED(PREF_SUFFIX,
129       "${PREF_SUFFIX}",
130           [Suffix to add to preferences directory])
132 #Check for C Compiler
133 AC_PROG_CC
134 AC_PROG_CPP
135 AC_LANG_C
137 #Check for C++ Compiler
138 AC_PROG_CXX
139 AC_LANG_CPLUSPLUS
141 AC_ISC_POSIX
142 AC_HEADER_STDC
143 AM_DISABLE_STATIC
144 AM_PROG_LIBTOOL
146 AC_TYPE_SIGNAL
148 dnl ***************************************************************************
149 dnl Check for GConf stuff to handle schema installation
150 dnl ***************************************************************************
151 AC_PATH_PROG(GCONFTOOL, gconftool-2)
152 AM_GCONF_SOURCE_2
154 dnl ***************************************************************************
155 dnl Check for pkgconfig
156 dnl ***************************************************************************
157 AC_PATH_PROG(PKGCONFIG_CONFIG, pkg-config,no)
158 if test x$PKGCONFIG_CONFIG = xno; then
159   AC_MSG_ERROR(Please install the pkg-config package from http://www.freedesktop.org/software/pkgconfig/)
162 dnl pkg checks are split into separate packages instead of single package
163 dnl because different plugins have different requirements.
165 PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
166 AC_SUBST(GLIB_CFLAGS)
167 AC_SUBST(GLIB_LIBS)
169 PKG_CHECK_MODULES(GOBJECT, gobject-2.0 >= $GOBJECT_REQUIRED)
170 AC_SUBST(GOBJECT_CFLAGS)
171 AC_SUBST(GOBJECT_LIBS)
173 PKG_CHECK_MODULES(GMODULE, gmodule-2.0 >= $GMODULE_REQUIRED)
174 AC_SUBST(GMODULE_CFLAGS)
175 AC_SUBST(GMODULE_LIBS)
177 PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= $GTHREAD_REQUIRED)
178 AC_SUBST(GTHREAD_CFLAGS)
179 AC_SUBST(GTHREAD_LIBS)
181 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
182 AC_SUBST(GTK_CFLAGS)
183 AC_SUBST(GTK_LIBS)
185 PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED)
186 AC_SUBST(GDK_PIXBUF_CFLAGS)
187 AC_SUBST(GDK_PIXBUF_LIBS)
189 PKG_CHECK_MODULES(ORBIT, ORBit-2.0 >= $ORBIT_REQUIRED)
190 AC_SUBST(ORBIT_CFLAGS)
191 AC_SUBST(ORBIT_LIBS)
193 PKG_CHECK_MODULES(GLADE, libglade-2.0 >= $LIBGLADE_REQUIRED)
194 AC_SUBST(GLADE_CFLAGS)
195 AC_SUBST(GLADE_LIBS)
197 PKG_CHECK_MODULES(GNOME, libgnome-2.0 >= $GNOME_REQUIRED)
198 AC_SUBST(GNOME_CFLAGS)
199 AC_SUBST(GNOME_LIBS)
201 PKG_CHECK_MODULES(GNOME_CANVAS, libgnomecanvas-2.0 >= $GNOME_CANVAS_REQUIRED)
202 AC_SUBST(GNOME_CANVAS_CFLAGS)
203 AC_SUBST(GNOME_CANVAS_LIBS)
205 PKG_CHECK_MODULES(GNOME_UI, libgnomeui-2.0 >= $GNOME_UI_REQUIRED)
206 AC_SUBST(GNOME_UI_CFLAGS)
207 AC_SUBST(GNOME_UI_LIBS)
209 PKG_CHECK_MODULES(GNOME_PRINT, libgnomeprint-2.2 >= $GNOME_PRINT_REQUIRED)
210 AC_SUBST(GNOME_PRINT_CFLAGS)
211 AC_SUBST(GNOME_PRINT_LIBS)
213 PKG_CHECK_MODULES(GNOME_PRINT_UI, libgnomeprintui-2.2 >= $GNOME_PRINT_UI_REQUIRED)
214 AC_SUBST(GNOME_PRINT_UI_CFLAGS)
215 AC_SUBST(GNOME_PRINT_UI_LIBS)
217 PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED)
218 AC_SUBST(GNOME_VFS_CFLAGS)
219 AC_SUBST(GNOME_VFS_LIBS)
221 PKG_CHECK_MODULES(GNOME_VFS_MODULE, gnome-vfs-module-2.0 >= $GNOME_VFS_REQUIRED)
222 AC_SUBST(GNOME_VFS_MODULE_CFLAGS)
223 AC_SUBST(GNOME_VFS_MODULE_LIBS)
225 PKG_CHECK_MODULES(GCONF, gconf-2.0 >= $GCONF_REQUIRED)
226 AC_SUBST(GCONF_CFLAGS)
227 AC_SUBST(GCONF_LIBS)
229 PKG_CHECK_MODULES(VTE, vte >= $VTE_REQUIRED)
230 AC_SUBST(VTE_CFLAGS)
231 AC_SUBST(VTE_LIBS)
233 PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= $LIBXML_REQUIRED)
234 AC_SUBST(LIBXML_CFLAGS)
235 AC_SUBST(LIBXML_LIBS)
237 PKG_CHECK_MODULES(PANGO, pango >= $PANGO_REQUIRED)
238 AC_SUBST(PANGO_CFLAGS)
239 AC_SUBST(PANGO_LIBS)
241 PKG_CHECK_MODULES(GDL, gdl-1.0 >= $GDL_REQUIRED gdl-gnome-1.0 >= $GDL_REQUIRED)
242 AC_SUBST(GDL_CFLAGS)
243 AC_SUBST(GDL_LIBS)
245 PKG_CHECK_MODULES(LIBXSLT, libxslt)
246 AC_SUBST(LIBXSLT_CFLAGS)
247 AC_SUBST(LIBXSLT_LIBS)
249 dnl Check for autogen
250 dnl -----------------
251 AC_PATH_PROG(AUTOGEN_PATH, autogen,no)
252 if test x$AUTOGEN_PATH = xno; then
253    AC_MSG_ERROR([Couldn't find autogen, please install the autogen package. You can get it from http://autogen.sourceforge.net/])
256 dnl Check for Devhelp
257 dnl -----------------
259 AC_ARG_ENABLE(plugin-devhelp,
260   [  --disable-plugin-devhelp        Disable devhelp plugin support in Anjuta.],
261   [ if test "$enableval" = "no"; then
262        user_disabled_devhelp=1
263     fi ],
264   [ user_disabled_devhelp=0 ] )
266 AC_MSG_CHECKING(if devhelp plugin is disabled)
267 if test "$user_disabled_devhelp" = 1; then
268         AC_MSG_RESULT(yes)
269         devhelp_enabled="no"
270 else
271         AC_MSG_RESULT(no)
272         devhelp_old=yes
273         PKG_CHECK_MODULES(PLUGIN_DEVHELP, 
274                                 [libdevhelp-1.0 >= $LIBDEVHELP_REQUIRED],
275                                          [
276                                             devhelp_old=no
277                                                 devhelp_enabled=yes
278                                          ], [
279                                                    AC_MSG_RESULT([version >= 0.11 not found])
280                                                    devhelp_old=yes
281                                                    devhelp_enabled=no
282                                          ])
283         if test x$devhelp_old = xyes; then
284           PKG_CHECK_MODULES(PLUGIN_DEVHELP, [libdevhelp-1.0 >= 0.9], [devhelp_enabled=yes], [devhelp_enabled=no])
285                 if test x$devhelp_enabled = xyes; then
286               AC_DEFINE(HAVE_OLD_DEVHELP, 1, [If old devhelp (>= 0.9 < 0.11) is installed])
287                 fi
288         fi
289         AC_SUBST(PLUGIN_DEVHELP_CFLAGS)
290         AC_SUBST(PLUGIN_DEVHELP_LIBS)
293 if test x$devhelp_enabled = xyes; then
294         GECKO_HOME=`$PKGCONFIG_CONFIG --variable=gecko_home libdevhelp-1.0`
295         if test x$GECKO_HOME != x; then
296                 ANJUTA_LDFLAGS="$ANJUTA_LDFLAGS -R$GECKO_HOME"
297         fi
299 AC_SUBST(ANJUTA_LDFLAGS)
301 AM_CONDITIONAL(HAVE_PLUGIN_DEVHELP, [test x$devhelp_enabled = xyes])
303 dnl Check for GTodo
304 dnl -----------------
305 dnl PKG_CHECK_MODULES(PLUGIN_GTODO, libgtodo-1.0 >= $LIBGTODO_REQUIRED)
306 dnl AC_SUBST(PLUGIN_GTODO_CFLAGS)
307 dnl AC_SUBST(PLUGIN_GTODO_LIBS)
309 dnl Check for Gnome Build
310 dnl ---------------------
312 PKG_CHECK_MODULES(PLUGIN_GNOMEBUILD, gnome-build-1.0 >= $GNOMEBUILD_REQUIRED)
313 AC_SUBST(PLUGIN_GNOMEBUILD_CFLAGS)
314 AC_SUBST(PLUGIN_GNOMEBUILD_LIBS)
316 dnl Check for Glade3
317 dnl ---------------------
319 AC_ARG_ENABLE(plugin-glade,
320   [  --disable-plugin-glade        Disable glade plugin support in Anjuta.],
321   [ if test "$enableval" = "no"; then
322        user_disabled_glade=1
323     fi ],
324   [ user_disabled_glade=0 ] )
326 AC_MSG_CHECKING(if glade plugin is disabled)
327 if test "$user_disabled_glade" = 1; then
328         AC_MSG_RESULT(yes)
329         libgladeui_found="no"
330 else
331         AC_MSG_RESULT(no)
332         AC_PATH_PROG(PKG_PATH, pkg-config, no)
333         gladeui_version=0
334         PKG_CHECK_MODULES(PLUGIN_GLADE, gladeui-1.0,
335             [
336                 libgladeui_found="yes"
337                 gladeui_version=`$PKG_PATH --modversion gladeui-1.0 | sed -e 's,\.,,g'`
338             ], [
339                 libgladeui_found="no"
340             ])
341         if test x$libgladeui_found = xno; then
342             PKG_CHECK_MODULES(PLUGIN_GLADE, [libgladeui-1.0 >= $GLADEUI_REQUIRED],
343                 [
344                         libgladeui_found="yes"
345                         gladeui_version=`$PKG_PATH --modversion libgladeui-1.0 | sed -e 's,\.,,g'`
346                 ], [
347                         libgladeui_found="no"
348                 ])
349         fi
350         AC_DEFINE_UNQUOTED(GLADEUI_VERSION, [$gladeui_version], [GLADEUI version])
351         AC_SUBST(GLADEUI_VERSION)
352         AC_SUBST(PLUGIN_GLADE_CFLAGS)
353         AC_SUBST(PLUGIN_GLADE_LIBS)
356 AM_CONDITIONAL(HAVE_PLUGIN_GLADE, [test x$libgladeui_found = xyes])
358 dnl Check for graphviz (class inheritance and profiler plugins)
359 dnl --------------------------------------------------------------------------
360 dnl FIXME: For some strange reason graphviz-devel rpm install the *.pc files
361 dnl in /usr/lib/graphviz/pkgconfig, instead of usual /usr/lib/pkgconfig. This
362 dnl makes pkgconfig check fail if we don't add the above path in
363 dnl PKG_CONFIG_PATH. We have added both /usr/lib/graphviz/pkgconfig and
364 dnl /usr/local/lib/pkgconfig paths. If graphviz is installed in other prefix
365 dnl (other than /usr or /usr/local or the current installation prefix),
366 dnl following pkgconfig check will fail.
367 dnl --------------------------------------------------------------------------
368 AC_ARG_ENABLE(graphviz,
369         [ --disable-graphviz            Disable GraphViz support in Anjuta], 
370         [ if test "$enableval" = "no"; then
371                 user_disabled_graphviz=1
372           fi ],
373         [ user_disabled_graphviz=0 ])
375 AC_MSG_CHECKING(if GraphViz support is disabled)
376 if test "$user_disabled_graphviz" = 1; then
377         AC_MSG_RESULT(yes)
378         libgraphviz_found="no"
379 else
380         AC_MSG_RESULT(no)
381         
382         dnl Set pkgconfig path
383         ANJUTA_PKG_CONFIG_PATH_SAVE="${PKG_CONFIG_PATH}"
384         PKG_CONFIG_PATH="/usr/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
385         PKG_CONFIG_PATH="/usr/local/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
386         PKG_CONFIG_PATH="/usr/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
387         PKG_CONFIG_PATH="/usr/local/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
388         
389         anjuta_save_prefix="$prefix"
390         test "x$prefix" = xNONE && prefix=$ac_default_prefix
391         graphviz_pkgconfig=`eval echo ${libdir}/graphviz/pkgconfig`
392         PKG_CONFIG_PATH="$graphviz_pkgconfig:$PKG_CONFIG_PATH"
393         prefix="$anjuta_save_prefix"
395         export PKG_CONFIG_PATH
396         PKG_CHECK_MODULES(GRAPHVIZ,
397                 [libgvc >= $LIBGRAPHVIZ_REQUIRED libgraph >= $LIBGRAPHVIZ_REQUIRED], 
398                 [libgraphviz_found="yes"],
399                 [libgraphviz_found="no"])
400         AC_SUBST(GRAPHVIZ_CFLAGS)
401         AC_SUBST(GRAPHVIZ_LIBS)
402         
403         dnl Restore pkgconfig path
404         PKG_CONFIG_PATH="${ANJUTA_PKG_CONFIG_PATH_SAVE}"
405         export PKG_CONFIG_PATH
408 AM_CONDITIONAL(HAVE_GRAPHVIZ, [test x$libgraphviz_found = xyes])
410 dnl Define HAVE_GRAPHVIZ to disable Function Call Chart in the Profiler if 
411 dnl Graphviz isn't on the system
412 if test "$libgraphviz_found" = yes; then
413         AC_DEFINE(HAVE_GRAPHVIZ, [], [Define if we have GraphViz >= 2.6.0])
416 dnl Build gtksourceview plugin only on gnome 2.14 and gtk 2.10
417 dnl -------------------------------------------------------------
419 AC_ARG_ENABLE(plugin-sourceview,
420         [ --disable-plugin-sourceview   Disable gtksourceview based editor in Anjuta], 
421         [ if test "$enableval" = "no"; then
422                 user_disabled_sourceview=1
423           fi ],
424         [ user_disabled_sourceview=0 ])
426 AC_MSG_CHECKING(if sourceview plugin is disabled)
427 if test "$user_disabled_sourceview" = 1; then
428         AC_MSG_RESULT(yes)
429         sourceview="no"
430 else
431         AC_MSG_RESULT(no)
432         
433         PKG_CHECK_MODULES(PLUGIN_SOURCEVIEW,
434                 [libgnome-2.0 >= $GTKSOURCEVIEW_GNOME_REQUIRED,
435                 gtk+-2.0 >= $GTKSOURCEVIEW_GTK_REQUIRED,
436                 gtksourceview-1.0 >= $GTKSOURCEVIEW_REQUIRED],
437                 [sourceview="yes"],
438                 [sourceview="no"])
439         AC_SUBST(PLUGIN_SOURCEVIEW_CFLAGS)
440         AC_SUBST(PLUGIN_SOURCEVIEW_LIBS)
443 AM_CONDITIONAL(HAVE_PLUGIN_SOURCEVIEW, [test x$sourceview = xyes])
445 dnl Scintilla Editor
446 dnl -------------------------------------------------------------
448 AC_ARG_ENABLE(plugin-scintilla,
449         [ --disable-plugin-scintilla    Disable Scintilla based editor in Anjuta], 
450         [ if test "$enableval" = "no"; then
451                 user_disabled_scintilla=1
452           fi ],
453         [ user_disabled_scintilla=0 ])
455 AC_MSG_CHECKING(if scintilla plugin is disabled)
456 if test "$user_disabled_scintilla" = 1; then
457         AC_MSG_RESULT(yes)
458         scintilla="no"
459 else
460         AC_MSG_RESULT(no)
461         scintilla="yes"
463 AM_CONDITIONAL(HAVE_PLUGIN_SCINTILLA, [test x$scintilla = xyes])
465 dnl Valgrind plugin
466 dnl check for libbfd
467 dnl -------------------------------------------------------------
469 AC_ARG_ENABLE(plugin-valgrind,
470         [ --disable-plugin-valgrind     Disable Valgrind plugin], 
471         [ if test "$enableval" = "no"; then
472                 user_disabled_valgrind=1
473           fi ],
474         [ user_disabled_valgrind=0 ])
476 AC_MSG_CHECKING(if valgrind plugin is disabled)
477 if test "$user_disabled_valgrind" = 1; then
478         AC_MSG_RESULT(yes)
479         valgrind="no"
480 else
481         AC_MSG_RESULT(no)
482         valgrind="yes"
485 AC_CHECK_LIB(bfd, bfd_get_error, [PLUGIN_VALGRIND_LIBS="-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic"],
486    valgrind="no",
487   -liberty)
489 AC_SUBST(PLUGIN_VALGRIND_LIBS)
490 AM_CONDITIONAL(HAVE_PLUGIN_VALGRIND, [test x$valgrind = xyes])
495 dnl we need gconftool-2 in order to install the schema
496 AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
498 if test "x$GCONFTOOL" = "xno"; then
499   AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
502 AM_GCONF_SOURCE_2
507 dnl check for bfd_get_section_size_before_reloc() in libbfd
508 AC_MSG_CHECKING(for bfd_get_section_size_before_reloc)
509 AC_TRY_LINK([
510         #include <bfd.h>
511         ], [
512         asection *section;
514         bfd_get_section_size_before_reloc (section);
515         ],
516         AC_MSG_RESULT(yes)
517         AC_DEFINE(HAVE_BFD_GET_SECTION_SIZE_BEFORE_RELOC, [], [Define if libbfd
518 contains the function bfd_get_section_size_before_reloc])
520         AC_MSG_RESULT(no)
526 dnl Setup Anjuta Library flags
527 dnl --------------------------
528 LIBANJUTA_CFLAGS='$(GNOME_UI_CFLAGS) $(GLADE_CFLAGS) -I$(top_srcdir) -DPACKAGE_PIXMAPS_DIR=\""$(datadir)/pixmaps/$(PACKAGE)\"" -DPACKAGE_DATA_DIR=\""$(datadir)/$(PACKAGE)"\"'
529 LIBANJUTA_LIBS='$(top_builddir)/libanjuta/libanjuta.la'
530 AC_SUBST(LIBANJUTA_CFLAGS)
531 AC_SUBST(LIBANJUTA_LIBS)
533 dnl Setup Plugin directories
534 dnl ------------------------
535 anjuta_plugin_dir='$(libdir)/anjuta'
536 anjuta_data_dir='$(datadir)/anjuta'
537 anjuta_ui_dir='$(datadir)/anjuta/ui'
538 anjuta_glade_dir='$(datadir)/anjuta/glade'
539 anjuta_image_dir='$(datadir)/pixmaps/anjuta'
540 AC_SUBST(anjuta_plugin_dir)
541 AC_SUBST(anjuta_data_dir)
542 AC_SUBST(anjuta_ui_dir)
543 AC_SUBST(anjuta_glade_dir)
544 AC_SUBST(anjuta_image_dir)
546 dnl ***************************************************************************
547 dnl Check for old vte version
548 dnl ***************************************************************************
549 PKG_CHECK_MODULES(VTE, vte >= $VTE_NEW_REQUIRED, OLD_VTE=0, OLD_VTE=1)
550 AC_SUBST(OLD_VTE)
551 AC_DEFINE_UNQUOTED(OLD_VTE, $OLD_VTE, [Old version of vte])
553 dnl ***************************************************************************
554 dnl Check for marshal and enum generators
555 dnl ***************************************************************************
556 GLIB_GENMARSHAL="`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`"
557 AC_SUBST(GLIB_GENMARSHAL)
558 GLIB_MKENUMS="`$PKG_CONFIG --variable=glib_mkenums glib-2.0`"
559 AC_SUBST(GLIB_MKENUMS)
561 dnl ***************************************************************************
562 dnl Internatinalization
563 dnl ***************************************************************************
564 GETTEXT_PACKAGE=anjuta
565 AC_SUBST(GETTEXT_PACKAGE)
566 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
567 AM_GLIB_GNU_GETTEXT
568 IT_PROG_INTLTOOL([0.35.0])
570 dnl ***************************************************************************
571 dnl Check for gtk-doc.
572 dnl ***************************************************************************
573 GTK_DOC_CHECK([1.4])
575 dnl ***************************************************************************
576 dnl Check for Gnome XML [Is this still required?]
577 dnl ***************************************************************************
578 dnl GNOME_XML_CHECK
580 dnl ***************************************************************************
581 dnl Check for ScrollKeeper [No documentation for now]
582 dnl ***************************************************************************
583 dnl AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
584 dnl if test x$SCROLLKEEPER_CONFIG = xno; then
585 dnl   AC_MSG_ERROR(Couldn't find scrollkeeper-config, please install the scrollkeeper package. You can get it from http://scrollkeeper.sourceforge.net/)
586 dnl fi
587 dnl SCROLLKEEPER_REQUIRED=0.1.4
588 dnl AC_SUBST(SCROLLKEEPER_REQUIRED)
590 dnl ***************************************************************************
591 dnl Checking for scrollkeeper version [No documentation for now]
592 dnl ***************************************************************************
593 dnl AC_MSG_CHECKING(for scrollkeeper version number)
594 dnl if scrollkeeper-config --version > /dev/null 2>&1; then 
595 dnl    version=`scrollkeeper-config --version`; \
596 dnl    vers=`echo $version | awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'`; \
597 dnl    AC_MSG_RESULT(found $version)
598 dnl    SCROLLKEEPER_VERSION_NUM=$vers
599 dnl else
600 dnl    AC_MSG_ERROR(Did not find scrollkeeper installed)
601 dnl fi
602 dnl AC_SUBST(SCROLLKEEPER_VERSION_NUM)
604 dnl ***************************************************************************
605 dnl Check for PCRE
606 dnl ***************************************************************************
607 dnl Check for PCRE
608 AC_PATH_PROG(PCRE_CONFIG, pcre-config,no)
609 if test x$PCRE_CONFIG = xno; then
610   AC_MSG_ERROR(Please install the PCRE package from http://www.pcre.org/)
612 PCRE_CFLAGS=`pcre-config --cflags`
613 PCRE_LIBS=`pcre-config --libs`
614 AC_SUBST(PCRE_LIBS)
615 AC_SUBST(PCRE_CFLAGS)
617 dnl ***************************************************************************
618 dnl Tagmanager checks.
619 dnl ***************************************************************************
621 dnl Define convenience macros
622 dnl -------------------------
623 dnl CHECK_HEADER_DEFINE(LABEL, HEADER [,ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ] ])
624 AC_DEFUN([CHECK_HEADER_DEFINE],
626         AC_MSG_CHECKING("if $1 is defined in $2")
627         AC_EGREP_CPP(yes,
628 [#include <$2>
629 #ifdef $1
630   yes
631 #endif
632 ], [
633         AC_MSG_RESULT(yes)
634         $3
635 ], [
636         AC_MSG_RESULT(no)
637         $4
638 ]) ])
640 dnl Checks for header files.
641 AC_CHECK_HEADERS(dirent.h fcntl.h fnmatch.h stat.h stdlib.h string.h stdint.h)
642 AC_CHECK_HEADERS(time.h types.h unistd.h)
643 AC_CHECK_HEADERS(sys/dir.h sys/stat.h sys/times.h sys/types.h)
645 dnl Checks for typedefs, structures, and compiler characteristics.
647 dnl Disable cygwin check until someone fixes that stupid autoconf warnings.
648 dnl AC_CYGWIN
649 dnl AC_MINGW
651 AC_C_CONST
652 AC_OBJEXT
653 AC_EXEEXT
655 AC_TYPE_SIZE_T
656 AC_TYPE_OFF_T
658 AC_MSG_CHECKING("for fpos_t")
659 AC_EGREP_HEADER(fpos_t, stdio.h, AC_MSG_RESULT(yes),
661     AC_MSG_RESULT(no)
662     AC_DEFINE(fpos_t, long, [fpos_t is type long])
665 AC_MSG_CHECKING("for clock_t")
666 AC_EGREP_HEADER(clock_t, time.h, AC_MSG_RESULT(yes),
668     AC_MSG_RESULT(no)
669     AC_DEFINE(clock_t, long, [clock_t is type long])
672 CHECK_HEADER_DEFINE(L_tmpnam, stdio.h,, AC_DEFINE(L_tmpnam, 20, [L_tmpname is 20]))
674 CHECK_HEADER_DEFINE(INT_MAX, limits.h,,
675     CHECK_HEADER_DEFINE(MAXINT, limits.h,
676         AC_DEFINE(INT_MAX, MAXINT, [Maximum int size]), AC_DEFINE(INT_MAX, 32767, [Maximum int size])))
678 AC_MSG_CHECKING(if struct stat contains st_ino)
679 AC_TRY_COMPILE([#include <sys/stat.h>], [
680     struct stat st;
681     stat(".", &st);
682     if (st.st_ino > 0)
683         exit(0);
684 ], have_st_ino=yes, have_st_ino=no)
685 AC_MSG_RESULT($have_st_ino)
686 if test yes = "$have_st_ino"; then
687     AC_DEFINE(HAVE_STAT_ST_INO,,[Have stat st_ino])
691 dnl Check for function forkpty in libutil
692 AC_CHECK_LIB(util, forkpty)
694 dnl Checks for library functions.
695 AC_CHECK_FUNCS(fnmatch)
696 AC_CHECK_FUNCS(strstr)
697 AC_CHECK_FUNCS(stricmp)
698 AC_CHECK_FUNCS(strnicmp)
699 AC_CHECK_FUNCS(getline)
701 AC_CHECK_FUNCS(fgetpos, have_fgetpos=yes)
703 dnl SEEK_SET should be in stdio.h, but may be in unistd.h on SunOS 4.1.x
704 if test "$have_fgetpos" != yes ; then
705     CHECK_HEADER_DEFINE(SEEK_SET, stdio.h,,
706         CHECK_HEADER_DEFINE(SEEK_SET, unistd.h,,
707             AC_DEFINE(SEEK_SET, 0, [Seek set 0])))
710 AC_CHECK_FUNCS(mkstemp, have_mkstemp=yes)
711 if test "$have_mkstemp" != yes ; then
712     AC_CHECK_FUNCS(chmod)
713     if test "$tmpdir_specified" = yes ; then
714         AC_MSG_RESULT(use of tmpnam overrides temporary directory selection)
715     fi
716 else
717     AC_MSG_CHECKING(directory to use for temporary files)
718     if test -z "$enable_tmpdir" -o "$enable_tmpdir" = no -o "$enable_tmpdir" = yes ;
719         then tmpdir=/tmp
720         else tmpdir="$enable_tmpdir"
721     fi
722     if test -d $tmpdir ; then
723         AC_MSG_RESULT($tmpdir)
724         AC_DEFINE_UNQUOTED(TMPDIR, "$tmpdir", [Directory for temporary files])
725     else
726         AC_MSG_WARN($tmpdir does not exist)
727     fi
730 AC_CHECK_FUNCS(strerror opendir)
731 AC_CHECK_FUNCS(clock times, break)
732 AC_CHECK_FUNCS(remove, have_remove=yes,
733     CHECK_HEADER_DEFINE(remove, unistd.h,, AC_DEFINE(remove, unlink, [Remove is unlink])))
735 AC_CHECK_FUNCS(truncate, have_truncate=yes)
736 dnl === Cannot nest AC_CHECK_FUNCS() calls
737 if test "$have_truncate" != yes  ; then
738     AC_CHECK_FUNCS(ftruncate, have_ftruncate=yes)
739     if test "$have_ftruncate" != yes ; then
740         AC_CHECK_FUNCS(chsize)
741     fi
744 AC_CHECK_FUNCS(setenv, have_setenv=yes)
745 dnl === Cannot nest AC_CHECK_FUNCS() calls
746 if test "$have_setenv" != yes ; then
747     AC_CHECK_FUNCS(putenv, have_putenv=yes)
748     if test "$have_putenv" = yes ; then
749         AC_EGREP_HEADER(putenv, stdlib.h, have_putenv_prototype=yes)
750         if test "$have_putenv_prototype" = yes ; then
751             AC_MSG_CHECKING("putenv prototype")
752             AC_EGREP_HEADER([[^A-Za-zo-9_]putenv[   ]*\(.*const.*\)[    ]*;],
753                 stdlib.h, AC_MSG_RESULT(correct),
754                 [
755                     AC_MSG_RESULT(no const)
756                     AC_DEFINE(NON_CONST_PUTENV_PROTOTYPE,,[putenv has non constant prototype])
757                 ])
758         fi
759     fi
763 dnl if test yes = "$CYGWIN"; then with_posix_regex=no; fi
764 if test no != "$with_posix_regex"; then
765     AC_CHECK_FUNCS(regcomp)
766     AC_MSG_CHECKING(if regcomp works)
767     AC_TRY_RUN([
768 #include <sys/types.h>
769 #include <regex.h>
770 main() {
771     regex_t patbuf;
772     exit (regcomp (&patbuf, "/hello/", 0) != 0);
773 }],regcomp_works=yes,regcomp_works=no,AC_DEFINE(CHECK_REGCOMP,,[Check regcomp]))
774     AC_MSG_RESULT($regcomp_works)
775     if test yes != "$regcomp_works"; then
776         AC_DEFINE(REGCOMP_BROKEN,,[Regcomp is broken])
777     fi
780 dnl -----------------------------
781 dnl Checks for FreeBSD Build
782 dnl -----------------------------
783 AC_MSG_CHECKING(if building on FreeBSD)
785 if test `uname -s` = "FreeBSD" ; then
786         AC_MSG_RESULT(yes)
787         FREEBSD_BUILD=-DFREEBSD
788         AC_SUBST(FREEBSD_BUILD)
789         AC_PATH_PROG(GMAKE, gmake, no)
790         if test "x$GMAKE" = "xno"; then
791                 AC_ERROR(You need gmake installed to build Anjuta!)
792         fi
793 else
794         AC_MSG_RESULT(no)
795         GMAKE="make"
798 AC_SUBST(GMAKE)
800 dnl Checks for missing prototypes
801 dnl -----------------------------
802 AC_CHECKING("for missing prototypes")
804 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))])
806 if test "$have_remove" = yes ; then
807     CHECK_PROTO(remove, stdio.h)
808 else
809     CHECK_PROTO(unlink, unistd.h)
811 CHECK_PROTO(malloc, stdlib.h)
812 CHECK_PROTO(getenv, stdlib.h)
813 CHECK_PROTO(stat,   sys/stat.h)
814 CHECK_PROTO(lstat,  sys/stat.h)
815 if test "$have_fgetpos" = yes ; then
816     CHECK_PROTO(fgetpos, stdio.h)
818 if test "$have_truncate" = yes ; then
819     CHECK_PROTO(truncate, unistd.h)
821 if test "$have_ftruncate" = yes ; then
822     CHECK_PROTO(ftruncate, unistd.h)
825 dnl  **********************************************************
826 dnl  check if we have svn libraries to build subversion plugin
827 dnl  (stolen from kdevelop ;-)
828 dnl  **********************************************************
830 AC_MSG_CHECKING(for Subversion svn-config)
831 AC_ARG_WITH(subversion-dir,
832                 [  --with-subversion-dir=DIR           where Subversion is installed ],
833                 [
834                                 SVNCONFIG="$withval/bin/svn-config"
835                 ])
837 if test -z "$SVNCONFIG"; then
838                 _SVNCONFIG="`svn-config --prefix 2> /dev/null`"
839                 if test -n "$_SVNCONFIG"; then
840                                 SVNCONFIG="$_SVNCONFIG/bin/svn-config"
841                 fi
844 AC_SUBST(SVNCONFIG)
845 if test -x "$SVNCONFIG"; then
846                 SVNLD="`$SVNCONFIG --ldflags 2> /dev/null`"
847                 SVN_LIB="`$SVNCONFIG --libs --cflags 2> /dev/null` -lsvn_client-1 -lsvn_subr-1"
848                 dnl ugly hack for subversion svn-config problems in 0.14.x, to be removed when svn-config is fixed
849                 SVN_INCLUDE="`$SVNCONFIG --includes 2> /dev/null` -I$_SVNCONFIG/include/subversion-1/"
850                 AC_MSG_RESULT(yes)
851 else
852                 AC_MSG_RESULT(not found)
853                 
854                 dnl just a fallback to debian's config so that it works for me :)
855                 AC_ARG_WITH(svn-include,
856                                                                 [[  --with-svn-include=DIR   Use the given path to the subversion headers.]],
857                                                                 [
858                                                                 if test "$withval" != "yes" -a "$withval" != ""; then
859                                                                                 SVN_INCLUDES=$withval
860                                                                 fi
861                                                                 ])
862                 if test -z "$SVN_INCLUDES"; then
863                         SVN_INCLUDES="/usr/local/include /usr/include"
864                 fi
865                 AC_MSG_CHECKING([for Subversion headers])
866                 SVN_INCLUDE=""
867                 for VALUE in $SVN_INCLUDES ; do
868                                 if test -f $VALUE/subversion-1/svn_types.h ; then
869                                                 SVN_INCLUDE=$VALUE/subversion-1
870                                                 break
871                                 fi
872                                 if test -f $VALUE/svn_types.h ; then
873                                                 SVN_INCLUDE=$VALUE
874                                                 break
875                                 fi
876                 done
877                 if test $SVN_INCLUDE ; then
878                                 AC_MSG_RESULT([found])
879                 else
880                                 AC_MSG_RESULT([not found])
881                 fi
882                 SVN_LIBS="/usr/local/lib /usr/lib"
883                 AC_ARG_WITH(svn-lib,
884                                                 [[  --with-svn-lib=DIR  Use the given path to the subversion libraries.]],
885                                                 [
886                                                         if test "$withval" != "yes" -a "$withval" != ""; then
887                                                                 SVN_LIBS=$withval
888                                                         fi
889                                                 ])
890                 AC_MSG_CHECKING([for Subversion libraries])
891                 SVN_LIB=""
892                 for VALUE in $SVN_LIBS ; do
893                                 if ls $VALUE/libsvn_client-1.* 1>/dev/null 2>&1; then
894                                                 SVN_LIB=$VALUE
895                                                 break
896                                 fi
897                 done
898                 if test $SVN_LIB ; then
899                                 AC_MSG_RESULT([found])
900                 else
901                                 AC_MSG_RESULT([not found])
902                 fi
905 dnl ******************************************************************
906 dnl Check for extra libs required by subversion.
907 dnl FIXME: This should actually be done by subversion and not by us.
908 dnl ******************************************************************
910 AC_ARG_ENABLE(plugin-subversion,
911   [  --disable-plugin-subversion        Disable subversion support in Anjuta.],
912   [ if test "$enableval" = "no"; then
913         user_disabled_subversion=1
914     fi ],
915   [ user_disabled_subversion=0 ] )
917 AC_MSG_CHECKING(if subversion support is disabled)
918 if test "$user_disabled_subversion" = 1; then
919         AC_MSG_RESULT(yes)
920         SVN_INCLUDE=""
921         SVN_LIB=""
922 else
923         AC_MSG_RESULT(no)
926 if test -n "$SVN_INCLUDE" ; then
927         dnl ------------------------------------
928         dnl APR. Required by subversion (devel)
929         dnl ------------------------------------
930         
931         APR_CONFIGS="apr-config /usr/local/apr/bin/apr-config/ apr-1-config "
932         AC_ARG_WITH(apr-config,
933         [[  --with-apr-config=FILE    Use the given path to apr-config when determining
934                                                                 APR configuration; defaults to "apr-config"]],
935         [
936         if test "$withval" != "yes" -a "$withval" != ""; then
937           APR_CONFIGS=$withval
938         fi
939         ])
940         AC_MSG_CHECKING([for APR])
941         APR_CONFIG=""
942         for VALUE in $APR_CONFIGS ; do
943                         if $VALUE --cflags > /dev/null 2>&1 ; then
944                                         APR_CONFIG=$VALUE
945                                         break
946                         fi
947         done
948         test $VALUE && APR_CONFIG=$VALUE
949         if test $APR_CONFIG ; then
950                 AC_MSG_RESULT([found])
951                 APR_CFLAGS="`$APR_CONFIG --cflags` `$APR_CONFIG --cppflags`"
952                 APR_INCLUDE="`$APR_CONFIG --includes`"
953                 APR_LIBS="`$APR_CONFIG --link-ld --libs`"
954         else
955                 AC_MSG_RESULT([not found])
956                 dnl AC_MSG_ERROR([APR is required. Try --with-apr-config.])
957         fi
958         
959         dnl -----------------------------------------
960         dnl APR util. Required by subversion (devel)
961         dnl------------------------------------------
962         
963         APU_CONFIGS="apu-config /usr/local/apr/bin/apu-config apu-1-config"
964         AC_ARG_WITH(apu-config,
965         [[  --with-apu-config=FILE    Use the given path to apu-config when determining
966                                                                 APR util configuration; defaults to "apu-config"]],
967         [
968                 if test "$withval" != "yes" -a "$withval" != ""; then
969                         APU_CONFIGS=$withval
970                 fi
971         ])
972         AC_MSG_CHECKING([for APR util])
973         APU_CONFIG=""
974         for VALUE in $APU_CONFIGS ; do
975                         if $VALUE --includes > /dev/null 2>&1 ; then
976                                         APU_CONFIG=$VALUE
977                                         break
978                         fi
979         done
980         if test $APU_CONFIG ; then
981                 AC_MSG_RESULT([found])
982                 APR_INCLUDE="$APR_INCLUDE `$APU_CONFIG --includes`"
983                 APR_LIBS="$APR_LIBS `$APU_CONFIG --link-ld --libs`"
984         else
985                 AC_MSG_RESULT([not found])
986         fi
987         
988         dnl -----------------------------------------
989         dnl NEON. Required by subversion (devel)
990         dnl------------------------------------------
992         dnl Check for neon. It is required by subversion libs, but for
993         dnl for some strange reason it's not in it's dependencies.
994         dnl subversion plugin will be disabled if neon (devel) is not
995         dnl installed, even if subversion (devel) is installed.
997         NEON_CONFIGS="neon-config"
998         AC_ARG_WITH(neon-config,
999         [[  --with-neon-config=FILE    Use the given path to neon-config when determining
1000                                                                 Neon configuration; defaults to "neon-config"]],
1001         [
1002                 if test "$withval" != "yes" -a "$withval" != ""; then
1003                         NEON_CONFIGS=$withval
1004                 fi
1005         ])
1006         AC_MSG_CHECKING([for Neon])
1007         NEON_CONFIG=""
1008         for VALUE in $NEON_CONFIGS ; do
1009                         if $VALUE --cflags > /dev/null 2>&1 ; then
1010                                         NEON_CONFIG=$VALUE
1011                                         break
1012                         fi
1013         done
1014         if test $NEON_CONFIG ; then
1015                 AC_MSG_RESULT([found])
1016         else
1017                 AC_MSG_RESULT([not found])
1018                 SVN_INCLUDE=""
1019                 SVN_LIB=""
1020         fi
1023 dnl ------------------------------------------
1024 dnl Finally prepare subversion build flags
1025 dnl ------------------------------------------
1027 if test -n "$SVN_INCLUDE" ; then
1028         SVN_INCLUDE="-I$SVN_INCLUDE $APR_INCLUDE"
1029         SVN_LIB="-L$SVN_LIB $APR_LIBS -lsvn_client-1 -lsvn_subr-1"
1030         SVN_CFLAGS="$APR_CFLAGS"
1033 AM_CONDITIONAL(BUILD_SVN, [test -n "$SVN_INCLUDE"])
1034 AC_SUBST(SVN_INCLUDE)
1035 AC_SUBST(SVN_LIB)
1036 AC_SUBST(SVN_CFLAGS)
1038 dnl --------- help outputs -----------
1039 dnl manuals/C/Makefile
1040 dnl manuals/C/anjuta-tutorial/Makefile
1041 dnl manuals/C/anjuta-advanced-tutorial/Makefile
1042 dnl manuals/C/anjuta-faqs/Makefile
1043 dnl manuals/C/anjuta-manual/Makefile
1044 dnl manuals/de/Makefile
1045 dnl manuals/de/anjuta-tutorial/Makefile
1046 dnl manuals/ja/Makefile
1047 dnl manuals/ja/anjuta-faqs/Makefile
1048 dnl manuals/ja/anjuta-manual/Makefile
1050 AC_OUTPUT([
1051 Makefile
1052 po/Makefile.in
1053 tagmanager/Makefile
1054 tagmanager/include/Makefile
1055 global-tags/Makefile
1056 libegg/Makefile
1057 libegg/util/Makefile
1058 libegg/treeviewutils/Makefile
1059 libegg/menu/Makefile
1060 libegg/recent-files/Makefile
1061 anjuta.spec
1062 libanjuta/Makefile
1063 libanjuta/libanjuta-1.0.pc
1064 libanjuta/interfaces/Makefile
1065 src/Makefile
1066 pixmaps/Makefile
1067 data/Makefile
1068 data/welcome.txt
1069 data/properties/Makefile
1070 doc/anjuta.1
1071 doc/anjuta_launcher.1
1072 doc/Makefile
1073 scripts/Makefile
1074 scripts/anjuta_import.sh
1075 launcher/Makefile
1076 plugins/Makefile
1077 plugins/sample1/Makefile
1078 plugins/gtodo/Makefile
1079 plugins/class-gen/Makefile
1080 plugins/class-gen/templates/Makefile
1081 plugins/patch/Makefile
1082 plugins/editor/Makefile
1083 plugins/editor/scintilla/Makefile
1084 plugins/editor/scintilla/include/Makefile
1085 plugins/document-manager/Makefile
1086 plugins/search/Makefile
1087 plugins/message-view/Makefile
1088 plugins/gdb/Makefile
1089 plugins/gdb/images/Makefile
1090 plugins/debug-manager/Makefile
1091 plugins/debug-manager/images/Makefile
1092 plugins/devhelp/Makefile
1093 plugins/glade/Makefile
1094 plugins/file-manager/Makefile
1095 plugins/file-loader/Makefile
1096 plugins/file-wizard/Makefile
1097 plugins/terminal/Makefile
1098 plugins/build-basic-autotools/Makefile
1099 plugins/profiler/Makefile
1100 plugins/project-manager/Makefile
1101 plugins/symbol-browser/Makefile
1102 plugins/symbol-browser/images/Makefile
1103 plugins/cvs-plugin/Makefile
1104 plugins/project-wizard/Makefile
1105 plugins/macro/Makefile
1106 plugins/subversion/Makefile
1107 plugins/sourceview/Makefile
1108 plugins/tools/Makefile
1109 plugins/tools/scripts/Makefile
1110 plugins/class-inheritance/Makefile
1111 plugins/valgrind/Makefile
1112 plugins/project-import/Makefile
1113 plugins/project-wizard/templates/Makefile
1114 plugins/project-wizard/templates/mkfile/Makefile
1115 plugins/project-wizard/templates/mkfile/src/Makefile
1116 plugins/project-wizard/templates/mkfile/po/Makefile
1117 plugins/project-wizard/templates/minimal/Makefile
1118 plugins/project-wizard/templates/terminal/Makefile
1119 plugins/project-wizard/templates/terminal/src/Makefile
1120 plugins/project-wizard/templates/terminal/po/Makefile
1121 plugins/project-wizard/templates/cpp/Makefile
1122 plugins/project-wizard/templates/cpp/src/Makefile
1123 plugins/project-wizard/templates/cpp/po/Makefile
1124 plugins/project-wizard/templates/gtk/Makefile
1125 plugins/project-wizard/templates/gtk/src/Makefile
1126 plugins/project-wizard/templates/gtk/po/Makefile
1127 plugins/project-wizard/templates/anjuta-plugin/Makefile
1128 plugins/project-wizard/templates/anjuta-plugin/src/Makefile
1129 plugins/project-wizard/templates/anjuta-plugin/po/Makefile
1130 plugins/project-wizard/templates/gnome/Makefile
1131 plugins/project-wizard/templates/gnome/src/Makefile
1132 plugins/project-wizard/templates/gnome/po/Makefile
1133 plugins/project-wizard/templates/gtkmm/Makefile
1134 plugins/project-wizard/templates/gtkmm/src/Makefile
1135 plugins/project-wizard/templates/gtkmm/po/Makefile
1136 plugins/project-wizard/templates/gcj/Makefile
1137 plugins/project-wizard/templates/gcj/src/Makefile
1138 plugins/project-wizard/templates/java/Makefile
1139 plugins/project-wizard/templates/java/src/Makefile
1140 plugins/project-wizard/templates/java/po/Makefile
1141 plugins/project-wizard/templates/python/Makefile
1142 plugins/project-wizard/templates/python/src/Makefile
1143 plugins/project-wizard/templates/python/po/Makefile
1144 plugins/project-wizard/templates/wxwin/Makefile
1145 plugins/project-wizard/templates/wxwin/src/Makefile
1146 plugins/project-wizard/templates/wxwin/po/Makefile
1147 plugins/project-wizard/templates/xlib/Makefile
1148 plugins/project-wizard/templates/xlib/src/Makefile
1149 plugins/project-wizard/templates/xlib/po/Makefile
1150 plugins/project-wizard/templates/xlib-dock/Makefile
1151 plugins/project-wizard/templates/xlib-dock/src/Makefile
1152 plugins/project-wizard/templates/xlib-dock/po/Makefile
1153 plugins/project-wizard/templates/sdl/Makefile
1154 plugins/project-wizard/templates/sdl/src/Makefile
1155 plugins/project-wizard/templates/sdl/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 "-------------------------------------------------------------------"