File: configure.ac

package info (click to toggle)
mlv 3.1.0-3
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 10,528 kB
  • sloc: ansic: 18,982; sh: 4,760; makefile: 381; objc: 246; xml: 92
file content (489 lines) | stat: -rw-r--r-- 16,491 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
#
#   This file is part of the MLV Library.
#
#   Copyright (C) 2010-2014 Adrien Boussicault, Marc Zipstein
#
#
#    This library is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    This library is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this Library.  If not, see <http://www.gnu.org/licenses/>.
#

# Before a public release, do the following version modification :
# - First, in AC_INIT([MLV], [mlvcurrent.mlvrevision.mlvage-dev] remove the -dev
# - if only code has changed then increase mlvrevision
# - if interfaces have been removed or changed then increase mlvcurrent, 
#   set mlvrevision to 0 and mlvage to 0
# - if interfaces have been added then increase mlvcurrent, increase mlvage and 
#   set mlvrevision to 0.
#
# This version follow the libtool version recommendation :
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
#
# In MLV ABI is equal to API and is equal to mlvcurrent - mlvage.

define([mlvcurrent], [3])dnl
define([mlvrevision], [1])dnl
define([mlvage], [0])dnl

# We deduce other version numbers
define([mlvmajorversion], m4_eval(mlvcurrent - mlvage))dnl
define([mlvminorversion], m4_eval(mlvage))dnl
define([mlvabiversion], m4_eval(mlvmajorversion))dnl
define([mlvapiversion], m4_eval(mlvabiversion))dnl

