1AC_PREREQ(2.50)
2
3m4_include([revision.m4])
4
5AC_INIT([codeblocks], SVN_REVISION)
6
7AC_CANONICAL_TARGET
8
9AC_CONFIG_MACRO_DIR([m4])
10
11AC_MSG_CHECKING([whether configure should try to set CFLAGS/CXXFLAGS/CPPFLAGS/LDFLAGS])
12AS_IF([test "x${CFLAGS+set}" = "xset" || test "x${CXXFLAGS+set}" = "xset" || test "x${CPPFLAGS+set}" = "xset" || test "x${LDFLAGS+set}" = "xset"],[enable_flags_setting=no],[enable_flags_setting=yes])
13AC_MSG_RESULT([${enable_flags_setting}])
14
15m4_include([m4/acinclude.m4])
16m4_include([m4/ax_cxx_compile_stdcxx.m4])
17m4_include([m4/ax_boost_base.m4])
18m4_include([m4/ax_boost_system.m4])
19
20CODEBLOCKS_CHECK_DEBUG
21
22AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip subdir-objects])
23
24AC_DISABLE_STATIC
25
26LT_INIT
27
28AC_CONFIG_HEADER([src/include/config.h])
29
30m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
31
32AM_CONDITIONAL([LINUX], [test `uname` = "Linux"])
33AM_CONDITIONAL([DARWIN], [test `uname` = "Darwin"])
34
35dnl Checks for programs.
36AC_PROG_CXX
37AC_PROG_CPP
38AC_PROG_CC
39AM_PROG_CC_C_O
40AC_PROG_INSTALL
41AC_PROG_LN_S
42AC_PROG_MAKE_SET
43AC_PROG_AWK
44
45CODEBLOCKS_CHECK_LINK_FLAG([-Wl,--no-undefined],[LDFLAGS="-Wl,--no-undefined $LDFLAGS"])
46
47CODEBLOCKS_SETUP_FOR_TARGET
48
49dnl Checks for header files.
50AC_HEADER_DIRENT
51AC_HEADER_STDC
52AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h sys/param.h unistd.h malloc.h sys/malloc.h malloc/malloc.h])
53
54dnl Checks for typedefs, structures, and compiler characteristics.
55AC_HEADER_STDBOOL
56AC_C_CONST
57AC_C_INLINE
58AC_TYPE_SIZE_T
59AC_HEADER_TIME
60AC_C_VOLATILE
61
62dnl Checks for library functions.
63AC_FUNC_CLOSEDIR_VOID
64AC_FUNC_MALLOC
65AC_FUNC_MEMCMP
66AC_FUNC_STAT
67AC_FUNC_VPRINTF
68AC_CHECK_FUNCS([atexit getcwd isascii memchr memmove memset strcasecmp strchr strcspn strdup strrchr strstr])
69AC_CHECK_LIB(dl, dlopen)
70AC_CHECK_LIB(pthread, pthread_create)
71AC_CHECK_FUNC(snprintf, AC_DEFINE(HAVE_SNPRINTF,,snprintf))
72AC_CHECK_FUNC(vsnprintf, AC_DEFINE(HAVE_VSNPRINTF,,vsnprintf))
73
74PKG_CHECK_MODULES([zlib], [zlib], [HAVE_ZLIB=yes], [HAVE_ZLIB=no])
75save_LIBS=$LIBS
76AC_SEARCH_LIBS(BZ2_bzopen, bz2, [HAVE_BZIP2=yes], [HAVE_BZIP2=no])
77LIBS=$save_LIBS
78
79save_CC=$CC
80save_CPP=$CPP
81CC=$CXX
82CPP=$CXXCPP
83AC_CHECK_HEADER(astyle.h, [HAVE_ASTYLE=yes], [HAVE_ASTYLE=no])
84
85dnl check if system astyle is at least 3.0, otherwise use bundled astyle-library
86dnl ASPeekStream is declared since 3.0
87if test "$HAVE_ASTYLE" = "yes" ; then
88	AC_CHECK_TYPE([astyle::ASPeekStream], , [HAVE_ASTYLE=no], [#include "astyle.h"])
89else
90	HAVE_ASTYLE=no
91fi
92
93CC=$save_CC
94CPP=$save_CPP
95
96AM_CONDITIONAL([HAVE_ZLIB], [test "$HAVE_ZLIB" = yes])
97AM_CONDITIONAL([HAVE_BZIP2], [test "$HAVE_BZIP2" = yes])
98
99AM_CONDITIONAL([HAVE_ASTYLE], [test "$HAVE_ASTYLE" = yes])
100
101AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes, no)
102
103ifdef([PKG_CHECK_MODULES],[],[
104	define([PKG_CHECK_MODULES],
105	[ echo "You don't have pkg.m4 properly installed" >&2
106		exit 1
107	])
108])
109
110PKG_PROG_PKG_CONFIG
111PKG_CHECK_MODULES([SQUIRREL], [squirrel], [HAVE_SQUIRREL=yes], [HAVE_SQUIRREL=no])
112AM_CONDITIONAL([HAVE_SQUIRREL], [test "$HAVE_SQUIRREL" = yes])
113
114PKG_CHECK_MODULES([TINYXML], [tinyxml], [HAVE_TINYXML=yes], [HAVE_TINYXML=no])
115AM_CONDITIONAL([HAVE_TINYXML], [test "$HAVE_TINYXML" = yes])
116
117dnl Darwin -> .dylib  Linux -> .so
118if test "x$DARWIN_TRUE" = "x" ; then
119    MODULE_SHARED_LDFLAGS="-dynamiclib"
120else
121    MODULE_SHARED_LDFLAGS="-module -shared"
122fi
123AC_SUBST(MODULE_SHARED_LDFLAGS)
124
125dnl versioning info for libtool
126dnl Note this is the ABI version which is not the same as our actual library version
127CODEBLOCKS_CURRENT=0
128CODEBLOCKS_REVISION=1
129CODEBLOCKS_AGE=0
130CODEBLOCKS_VERSION_INFO=$CODEBLOCKS_CURRENT:$CODEBLOCKS_REVISION:$CODEBLOCKS_AGE
131AC_SUBST(CODEBLOCKS_VERSION_INFO)
132
133AM_MISSING_PROG(AMTAR, tar)
134_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
135              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
136                             [_AM_PROG_TAR([v7])])])
137
138CODEBLOCKS_GET_PLATFORM
139CODEBLOCKS_ENABLE_SETTINGS
140
141AM_OPTIONS_WXCONFIG
142AM_PATH_WXCONFIG(2.8.12, wxWin=1)
143    if test "$wxWin" != 1; then
144        AC_MSG_ERROR([
145                wxWidgets must be installed on your system.
146
147                Please check that wx-config is in path, the directory
148                where wxWidgets libraries are installed (returned by
149                'wx-config --libs' or 'wx-config --static --libs' command)
150                is in LD_LIBRARY_PATH or equivalent variable and
151                wxWindows version is 2.8.0 or above.
152                ])
153	else
154		# check for wx2.8.3 which is known to behave badly for us
155		if test "$WX_VERSION" = "2.8.3"; then
156			AC_MSG_ERROR([
157		wxWidgets version 2.8.3 is known to behave badly with
158		Code::Blocks. Please upgrade to a newer (or downgrade to an
159		earlier) wxWidgets version...
160			])
161		fi
162    fi
163
164dnl		CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
165dnl		CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
166dnl		CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
167dnl		LIBS="$LIBS $WX_LIBS"
168
169AC_SUBST(CPPFLAGS)
170AC_SUBST(CXXFLAGS)
171AC_SUBST(CFLAGS)
172AC_SUBST(LIBS)
173
174WX_GTK_CFLAGS=
175WX_GTK_LIBS=
176WX_GDK_CFLAGS=
177WX_GDK_LIBS=
178WX_X11_CFLAGS=
179WX_X11_LIBS=
180
181dnl default value is to (silently) do nothing in the makefile
182POSTLINK_COMMAND="@true"
183MACSETFILE="@true"
184
185AC_MSG_CHECKING(for wxWidgets platform)
186WX_BASENAME=`$WX_CONFIG_WITH_ARGS --basename`
187case $WX_BASENAME in
188    *wx_gtk*)
189        AC_MSG_RESULT(wxGTK)
190		dnl
191		dnl pkg-config no longer needed by debugger plugin
192		dnl but is needed by others
193		dnl
194		dnl only do this if it is really needed
195		dnl AM_CONDITIONAL adds _TRUE and _FALSE to the appropriate variables
196		dnl if the condition is true, the *_TRUE variable is empty (!)
197		if test "x$BUILD_FILEMANAGER_TRUE" = "x" -o \
198				"x$BUILD_SPELLCHECKER_TRUE" = "x" -o \
199				"x$BUILD_MOUSESAP_TRUE" = "x" -o \
200				"x$BUILD_EXPORTER_TRUE" = "x" -o \
201				"x$GTK_NOTEBOOK_TRUE" = "x" -o \
202				"x$LINUX_TRUE" = "x" ; then
203
204			if test "x$LINUX_TRUE" = "x" ; then
205				if test "x$HAVE_PKG_CONFIG" = "xyes"; then
206					PKG_CHECK_MODULES([GLIB2], [glib-2.0])
207				fi
208			fi
209
210			if test "x$BUILD_SPELLCHECKER_TRUE" = "x" ; then
211				if test "x$HAVE_PKG_CONFIG" = "xyes"; then
212					PKG_CHECK_MODULES([HUNSPELL], [hunspell])
213				fi
214			fi
215
216			if test "x$BUILD_MOUSESAP_TRUE" = "x"  -o \
217					"x$GTK_NOTEBOOK_TRUE" = "x" ; then
218				if test "x$HAVE_PKG_CONFIG" = "xyes"; then
219					case $WX_BASENAME in
220						*wx_gtk3*)
221							AC_MSG_NOTICE([gtk3 used])
222							PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.0.0])
223							AC_MSG_NOTICE([gdk3 used])
224							PKG_CHECK_MODULES([GDK], [gdk-3.0 >= 3.0.0])
225						;;
226						*wx_gtk2*)
227							AC_MSG_NOTICE([gtk2 used])
228							PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.0.0])
229							AC_MSG_NOTICE([gdk2 used])
230							PKG_CHECK_MODULES([GDK], [gdk-2.0 >= 2.0.0])
231						;;
232					esac
233				fi
234			fi
235
236			if test "x$BUILD_FILEMANAGER_TRUE" = "x" ; then
237				if test "x$HAVE_PKG_CONFIG" = "xyes"; then
238					PKG_CHECK_MODULES([GAMIN], [gamin])
239				fi
240			fi
241
242			if test "x$BUILD_EXPORTER_TRUE" = "x" ; then
243				if test "x$HAVE_PKG_CONFIG" = "xyes"; then
244					PKG_CHECK_MODULES([FONTCONFIG], [fontconfig])
245				fi
246			fi
247
248		fi
249
250		if test "x$BUILD_NASSISHNEIDERMAN_TRUE" = "x" ; then
251			dnl Check whether boost is installed
252			AX_BOOST_BASE
253			AX_BOOST_SYSTEM
254		fi
255
256		CB_GLIB2_CFLAGS="$GLIB2_CFLAGS"
257		CB_GLIB2_LIBS="$GLIB2_LIBS"
258		CB_GAMIN_CFLAGS="$GAMIN_CFLAGS"
259		CB_GAMIN_LIBS="$GAMIN_LIBS"
260		CB_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
261		CB_HUNSPELL_LIBS="$HUNSPELL_LIBS"
262		CB_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
263		CB_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
264		WX_GTK_CFLAGS="$GTK_CFLAGS"
265		WX_GTK_LIBS="$GTK_LIBS"
266		WX_GDK_CFLAGS="$GDK_CFLAGS"
267		WX_GDK_LIBS="$GDK_LIBS"
268		AC_PATH_XTRA
269		WX_X11_CFLAGS="`echo $X_CFLAGS | sed 's/ -INONE//'`"
270		WX_X11_LIBS="`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`"
271		if test "$no_x" != yes; then
272			WX_X11_LIBS="$WX_X11_LIBS -lX11 $X_EXTRA_LIBS"
273		fi
274    ;;
275    *wx_msw*)
276        AC_MSG_RESULT(wxMSW)
277    ;;
278    *wx_mac*)
279        AC_MSG_RESULT(wxMac)
280        AC_CHECK_PROG(REZ, Rez, Rez, /Developer/Tools/Rez)
281        POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
282        AC_CHECK_PROG(SETFILE, SetFile, SetFile, /Developer/Tools/SetFile)
283        MACSETFILE="\$(SETFILE)"
284    ;;
285    *wx_osx*)
286        AC_MSG_RESULT(wxOSX)
287
288        if test "x$BUILD_SPELLCHECKER_TRUE" = "x" ; then
289
290            AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes, no)
291            ifdef([PKG_CHECK_MODULES],[],[
292                define([PKG_CHECK_MODULES],
293                [ echo "You don't have pkg.m4 properly installed" >&2
294                    exit 1
295                ])
296            ])
297            PKG_PROG_PKG_CONFIG
298
299            if test "x$HAVE_PKG_CONFIG" = "xyes"; then
300                PKG_CHECK_MODULES([HUNSPELL], [hunspell])
301            fi
302        fi
303        CB_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
304        CB_HUNSPELL_LIBS="$HUNSPELL_LIBS"
305    ;;
306    *)
307        AC_MSG_RESULT(other)
308    ;;
309esac
310
311CB_GCC_VERSION
312AM_CONDITIONAL([HAVE_GCC48], [test $GCC_MAJOR_VERSION -gt 4 -o $GCC_MAJOR_VERSION -eq 4 -a $GCC_MINOR_VERSION -ge 8])
313
314AC_MSG_CHECKING([for wxWidgets >= 2.9.0])
315AM_CONDITIONAL([HAVE_WX29], [test $wx_config_major_version -gt 2 -o $wx_config_major_version -eq 2 -a $wx_config_minor_version -ge 9])
316
317if test "x$HAVE_WX29_TRUE" = "x" ; then
318    AC_MSG_RESULT(yes (version $WX_VERSION))
319    AC_MSG_NOTICE([(Re)setting libs for wxWidgets $WX_VERSION])
320    WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs std,aui,propgrid,richtext`
321    WXPROPGRID_DIR=
322    WXPROPGRID_LIB=
323    WXPROPGRID_INCLUDE=
324    SCINTILLA_GTK_CFLAGS="$WX_GDK_CFLAGS"
325    SCINTILLA_GTK_LIBS="$WX_GDK_LIBS"
326else
327    AC_MSG_RESULT(no)
328    WXPROPGRID_DIR=wxpropgrid
329    WXPROPGRID_LIB=wxpropgrid/libwxpropgrid.la
330    WXPROPGRID_INCLUDE=-I\$\(top_srcdir\)/src/sdk/wxpropgrid/include
331
332    if test "x$HAVE_GCC48_TRUE" = "x" ; then
333	gcc48_flags="-Wno-unused-local-typedefs"
334        AC_MSG_NOTICE([setting additional flags for gcc $GCC_FULL_VERSION]: $gcc48_flags)
335        CXXFLAGS="$gcc48_flags $CXXFLAGS"
336    fi
337    SCINTILLA_GTK_CFLAGS="$WX_GTK_CFLAGS $WX_GDK_CFLAGS"
338    SCINTILLA_GTK_LIBS="$WX_GTK_LIBS $WX_GDK_LIBS"
339fi
340
341if test "x$HAVE_SQUIRREL_TRUE" = "x" ; then
342	CB_SQUIRREL_CFLAGS="$SQUIRREL_CFLAGS"
343	CB_SQUIRREL_LIBS="$SQUIRREL_LIBS"
344else
345	CB_SQUIRREL_CFLAGS="-I\$(top_srcdir)/src/include/scripting/include"
346	CB_SQUIRREL_LIBS="\$(top_builddir)/src/sdk/scripting/squirrel/libsquirrel.la \$(top_builddir)/src/sdk/scripting/sqstdlib/libsqstdlib.la"
347fi
348
349if test "x$HAVE_TINYXML_TRUE" = "x" ; then
350	CB_TINYXML_CFLAGS="$TINYXML_CFLAGS"
351	CB_TINYXML_LIBS="$TINYXML_LIBS"
352else
353	CB_TINYXML_CFLAGS="-I\$(top_srcdir)/src/include/tinyxml -DTIXML_USE_STL=YES"
354	CB_TINYXML_LIBS="\$(top_builddir)/src/base/tinyxml/libtinyxml.la"
355fi
356
357AC_SUBST(CB_SQUIRREL_CFLAGS)
358AC_SUBST(CB_SQUIRREL_LIBS)
359AC_SUBST(CB_TINYXML_CFLAGS)
360AC_SUBST(CB_TINYXML_LIBS)
361AC_SUBST(WX_GTK_CFLAGS)
362AC_SUBST(WX_GTK_LIBS)
363AC_SUBST(SCINTILLA_GTK_CFLAGS)
364AC_SUBST(SCINTILLA_GTK_LIBS)
365AC_SUBST(CB_GLIB2_CFLAGS)
366AC_SUBST(CB_GLIB2_LIBS)
367AC_SUBST(CB_GAMIN_CFLAGS)
368AC_SUBST(CB_GAMIN_LIBS)
369AC_SUBST(CB_HUNSPELL_CFLAGS)
370AC_SUBST(CB_HUNSPELL_LIBS)
371AC_SUBST(CB_FONTCONFIG_CFLAGS)
372AC_SUBST(CB_FONTCONFIG_LIBS)
373AC_SUBST(WX_X11_CFLAGS)
374AC_SUBST(WX_X11_LIBS)
375AC_SUBST(WXPROPGRID_DIR)
376AC_SUBST(WXPROPGRID_LIB)
377AC_SUBST(WXPROPGRID_INCLUDE)
378AC_SUBST(WXPROPGRID_HEADERS)
379
380AC_SUBST(POSTLINK_COMMAND)
381AC_SUBST(MACSETFILE)
382
383PIC_FLAGS=
384
385AC_MSG_CHECKING(for PIC flags)
386case `uname` in
387    Solaris)
388        if test "$GCC" = yes; then
389            PIC_CFLAGS="-fPIC"
390        else
391            PIC_CFLAGS="-KPIC"
392        fi
393    ;;
394    *)
395        PIC_CFLAGS="-fPIC"
396    ;;
397esac
398AC_MSG_RESULT("$PIC_CFLAGS -DPIC")
399
400CFLAGS="$CFLAGS $PIC_CFLAGS -std=c90"
401CPPFLAGS="$CPPFLAGS -DPIC $CB_TINYXML_CFLAGS"
402CXXFLAGS="$CXXFLAGS $PIC_CFLAGS -fexceptions"
403AC_SUBST(codeblocks_PCH_FLAGS, "$PCH_FLAGS")
404
405AX_CXX_COMPILE_STDCXX(11, noext)
406
407dnl AM_PATH_GTK(1.2.7, ,
408dnl             AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?),
409dnl             gthread)
410
411AC_MSG_NOTICE([Configuring Code::Blocks...])
412AC_MSG_NOTICE(SVN revision SVN_REVISION (SVN_DATE))
413AC_SUBST(REVISION, SVN_REV)
414AC_SUBST(DATE, "SVN_DATE")
415
416if test "x${target_vendor}" = "xapple"; then
417    AC_CONFIG_FILES([bundle.sh], [chmod +x bundle.sh])
418    AC_CONFIG_FILES(codeblocks.plist)
419fi
420
421AC_CONFIG_FILES([Makefile
422	src/Makefile
423	src/base/Makefile
424	src/base/tinyxml/Makefile
425	src/build_tools/Makefile
426	src/build_tools/autorevision/Makefile
427	src/include/autorevision.h
428	src/include/Makefile
429	src/include/scripting/Makefile
430	src/include/scripting/bindings/Makefile
431	src/include/scripting/include/Makefile
432	src/include/scripting/sqplus/Makefile
433	src/include/scripting/sqstdlib/Makefile
434	src/include/scripting/squirrel/Makefile
435	src/include/tinyxml/Makefile
436	src/sdk/Makefile
437	src/sdk/wxpropgrid/Makefile
438	src/sdk/scripting/Makefile
439	src/sdk/scripting/bindings/Makefile
440	src/sdk/scripting/squirrel/Makefile
441	src/sdk/scripting/sqstdlib/Makefile
442	src/sdk/scripting/sqplus/Makefile
443	src/sdk/wxscintilla/Makefile
444	src/sdk/resources/Makefile
445	src/sdk/resources/lexers/Makefile
446	src/src/resources/Makefile
447	src/src/resources/icons/Makefile
448	src/src/resources/images/Makefile
449	src/src/resources/images/settings/Makefile
450	src/src/Makefile
451	src/plugins/Makefile
452	src/plugins/astyle/Makefile
453	src/plugins/astyle/resources/Makefile
454	src/plugins/autosave/Makefile
455	src/plugins/classwizard/Makefile
456	src/plugins/classwizard/resources/Makefile
457	src/plugins/codecompletion/Makefile
458	src/plugins/codecompletion/resources/Makefile
459	src/plugins/compilergcc/Makefile
460	src/plugins/compilergcc/depslib/Makefile
461	src/plugins/compilergcc/depslib/src/Makefile
462	src/plugins/compilergcc/resources/Makefile
463	src/plugins/debuggergdb/Makefile
464	src/plugins/debuggergdb/resources/Makefile
465	src/plugins/defaultmimehandler/Makefile
466	src/plugins/defaultmimehandler/resources/Makefile
467	src/plugins/openfileslist/Makefile
468	src/plugins/occurrenceshighlighting/Makefile
469	src/plugins/occurrenceshighlighting/resources/Makefile
470	src/plugins/projectsimporter/Makefile
471	src/plugins/projectsimporter/resources/Makefile
472	src/plugins/scriptedwizard/Makefile
473	src/plugins/scriptedwizard/resources/Makefile
474	src/plugins/scriptedwizard/resources/arduino/Makefile
475	src/plugins/scriptedwizard/resources/arm/Makefile
476	src/plugins/scriptedwizard/resources/avr/Makefile
477	src/plugins/scriptedwizard/resources/c_file/Makefile
478	src/plugins/scriptedwizard/resources/console/Makefile
479	src/plugins/scriptedwizard/resources/d/Makefile
480	src/plugins/scriptedwizard/resources/directx/Makefile
481	src/plugins/scriptedwizard/resources/dll/Makefile
482	src/plugins/scriptedwizard/resources/d_source/Makefile
483	src/plugins/scriptedwizard/resources/empty/Makefile
484	src/plugins/scriptedwizard/resources/empty_file/Makefile
485	src/plugins/scriptedwizard/resources/fltk/Makefile
486	src/plugins/scriptedwizard/resources/fortran/Makefile
487	src/plugins/scriptedwizard/resources/glfw/Makefile
488	src/plugins/scriptedwizard/resources/glut/Makefile
489	src/plugins/scriptedwizard/resources/gtk/Makefile
490	src/plugins/scriptedwizard/resources/h_file/Makefile
491	src/plugins/scriptedwizard/resources/irrlicht/Makefile
492	src/plugins/scriptedwizard/resources/java/Makefile
493	src/plugins/scriptedwizard/resources/lf/Makefile
494	src/plugins/scriptedwizard/resources/matlab_csf/Makefile
495	src/plugins/scriptedwizard/resources/mcs51/Makefile
496	src/plugins/scriptedwizard/resources/msp430/Makefile
497	src/plugins/scriptedwizard/resources/ogre/Makefile
498	src/plugins/scriptedwizard/resources/opencv/Makefile
499	src/plugins/scriptedwizard/resources/opengl/Makefile
500	src/plugins/scriptedwizard/resources/plugins/Makefile
501	src/plugins/scriptedwizard/resources/ppc/Makefile
502	src/plugins/scriptedwizard/resources/qt4/Makefile
503	src/plugins/scriptedwizard/resources/qt4dll/Makefile
504	src/plugins/scriptedwizard/resources/qt5/Makefile
505	src/plugins/scriptedwizard/resources/sdl/Makefile
506	src/plugins/scriptedwizard/resources/sdl2/Makefile
507	src/plugins/scriptedwizard/resources/sfml/Makefile
508	src/plugins/scriptedwizard/resources/sharedlib/Makefile
509	src/plugins/scriptedwizard/resources/smartwin/Makefile
510	src/plugins/scriptedwizard/resources/staticlib/Makefile
511	src/plugins/scriptedwizard/resources/stlport/Makefile
512	src/plugins/scriptedwizard/resources/sys/Makefile
513	src/plugins/scriptedwizard/resources/tricore/Makefile
514	src/plugins/scriptedwizard/resources/win32gui/Makefile
515	src/plugins/scriptedwizard/resources/wxwidgets/Makefile
516	src/plugins/todo/Makefile
517	src/plugins/todo/resources/Makefile
518	src/plugins/abbreviations/Makefile
519	src/plugins/abbreviations/resources/Makefile
520	src/plugins/xpmanifest/Makefile
521	src/plugins/contrib/Makefile
522	src/plugins/contrib/appdata/Makefile
523	src/plugins/contrib/AutoVersioning/Makefile
524	src/plugins/contrib/BrowseTracker/Makefile
525	src/plugins/contrib/byogames/Makefile
526	src/plugins/contrib/Cccc/Makefile
527	src/plugins/contrib/Cccc/resources/Makefile
528	src/plugins/contrib/CppCheck/Makefile
529	src/plugins/contrib/CppCheck/resources/Makefile
530	src/plugins/contrib/cb_koders/Makefile
531	src/plugins/contrib/codesnippets/Makefile
532	src/plugins/contrib/codesnippets/resources/Makefile
533	src/plugins/contrib/codestat/Makefile
534	src/plugins/contrib/codestat/resources/Makefile
535	src/plugins/contrib/copystrings/Makefile
536	src/plugins/contrib/Cscope/Makefile
537	src/plugins/contrib/devpak_plugin/Makefile
538	src/plugins/contrib/devpak_plugin/bzip2/Makefile
539	src/plugins/contrib/DoxyBlocks/Makefile
540	src/plugins/contrib/dragscroll/Makefile
541	src/plugins/contrib/EditorConfig/Makefile
542	src/plugins/contrib/EditorTweaks/Makefile
543	src/plugins/contrib/envvars/Makefile
544	src/plugins/contrib/FileManager/Makefile
545	src/plugins/contrib/headerfixup/Makefile
546	src/plugins/contrib/help_plugin/Makefile
547	src/plugins/contrib/help_plugin/bzip2/Makefile
548	src/plugins/contrib/help_plugin/zlib/Makefile
549	src/plugins/contrib/keybinder/Makefile
550	src/plugins/contrib/NassiShneiderman/Makefile
551	src/plugins/contrib/profiler/Makefile
552	src/plugins/contrib/profiler/resources/Makefile
553	src/plugins/contrib/ProjectOptionsManipulator/Makefile
554	src/plugins/contrib/source_exporter/Makefile
555	src/plugins/contrib/source_exporter/wxPdfDocument/Makefile
556	src/plugins/contrib/SmartIndent/Makefile
557	src/plugins/contrib/SpellChecker/Makefile
558	src/plugins/contrib/SpellChecker/wxspellchecker/Makefile
559	src/plugins/contrib/symtab/Makefile
560	src/plugins/contrib/symtab/resources/Makefile
561	src/plugins/contrib/regex_testbed/Makefile
562	src/plugins/contrib/ReopenEditor/Makefile
563	src/plugins/contrib/rndgen/Makefile
564	src/plugins/contrib/ThreadSearch/Makefile
565	src/plugins/contrib/ToolsPlus/Makefile
566	src/plugins/contrib/ToolsPlus/Resources/Makefile
567	src/plugins/contrib/Valgrind/Makefile
568	src/plugins/contrib/Valgrind/resources/Makefile
569	src/plugins/contrib/wxContribItems/Makefile
570	src/plugins/contrib/wxContribItems/wxsmith-contrib.pc
571	src/plugins/contrib/wxContribItems/cb_wxcontrib.pc
572	src/plugins/contrib/wxContribItems/cb_wxchartctrl.pc
573	src/plugins/contrib/wxContribItems/cb_wxcustombutton.pc
574	src/plugins/contrib/wxContribItems/cb_wximagepanel.pc
575	src/plugins/contrib/wxContribItems/cb_wxflatnotebook.pc
576	src/plugins/contrib/wxContribItems/cb_wxspeedbutton.pc
577	src/plugins/contrib/wxContribItems/cb_wxKWIC.pc
578	src/plugins/contrib/wxContribItems/cb_wxtreelist.pc
579	src/plugins/contrib/wxContribItems/cb_wxled.pc
580	src/plugins/contrib/wxContribItems/cb_wxmathplot.pc
581	src/plugins/contrib/wxContribItems/wxchart/Makefile
582	src/plugins/contrib/wxContribItems/wxFlatNotebook/Makefile
583	src/plugins/contrib/wxContribItems/wxImagePanel/Makefile
584	src/plugins/contrib/wxContribItems/wxthings/Makefile
585	src/plugins/contrib/wxContribItems/wxSpeedButton/Makefile
586	src/plugins/contrib/wxContribItems/KWIC/Makefile
587	src/plugins/contrib/wxContribItems/KWIC/include/wx/KWIC/Makefile
588	src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/Makefile
589	src/plugins/contrib/wxContribItems/wxTreeList/Makefile
590	src/plugins/contrib/wxContribItems/wxled/Makefile
591	src/plugins/contrib/wxContribItems/wxled/gizmosled/include/wx/gizmos/Makefile
592	src/plugins/contrib/wxContribItems/wxled/lcdWindow/include/wx/Makefile
593	src/plugins/contrib/wxContribItems/wxled/led/include/wx/Makefile
594	src/plugins/contrib/wxContribItems/wxled/led/include/xrc/Makefile
595	src/plugins/contrib/wxContribItems/wxled/ledpanel/include/wx/Makefile
596	src/plugins/contrib/wxContribItems/wxmathplot/Makefile
597	src/plugins/contrib/wxSmith/Makefile
598	src/plugins/contrib/wxSmith/wxsmith.pc
599	src/plugins/contrib/wxSmith/plugin/Makefile
600	src/plugins/contrib/wxSmith/properties/Makefile
601	src/plugins/contrib/wxSmith/wxwidgets/Makefile
602	src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile
603	src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile
604	src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile
605	src/plugins/contrib/wxSmithContribItems/Makefile
606	src/plugins/contrib/wxSmithAui/Makefile
607	src/plugins/contrib/wxSmithAui/wxsmithaui.pc
608	src/plugins/contrib/wxSmithDemo/Makefile
609	src/plugins/contrib/wxSmithIExplore/Makefile
610	src/plugins/contrib/wxSmithSTC/Makefile
611	src/plugins/contrib/lib_finder/Makefile
612	src/plugins/contrib/lib_finder/lib_finder/Makefile
613	src/plugins/contrib/HexEditor/Makefile
614	src/plugins/contrib/IncrementalSearch/Makefile
615	src/plugins/contrib/MouseSap/Makefile
616	src/mime/Makefile
617	src/scripts/Makefile
618	src/tools/Makefile
619	src/tools/cb_share_config/Makefile
620	src/tools/ConsoleRunner/Makefile
621	src/tools/CBLauncher/Makefile
622	src/templates/Makefile
623	src/templates/common/Makefile
624	src/templates/unix/Makefile
625	src/templates/win32/Makefile
626	src/wxsmith/Makefile
627	codeblocks.pc
628	codeblocks.spec.fedora
629	codeblocks.spec
630])
631
632AC_OUTPUT
633
634echo
635echo
636echo "*************************************************"
637echo "* Code::Blocks source tree has been configured. *"
638echo "*************************************************"
639echo
640echo "You can now build Code::Blocks by issuing 'make'".
641echo "When the build is complete, become root and install"
642echo "it by issuing 'make install'".
643echo
644echo "   CFLAGS:     ${CFLAGS}"
645echo "   CXXFLAGS:   ${CXXFLAGS}"
646echo "   CPPFLAGS:   ${CPPFLAGS}"
647echo "   LDFLAGS:    ${LDFLAGS}"
648echo "   CXX:        ${CXX}"
649echo "   CC:         ${CC}"
650echo
651