AC_INIT([MLV], [mlvcurrent.mlvrevision.mlvage], [adrien.boussicault@labri.fr], [], [http://www-igm.univ-mlv.fr/~boussica/mlv/index.html])


AC_SUBST(MLV_ABI_VERSION,[mlvabiversion])
AC_SUBST(MLV_API_VERSION,[mlvapiversion])
AC_SUBST(MLV_MAJOR_VERSION,[mlvmajorversion])
AC_SUBST(MLV_MINOR_VERSION,[mlvminorversion])
AC_SUBST(MLV_CURRENT,[mlvcurrent])
AC_SUBST(MLV_REVISION,[mlvrevision])
AC_SUBST(MLV_AGE,[mlvage])

AC_SUBST(MLV_WEB_REPOSITORY,[http://savannah.nongnu.org/projects/mlv])
AC_SUBST(MLV_REPOSITORY,["git clone git://git.savannah.nongnu.org/mlv.git"])
AC_DEFINE_UNQUOTED([MLV_REPOSITORY],["$MLV_REPOSITORY"],[Define the revision control software])

if test -d .git
then
	rcsrevision=$(git rev-parse HEAD)
	AC_SUBST(MLV_RCS_REVISION,[$rcsrevision])
	echo $MLV_RCS_REVISION > mlv_rcs_revision
else
	rcsrevision=$(cat mlv_rcs_revision)
	AC_SUBST(MLV_RCS_REVISION,[$rcsrevision])
fi
AC_DEFINE_UNQUOTED([MLV_RCS_REVISION],["$MLV_RCS_REVISION"],[Define the revision in the source repository])

AC_SUBST(MLV_SOURCE_REPOSITORY,[http://download.savannah.gnu.org/releases/mlv])
AC_SUBST(MLV_URL,[${PACKAGE_URL}])
AC_DEFINE_UNQUOTED([MLV_SOURCE_REPOSITORY],["$MLV_SOURCE_REPOSITORY"],[Define the address of the MLV repository])

AC_SUBST(MAIL_ADRIEN_BOUSSICAULT,[adrien.boussicault@labri.fr])
AC_SUBST(MAIL_MARC_ZIPSTEIN,[marc.zipstein@univ-mlv.fr])

AC_SUBST(MLV_PACKAGE_REPOSITORY,[${MLV_SOURCE_REPOSITORY}/${PACKAGE_TARNAME}-${PACKAGE_VERSION}])


AC_SUBST(MLV_DEBIAN_VERSION,[${MLV_ABI_VERSION}])
AC_SUBST(MLV_DEBIAN_32_BINARY_PACKAGE,[lib${PACKAGE_TARNAME}${MLV_DEBIAN_VERSION}_${PACKAGE_VERSION}-1_i386.deb])
AC_SUBST(MLV_DEBIAN_64_BINARY_PACKAGE,[lib${PACKAGE_TARNAME}${MLV_DEBIAN_VERSION}_${PACKAGE_VERSION}-1_amd64.deb])
AC_SUBST(MLV_DEBIAN_32_DEV_PACKAGE,[lib${PACKAGE_TARNAME}${MLV_DEBIAN_VERSION}-dev_${PACKAGE_VERSION}-1_i386.deb])
AC_SUBST(MLV_DEBIAN_64_DEV_PACKAGE,[lib${PACKAGE_TARNAME}${MLV_DEBIAN_VERSION}-dev_${PACKAGE_VERSION}-1_amd64.deb])
AC_SUBST(MLV_DEBIAN_X_BINARY_PACKAGE,[lib${PACKAGE_TARNAME}${MLV_DEBIAN_VERSION}_${PACKAGE_VERSION}-1_X.deb])
AC_SUBST(MLV_DEBIAN_X_DEV_PACKAGE,[lib${PACKAGE_TARNAME}${MLV_DEBIAN_VERSION}-dev_${PACKAGE_VERSION}-1_X.deb])
AC_SUBST(MLV_WIN_32_BINARIES,[${PACKAGE_TARNAME}-${PACKAGE_VERSION}-win32.zip])
AC_SUBST(MLV_WIN_64_BINARIES,[${PACKAGE_TARNAME}-${PACKAGE_VERSION}-win64.zip])
AC_SUBST(MLV_DEVCPP_32_PACKAGE,[${PACKAGE_TARNAME}-${PACKAGE_VERSION}-dev-cpp.zip])
AC_SUBST(MLV_CODEBLOCKS_32_PACKAGE,[${PACKAGE_TARNAME}-${PACKAGE_VERSION}-code_blocks.zip])

AC_SUBST(MLV_MACOSX_VERSION,[10.10])
AC_SUBST(MLV_MACOSX_PACKAGE,[${PACKAGE_TARNAME}-${PACKAGE_VERSION}_macos-${MLV_MACOSX_VERSION}.pkg])

AC_SUBST(MLV_FEDORA_VERSION,[22])
AC_SUBST(MLV_FEDORA_CODE_VERSION,[fc${MLV_FEDORA_VERSION}])
AC_SUBST(MLV_FEDORA_KEY_PACKAGE,[RPM-GPG-KEY-Boussicault])

AC_SUBST(MLV_FEDORA_32_BINARY_PACKAGE,[${PACKAGE_TARNAME}-${PACKAGE_VERSION}-0.${MLV_FEDORA_CODE_VERSION}.i686.rpm])
AC_SUBST(MLV_FEDORA_32_DEV_PACKAGE,[${PACKAGE_TARNAME}-devel-${PACKAGE_VERSION}-0.${MLV_FEDORA_CODE_VERSION}.i686.rpm])
AC_SUBST(MLV_FEDORA_32_STATIC_PACKAGE,[${PACKAGE_TARNAME}-static-${PACKAGE_VERSION}-0.${MLV_FEDORA_CODE_VERSION}.i686.rpm])
AC_SUBST(MLV_FEDORA_32_SOURCE_PACKAGE,[${PACKAGE_TARNAME}-${PACKAGE_VERSION}-0.${MLV_FEDORA_CODE_VERSION}.src.rpm])

AC_SUBST(MLV_FEDORA_64_BINARY_PACKAGE,[${PACKAGE_TARNAME}-${PACKAGE_VERSION}-0.${MLV_FEDORA_CODE_VERSION}.x86_64.rpm])
AC_SUBST(MLV_FEDORA_64_DEV_PACKAGE,[${PACKAGE_TARNAME}-devel-${PACKAGE_VERSION}-0.${MLV_FEDORA_CODE_VERSION}.x86_64.rpm])
AC_SUBST(MLV_FEDORA_64_STATIC_PACKAGE,[${PACKAGE_TARNAME}-static-${PACKAGE_VERSION}-0.${MLV_FEDORA_CODE_VERSION}.x86_64.rpm])
AC_SUBST(MLV_FEDORA_64_SOURCE_PACKAGE,[${PACKAGE_TARNAME}-${PACKAGE_VERSION}-0.${MLV_FEDORA_CODE_VERSION}.src.rpm])


AC_PREREQ([2.63])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_MACRO_DIR([config/m4])
m4_include([config/m4/ax_prog_doxygen.m4])

AM_INIT_AUTOMAKE([-Wall -Werror])
AM_CONFIG_HEADER([MLV/config.h])


#######################################################################
# Configuration options  (part 1)                                     #
#######################################################################
AC_ARG_ENABLE([dev],
	      AS_HELP_STRING([--enable-dev], [If you want to launch the game in the directory of compilation use this option. If you want to install the game don't use this option. This option is generally for developpers.]),
	      [dev=$enableval],
	      [dev=no])
AM_CONDITIONAL([DEV],[test x$dev = xyes])

AC_ARG_ENABLE([debug],
	      AS_HELP_STRING([--enable-debug], [Add debug flags (-g -pg -O0)]),
	      [debug=$enableval],
	      [debug=no])
AM_CONDITIONAL([DEBUG],[test x$debug = xyes])

if test x$debug = xyes
then
AC_SUBST(COMPILE_DEBUG_VERSION_FOR_WINDOW,['yes'])
else
AC_SUBST(COMPILE_DEBUG_VERSION_FOR_WINDOW,['no'])
fi


AC_ARG_ENABLE([memorydebug],
	      AS_HELP_STRING([--enable-memorydebug], [This option is for developpers. This option permit to help the user to debug problem memory.]),
	      [memorydebug=$enableval],
	      [memorydebug=no])
AM_CONDITIONAL([MEMORY_DEBUG],[test x$memorydebug = xyes])

AC_ARG_ENABLE([relativepath],
	      AS_HELP_STRING([--enable-relativepath], [If you want to install the MLV in the same directory than your program using the MLV library, you have to use this option. This option will correctly configure a relative path to find the libraries font from the binary directory. This option is for windows DLL compilations. If you want to change the default relative path for the data directory, you can pass as parameter you prefered path.By default the relative data path is ../share/MLV/data .]),
	      [relativepath=$enableval],
	      [relativepath=no])
AM_CONDITIONAL([RELATIVEPATH],[test x$relativepath != xno])

if test x$debug = xyes
then
	CXXFLAGS="-g -ggdb -pg -O0 ${CXXFLAGS}"
	CFLAGS="-g -ggdb -pg -O0 ${CFLAGS}"
	LDFLAGS="-g -ggdb -pg -O0 ${LDFLAGS}"
else
	if test x$dev = xyes
	then
		CXXFLAGS="-g -O2 ${CXXFLAGS}"
		CFLAGS="-g -O2 ${CFLAGS}"
	fi
fi

#######################################################################
# Configure Compilation flags                                         #
#######################################################################
AM_PROG_AR

AC_PROG_CC
AM_PROG_CC_STDC   # To compile .dll
AC_C_CONST # To compile .dll
AM_PROG_CC_C_O
AC_LIBTOOL_WIN32_DLL # To compile .dll
AC_PROG_OBJC

#######################################################################
# Configuration options  (part 2)                                     #
#######################################################################

if test x$relativepath = xyes
then
	relativepath='../share/MLV/data'
fi

# Fonction verifiant la bonne utilisation des options
if test x$relativepath != xno
then
	if test x$dev != xno
	then
		AC_MSG_ERROR([Option --enable-relativepath and --enable-dev can't be use in the same time.],1)
	fi
fi


AC_SUBST([LANGUAGES],['French English Spanish'])
AC_SUBST([DEFAULT_LANGUAGE],['French'])

AC_ARG_ENABLE([language],
	      AS_HELP_STRING([--enable-language], [The language of the documentation. The possible choose are "French", "English", "Spanish". Default : "French".]),
	      [language=$enableval],
	      [language=${DEFAULT_LANGUAGE}])

for i in ${LANGUAGES}
do
	if test x$i == x${language}
	then
		AC_SUBST([INSTALL_LANGUAGE],[${language}])
	fi
done

if test x${language} != x${INSTALL_LANGUAGE}
then
	AC_MSG_ERROR([Unknown or unsupported Language "$language".  Only "${LANGUAGES}" are supported in this version of this library.])
fi


AC_ARG_ENABLE([all-static],
	      AS_HELP_STRING([--enable-all-static], [If you want to obtain a complete static library, use this option.]),
	      [allstatic=$enableval],
	      [allstatic=no])
AM_CONDITIONAL([ALLSTATIC],[test x$allstatic = xyes])

AC_PROG_LIBTOOL

AM_CONDITIONAL([CROSS_COMPILATION],[test "x$host_os" != "x$build_os"])

#Option de compilation pour tout le monde
CXXFLAGS="-I\${top_srcdir} -Wall ${CXXFLAGS}"
CFLAGS="-I\${top_srcdir} -Wall ${CFLAGS}"

case "$host_os" in
	darwin*)
		AC_SUBST([MLV_CPPFLAGS],['-I${top_srcdir} ${sdl_CFLAGS}'])
		AC_SUBST([MLV_LIBADD],['${top_builddir}/MLV/libMLV.la ${top_builddir}/MLV/libMLVMain.la'])
	;;
	*)
		AC_SUBST([MLV_CPPFLAGS],['-I${top_srcdir}'])
		AC_SUBST([MLV_LIBADD],['${top_builddir}/MLV/libMLV.la'])
	;;
esac

if test x$dev = xyes
then
	AC_SUBST([DATA_PATH],['${abs_top_srcdir}/data'])
else
	if test x$relativepath = xno
	then
		AC_SUBST([DATA_PATH],['${datadir}/MLV/data'])
	else
		AC_SUBST([DATA_PATH],[$relativepath])
	fi
fi

#Special linkage option for OS
#difference beetween host and build ?
#AC_CANONICAL_HOST

case "$host_os" in
	linux*)
	;;
        darwin*)
	;;
	mingw*)
		AC_SUBST([os_LIBS],[-lmingw32])
	;;
	cygwin*)
		CPPFLAGS="-mno-cygwin ${CPPFLAGS}"
		LDFLAGS="-mno-cygwin ${LDFLAGS}"
	;;
        *) AC_MSG_ERROR([Unknown or unsupported OS "$host_os".  Only "linux", "mingw" and "darwin" are supported in this version of the MLV library.]) ;;
esac

AC_CHECK_LIB([m],[cos])

case "$host_os" in
    darwin*)
		if test x$sdl_CFLAGS = x; then
			AC_SUBST([sdl_CFLAGS],['-I/Library/Frameworks/SDL.framework/Headers'])
			AC_SUBST([sdlttf_CFLAGS],[''])
			AC_SUBST([sdlimage_CFLAGS],[''])
			AC_SUBST([sdlmixer_CFLAGS],[''])
		fi
		if test x$sdl_LIBS = x; then
			AC_SUBST([sdl_LIBS],['-framework SDL -framework Cocoa'])
			AC_SUBST([sdlttf_LIBS],['-framework SDL_ttf'])
			AC_SUBST([sdlimage_LIBS],['-framework SDL_image'])
			AC_SUBST([sdlmixer_LIBS],['-framework SDL_mixer'])
		fi	
		AC_SUBST([libsdl_found],[yes])
		AC_SUBST([libsdlttf_found],[yes])
		AC_SUBST([libsdlimage_found],[yes])
		AC_SUBST([libsdlmixer_found],[yes])
		
		AC_CHECK_LIB(
			[SDL_gfx],
			[boxColor],
			AC_SUBST([libsdlgfx_found],[yes])
			AC_SUBST([sdlgfx_LIBS],['-lSDL_gfx -framework SDL -framework cocoa']),
			AC_SUBST([libsdlgfx_found],[no]),
			[-framework SDL -framework cocoa]
		)

		if test x$libsdlgfx_found = xno; then
			echo "Search for SDL_gfx library... no"
			AC_MSG_ERROR([The SDL_gfx library is required to compile the MLV library.],1)
		else
			echo "Search for SDL_gfx library... ${sdlgfx_LIBS}"
		fi
	;;
	*)
		PKG_CHECK_MODULES(sdl, sdl)
		AC_SUBST(sdl_CFLAGS)
		AC_SUBST(sdl_LIBS)

		AC_CHECK_LIB(
			[SDL_ttf],
			[TTF_SetFontStyle],
			AC_SUBST([libsdlttf_found],[yes])
			AC_SUBST([sdlttf_LIBS],[-lSDL_ttf]),
			AC_SUBST([libsdlttf_found],[no])
		)
		if test x$libsdlttf_found = xno; then
			echo "Search for SDL_ttf library... no"
			AC_MSG_ERROR([The SDL_ttf library is required to compile the MLV library.],1)
		else
			echo "Search for SDL_ttf library... ${sdlttf_LIBS}"
		fi
		AC_CHECK_LIB(
			[SDL_image],
			[IMG_Load],
			AC_SUBST([libsdlimage_found],[yes])
			AC_SUBST([sdlimage_LIBS],[-lSDL_image]),
			AC_SUBST([libsdlimage_found],[no])
		)

		if test x$libsdlimage_found = xno; then
			echo "Search for SDL_image library... no"
			AC_MSG_ERROR([The SDL_image library is required to compile the MLV library.],1)
		else
			echo "Search for SDL_image library... ${sdlimage_LIBS}"
		fi

		AC_CHECK_LIB(
			[SDL_mixer],
			[Mix_OpenAudio],
			AC_SUBST([libsdlmixer_found],[yes])
			AC_SUBST([sdlmixer_LIBS],[-lSDL_mixer]),
			AC_SUBST([libsdlmixer_found],[no])
		)

		if test x$libsdlmixer_found = xno; then
			echo "Search for SDL_mixer library... no"
			AC_MSG_ERROR([The SDL_mixer library is required to compile the MLV library.],1)
		else
			echo "Search for SDL_mixer library... ${sdlmixer_LIBS}"
		fi

		AC_CHECK_LIB(
			[SDL_gfx],
			[boxColor],
			AC_SUBST([libsdlgfx_found],[yes])
			AC_SUBST([sdlgfx_LIBS],[-lSDL_gfx]),
			AC_SUBST([libsdlgfx_found],[no])
		)

		if test x$libsdlgfx_found = xno; then
			echo "Search for SDL_gfx library... no"
			AC_MSG_ERROR([The SDL_gfx library is required to compile the MLV library.],1)
		else
			echo "Search for SDL_gfx library... ${sdlgfx_LIBS}"
		fi
	;;
esac



PKG_CHECK_MODULES(glib, glib-2.0)

PKG_CHECK_MODULES(libxml, libxml-2.0)

if test x$debug = xyes || test x$dev = xyes
then
	CXXFLAGS="${CXXFLAGS} -Werror"
	CFLAGS="${CFLAGS} -Werror"
fi

if test x$memorydebug = xyes
then
	CXXFLAGS="-DMEMORY_DEBUG ${CXXFLAGS}"
	CFLAGS="-DMEMORY_DEBUG ${CFLAGS}"
fi

#GENERATION OF DOXYGENE DOCUMENTATION
#AX_PROG_DOXYGEN

AC_SUBST([doxygendir],['$(top_builddir)/doc/api'])
DX_DOXYGEN_FEATURE(ON)
DX_HTML_FEATURE(ON)
#DX_CHM_FEATURE(OFF)
#DX_CHI_FEATURE(OFF)
DX_MAN_FEATURE(ON)
#DX_RTF_FEATURE(OFF)
#DX_XML_FEATURE(OFF)
DX_PDF_FEATURE(OFF)
DX_PS_FEATURE(OFF)
DX_INIT_DOXYGEN([$PACKAGE_NAME], [doc/Doxyfile],[${doxygendir}],[${LANGUAGES}])

if test x${DX_DOXYGEN} = x
then
	AC_MSG_ERROR([doxygen is requiered. Please install doxygen.],1)
fi

if test x$allstatic = xyes
then
	LDFLAGS="-all-static ${LDFLAGS}"
fi


case "$host_os" in
	linux*)
		AM_CONDITIONAL([OS_IS_LINUX],[true])
		AM_CONDITIONAL([OS_IS_WIN32],[false])
		AM_CONDITIONAL([OS_IS_APPLE],[false])
	;;
	darwin*)
		AM_CONDITIONAL([OS_IS_LINUX],[false])
		AM_CONDITIONAL([OS_IS_WIN32],[false])
		AM_CONDITIONAL([OS_IS_APPLE],[true])
	;;
	mingw*)
		AM_CONDITIONAL([OS_IS_LINUX],[false])
		AM_CONDITIONAL([OS_IS_WIN32],[true])
		AM_CONDITIONAL([OS_IS_APPLE],[false])
	;;
	cygwin*)
		AM_CONDITIONAL([OS_IS_LINUX],[false])
		AM_CONDITIONAL([OS_IS_WIN32],[true])
		AM_CONDITIONAL([OS_IS_APPLE],[false])
	;;
        *) AC_MSG_ERROR([Unknown or unsupported OS "$host_os".  Only "linux", "mingw" and "darwin" are supported in this version of the MLV library.]) ;;
esac


AC_CONFIG_FILES([
	MLV.pc \
	Makefile \
	MLV/Makefile \
	data/Makefile \
	data/font/Makefile \
	doc/Makefile \
	doc/index.html \
	doc/tp5graph.tex \
	doc/Doxyfooter \
	doc/main_documentation_doxygen.c \
	doc/Doxyheader_English \
	doc/Doxyheader_French \
	doc/Doxyheader_Spanish \
	packaging/Makefile \
	packaging/debian_helper/control \
	packaging/debian_helper/copyright \
	packaging/fedora/rpmbuild/SPECS/mlv.spec \
	packaging/windows/Makefile \
	packaging/windows/cross-compilation/definition_of_environement_variables \
	packaging/windows/cross-compilation/mingw_compilation_for_mlv \
	packaging/windows/create_win32_binaries \
	packaging/windows/create_canonical_developpement_kit \
	packaging/windows/create_dev_cpp_package \
	packaging/windows/create_code_blocks_package \
	packaging/windows/my_project.cbp \
	packaging/windows/my_project.dev \
	Android.mk \
	examples/Makefile \
	examples/beginner/Makefile \
	examples/medium/Makefile \
	examples/advanced/Makefile \
	examples/sandbox/Makefile \
	examples/sandbox/example.c
])

AC_OUTPUT

chmod +x packaging/windows/cross-compilation/mingw_compilation_for_mlv
chmod +x packaging/windows/create_win32_binaries
chmod +x packaging/windows/create_canonical_developpement_kit
chmod +x packaging/windows/create_dev_cpp_package
chmod +x packaging/windows/create_code_blocks_package