Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/control/configure.ac @ 7416

Last change on this file since 7416 was 7127, checked in by bensch, 19 years ago

orxonox/trunk: changed to orxonox-0.3.3-alpha

File size: 19.5 KB
Line 
1
2##########################################################################
3#   orxonox - the future of 3D-vertical-scrollers                        #
4#                                                                        #
5#   Copyright (C) 2004 orx                                               #
6#                                                                        #
7#   This program is free software; you can redistribute it and/or modify #
8#   it under the terms of the GNU General Public License as published by #
9#   the Free Software Foundation; either version 2, or (at your option)  #
10#   any later version.                                                   #
11#                                                                        #
12#   ### File Specific:                                                   #
13#   main-programmer: Benjamin Grauer                                     #
14#   co-programmer: ...                                                   #
15#                                                                        #
16#   This is the main configuration File of autoconf.                     #
17#   Please edit this file only, if you exactly know what you are doing.  #
18#   It is quite fragile, and compiling orxonox on different Platforms    #
19#   is only guarantied, if build with the right config.                  #
20#                                                                        #
21#   be sure to visit us at http://www.orxonox.net                        #
22##########################################################################
23
24#########################
25## AUTOCONF INIT PHASE ##
26#########################
27AC_PREREQ(2.59)
28AC_INIT([orxonox], [0.3.3_alpha], [orxonox-dev at mail.datacore.ch])
29
30## Detect the canonical host and target build environment.
31AC_CANONICAL_BUILD
32AC_CANONICAL_HOST
33AC_CANONICAL_TARGET
34
35AM_INIT_AUTOMAKE
36
37AC_CONFIG_SRCDIR([./src])
38AC_CONFIG_HEADER([config.h])
39
40#########################
41## Checks for programs ##
42#########################
43AC_PROG_CXX
44AC_PROG_RANLIB
45AC_HEADER_STDC
46
47## THIS IS OUR DEFAULT-DATA-DIRECTORY
48
49##################################
50## CHECKING  OPTIONAL ARGUMENTS ##
51##################################
52#----------------#
53# Data-Directory #
54#----------------#
55DATA_DIR=$datadir
56echo \$\{prefix\}
57if test $DATA_DIR = \$\{prefix\}/share ; then
58        echo "not given"
59        DATA_DIR=/usr/share
60else
61        echo "given: $DATA_DIR"
62fi
63AC_DEFINE_UNQUOTED([DATADIR], ["$DATA_DIR"],
64                   [Define to the read-only architecture-independent
65                    data directory.])
66
67#-----------------#
68# shared-lib-path #
69#-----------------#
70SHARED_LIB_PATH=no
71AC_MSG_CHECKING([shared lib path])
72AC_ARG_WITH([shared-lib-path],
73        AS_HELP_STRING(--with-shared-lib-path,Tells the executable, where to look for the shared libraries.),
74         SHARED_LIB_PATH=$withval)
75if test x$SHARED_LIB_PATH != xno; then
76        echo "set to $SHARED_LIB_PATH"
77else
78        echo "no"
79fi
80
81
82#-----------------#
83# DEBUG-statement #
84#-----------------#
85DEBUG=no
86AC_MSG_CHECKING([if DEBUG-mode should be enabled])
87AC_ARG_ENABLE([debug],
88        AS_HELP_STRING(--enable-debug,compiles in debug mode. Lots of debug info about the game.),
89         DEBUG=$enableval)
90
91if test x$DEBUG = xno; then
92        echo "no"
93        echo " -> Setting debuglevel to 4. (orxonox is still in Development. It really is needed."
94        DEBUG=4
95elif test x$DEBUG = xyes; then
96        echo "yes"
97        echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!."
98        DEBUG=4
99else
100  if test x$DEBUG = x0 || test x$DEBUG = x1 || test x$DEBUG = x2 || test x$DEBUG = x3 || test x$DEBUG = x4 || test x$DEBUG = x5 ; then
101        echo "yes: setting debuglevel to to $DEBUG"
102  else
103        echo "yes: invalid Value for Debug ($DEBUG). setting to 4(DEBUG)"
104        DEBUG=4
105  fi
106fi
107AC_DEFINE_UNQUOTED(DEBUG, $DEBUG, [in which debug mode we are])
108AC_SUBST(DEBUG)
109
110#---------------#
111# Modular Debug #
112#---------------#
113MODULAR_DEBUG=yes
114AC_MSG_CHECKING([if Modular-DEBUG-mode should be ebabled])
115AC_ARG_ENABLE([modular-debug],
116        AS_HELP_STRING(--disable-modular-debug,compiles in modular-debug mode, that logs differently on the many modules of orxonox.),
117         MODULAR_DEBUG=$enableval)
118
119if test x$MODULAR_DEBUG = xno; then
120        echo "no"
121elif test x$MODULAR_DEBUG = xyes; then
122        echo "yes"
123        AC_DEFINE_UNQUOTED(MODULAR_DEBUG, 1, [if Modular-DUBUG mode is enabled])
124fi
125
126#--------------#
127# GTK-disabled #
128#--------------#
129AC_MSG_CHECKING([if gtk should be enabled])
130AC_ARG_ENABLE([gtk],
131        AS_HELP_STRING(--disable-gtk,Prevents GTK from being loaded), [def_gtk=no], [def_gtk=yes])
132if test x$def_gtk = xyes; then
133  echo "yes"
134fi
135if test x$def_gtk = xno; then
136  echo "no"
137fi
138
139#------------------#
140# libCurl-disabled #
141#------------------#
142AC_MSG_CHECKING([if libcURL should be enabled])
143AC_ARG_ENABLE([curl],
144        AS_HELP_STRING(--disable-curl,Prevents libcURL from being loaded), [def_curl=no], [def_curl=yes])
145if test x$def_curl = xyes; then
146  echo "yes"
147fi
148if test x$def_curl = xno; then
149  echo "no"
150fi
151
152#-------------------#
153# SubProject-enable #
154#-------------------#
155def_sub_projects=no
156AC_MSG_CHECKING([if the SubProjects should be built])
157AC_ARG_WITH([sub-projects],
158        AS_HELP_STRING(--with-sub-projects,also builds the subProjects while make from srcdir), [def_sub_projects=yes])
159if test x$def_sub_projects = xyes; then
160  echo "yes"
161fi
162if test x$def_sub_projects = xno; then
163  echo "no"
164fi
165AM_CONDITIONAL(SUB_PROJECTS, test x$def_sub_projects = xyes)
166
167#-------------------#
168# Profiling Enabled #
169#-------------------#
170def_profiling=no
171AC_MSG_CHECKING([if Profiling should be enabled])
172AC_ARG_ENABLE([profile],
173        AS_HELP_STRING(--enable-profile,builds orxonox with profiling support), [def_profiling=yes])
174if test x$def_profiling = xyes; then
175  echo "yes"
176  CXXFLAGS="$CXXFLAGS -pg"
177fi
178if test x$def_profiling = xno; then
179  echo "no"
180fi
181
182#----------------#
183# efence Enabled #
184#----------------#
185def_efence=no
186AC_MSG_CHECKING([if efence should be enabled])
187AC_ARG_ENABLE([efence],
188        AS_HELP_STRING(--enable-efence,builds orxonox with efence support), [def_efence=yes])
189if test x$def_efence = xyes; then
190  echo "yes"
191fi
192if test x$def_efence = xno; then
193  echo "no"
194fi
195
196#----------------------#
197# Documentation-enable #
198#----------------------#
199def_documentation=no
200AC_MSG_CHECKING([if the Documentation should be build by default])
201AC_ARG_ENABLE([documentation],
202        AS_HELP_STRING(--enable-documentation,also builds the sDocumentation while make from srcdir), [def_documentation=yes])
203if test x$def_documentation = xyes; then
204  echo "yes"
205fi
206if test x$def_documentation = xno; then
207  echo "no"
208fi
209AM_CONDITIONAL(DOCUMENTATION, test x$def_documentation = xyes)
210
211
212
213#---------------------------#
214# WITH TARDIS (convenience) #
215#---------------------------#
216def_tardis=no
217GTKPATH=""
218AC_MSG_CHECKING([convenience flag for working at the taris in the ETH zurich])
219AC_ARG_WITH([tardis],
220        AS_HELP_STRING(--with-tardis,sets all the necesary environment flags for linux-TARDIS boxes at the ETH Zurich), [def_tardis=yes])
221if test x$def_tardis = xyes; then
222  ARCH=i686-debian-linux3.1
223   ## GAMELIBS
224  PREFIX=/usr/pack/gamelibs-1.0-to
225  CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include"
226  LDFLAGS="${LDFLAGS} -L$PREFIX/${ARCH}/lib -Wl,-rpath -Wl,${PREFIX}/${ARCH}/lib"
227  ## GTK
228  GTKPREFIX=/usr/pack/gtk-2.8.3-mo
229  GTKPATH=${GTKPREFIX}/${ARCH}/bin
230  CPPFLAGS="${CPPFLAGS} -I${GTKPREFIX}/include"
231  LDFLAGS="${LDFLAGS} -L${GTKPREFIX}/${ARCH}/lib -Wl,-rpath -Wl,${GTKPREFIX}/${ARCH}/lib"
232  echo "yes"
233fi
234if test x$def_tardis = xno; then
235  echo "no"
236fi
237
238#######################
239## PROGRAMM CHECKING ##
240## 3. party Programs ##
241#######################
242
243#----------------------#
244# checking for Doxygen #
245#----------------------#
246AC_PATH_PROG(DOXYGEN, doxygen)
247AM_CONDITIONAL(DOXYGEN, test $DOXYGEN)
248
249#--------------------#
250# checking for gprof #
251#--------------------#
252AC_PATH_PROG(GPROF, gprof)
253
254#-------------------------#
255# checking for pkg-config #
256#-------------------------#
257if test x$def_gtk = xyes; then
258 if test x${GTKPATH} != x; then
259   AC_PATH_PROG([PKG_CONFIG], [pkg-config],[], $GTKPATH )
260 else
261   AC_PATH_PROG(PKG_CONFIG, pkg-config )
262 fi
263fi
264
265
266#########################
267## CHECKING FOR SYSTEM ##
268#########################
269## here the system is checked, and openGL is included
270## also checking for SDL on differen Systems
271
272CPPFLAGS="$CPPFLAGS -g"
273
274
275AC_MSG_CHECKING([for System])
276## checking for openGL-environment and other sys-specific parameters
277case "$target" in
278
279###########
280#---------#
281# WINDOWS #
282#---------#
283###########
284  *-*-mingw32*)
285echo "mingw-WINDOWS detected"
286
287CPPFLAGS="-I/usr/include -I/mingw/include $CPPFLAGS"
288
289    mingw="yes"
290    MSBITFIELDS="-mms-bitfields"
291    MWINDOWS="-mwindows"
292
293#--------#
294# MIN-GW #
295#--------#
296# checking for mingw32
297    AC_CHECK_LIB([mingw32], [main], FOUND_mingw32=yes)
298    if test x$FOUND_mingw32 = xyes; then
299        LIBS="$LIBS -lmingw32"
300    fi
301
302#---------------#
303# open-GL (win) #
304#---------------#
305# checking gl header
306   AC_CHECK_HEADERS(GL/gl.h ,,
307      [AC_MSG_ERROR([cannot find opengl headers])])
308#   checking for Windows openGl library
309    AC_CHECK_LIB([opengl32], [main], [FOUND_GL=yes; LIBS="$LIBS -lopengl32"])
310    if test x$FOUND_GL != xyes ; then
311         echo "------------------"
312         echo "opengl not found."
313         echo "please install the opengl package which can be found at http://www.opengl.org"
314         echo "------------------"
315         exit -1
316    fi
317
318# cheking for GLU-header
319    AC_CHECK_HEADERS([GL/glu.h] ,,
320      [AC_MSG_ERROR([cannot find opengl headers]) ])
321
322# checking for libGLU
323    AC_CHECK_LIB([glu32], [main], [FOUND_GLU=yes; LIBS="$LIBS -lGLU32"])
324    if test x$FOUND_GLU != xyes ; then
325         echo "------------------"
326         echo "GLU library not found."
327         echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"
328         echo "------------------"
329         exit -1
330    fi
331
332# checking glew header
333   AC_CHECK_HEADERS(GL/glew.h ,,
334      [AC_MSG_ERROR([cannot find opengl extension wrangler headers]) ])
335#   checking for Windows glew library
336    AC_CHECK_LIB([glew32], [main], [FOUND_GLEW=yes; LIBS="$LIBS -lglew32"])
337    if test x$FOUND_GLEW != xyes ; then
338         echo "------------------"
339         echo "opengl extension wrangler not found."
340         echo "please install the glew package which can be found at http://glew.sourceforge.net"
341         echo "------------------"
342         exit -1
343    fi
344
345#--------#
346# openAL #
347#--------#
348AX_CHECK_REQUIRED_HEADER_LIB([AL/al.h], [OpenAL32], [main],,, [http://www.openal.org])
349
350#-----------#
351# SDL(win) #
352#-----------#
353# checking for SDL-headers
354    AC_CHECK_HEADERS([SDL/SDL.h] ,,
355      [AC_MSG_ERROR([cannot find SDL headers]) ])
356
357#checking for libSDL
358    AC_CHECK_LIB([sdlmain], [main], [FOUND_sdlmain=yes; LIBS="$LIBS -lsdlmain"])
359    if test x$FOUND_sdlmain != xyes ; then
360        echo "------------------"
361        echo "SDL library not found."
362        echo "please install the SDL library, which can be found at http://www.libsdl.org"
363        echo "------------------"
364        exit 1
365    fi
366    AC_CHECK_LIB([sdl], [main], [FOUND_SDL=yes; LIBS="$LIBS -lsdl"])
367    if test x$FOUND_SDL != xyes ; then
368        echo "------------------"
369        echo "SDL library not found."
370        echo "please install the SDL library, which can be found at http://www.libsdl.org"
371        echo "------------------"
372        exit -1
373    fi
374
375  ;;
376
377#########
378#-------#
379# LINUX #
380#-------#
381#########
382 *-*-linux*)
383echo "Linux detected"
384
385 Linux="yes"
386
387##CPPFLAGS="-I/usr/include $CPPFLAGS"
388##LDFLAGS="-L/usr/lib $LDFLAGS"
389if test x$SHARED_LIB_PATH != xno; then
390        echo "setting new LDFLAGS with $SHARED_LIB_PATH"
391        LDFLAGS="-Wl,-rpath,$SHARED_LIB_PATH -L$SHARED_LIB_PATH $LDFLAGS"
392fi
393
394#--------#
395# openGL #
396#--------#
397AX_CHECK_REQUIRED_HEADER_LIB([GL/gl.h], [GL], [main],,, [http://www.opengl.org])
398AX_CHECK_REQUIRED_HEADER_LIB([GL/glu.h], [GLU], [main],,, [http://www.opengl.org])
399AX_CHECK_REQUIRED_HEADER_LIB([GL/glew.h], [GLEW], [main],,, [http://glew.sourceforge.net])
400
401#--------#
402# openAL #
403#--------#
404AX_CHECK_REQUIRED_HEADER_LIB([AL/al.h], [openal], [main],,, [http://www.openal.org])
405
406#-----#
407# SDL #
408#-----#
409# checking for SDL
410  AC_MSG_CHECKING([for SDL-version])
411  SDL_VERSION=`sdl-config --version`
412  echo $SDL_VERSION
413   CPPFLAGS="$CPPFLAGS `sdl-config --cflags`"
414
415  AX_CHECK_REQUIRED_HEADER_LIB([SDL.h SDL/SDL.h], [SDL], [main],,, [http://www.libsdl.org])
416
417    ;;
418
419#############
420#-----------#
421# MAC -OS X #
422#-----------#
423#############
424 *darwin*)
425 echo "OS X detected"
426
427 osX="yes"
428
429 CPPFLAGS="-I/sw/include -I/sw/include $CPPFLAGS"
430 LDFLAGS="$LDFLAGS -L/sw/lib"
431# checking gl header
432   AC_CHECK_HEADERS([OpenGL/gl.h] ,,
433      [AC_MSG_ERROR([cannot find opengl headers]) ])
434# cheking for GLU-header
435    AC_CHECK_HEADERS([OpenGL/glu.h] ,,
436      [AC_MSG_ERROR([cannot find opengl headers]) ])
437
438   LIBS="$LIBS -framework OpenGL"
439
440
441
442# checking for GLEW-headers
443   AC_CHECK_HEADERS([GL/glew.h] ,,
444      [AC_MSG_ERROR([cannot find glew headers]) ])
445# checking for GLEW-lib
446  AC_CHECK_LIB([GLEW], [main], [FOUND_GLEW=yes; LIBS="$LIBS -lGLEW"])
447   if test x$FOUND_GLEW != xyes ; then
448         echo "------------------"
449         echo "glew not found."
450         echo "please install the glew package which can be found at http://glew.sourceforge.net"
451         echo "------------------"
452         exit -1
453   fi
454
455
456   AC_CHECK_HEADERS([OpenAL/al.h] ,,
457      [AC_MSG_ERROR([cannot find opengl headers]) ])
458  HAVE_OPENAL=yes
459  LIBS="$LIBS -framework OpenAL"
460
461
462## SDL-check
463       SDL_CFLAGS=`sdl-config --cflags`
464       SDL_LIBS=`sdl-config --libs`
465       CXXFL\AGS="$CXXFLAGS $SDL_CFLAGS"
466       LIBS="$LIBS $SDL_LIBS"
467   AC_CHECK_HEADERS([SDL/SDL.h] ,,
468      [AC_MSG_ERROR([cannot find SDL headers]) ])
469   HAVE_SDL=yes
470#   LIBS="$LIBS -framework SDL"
471
472# checking for SDL-headers
473#    AC_CHECK_HEADERS(SDL/SDL.h ,,
474#      [AC_MSG_ERROR([cannot find SDL headers]) ])
475
476## checking for SDL
477#    SDL_VERSION=1.2.7
478#    AM_PATH_SDL($SDL_VERSION,
479#      :,
480#      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
481#      )
482
483
484    ;;
485
486  *)
487    ;;
488esac
489
490AC_SUBST(MSBITFIELDS)
491
492###################################
493## CHECKING FOR HEADERS AND LIBS ##
494###################################
495
496#---------#
497# SDL_ttf #
498#---------#
499AX_CHECK_REQUIRED_HEADER_LIB([SDL_ttf.h SDL/SDL_ttf.h], [SDL_ttf], [TTF_OpenFont],,, [http://www.libsdl.org/projects/SDL_ttf])
500#-----------#
501# SDL_Image #
502#-----------#
503AX_CHECK_REQUIRED_HEADER_LIB([SDL_image.h SDL/SDL_image.h], [SDL_image], [main],,, [http://www.libsdl.org/projects/SDL_image])
504#---------#
505# SDL_Net #
506#---------#
507AX_CHECK_REQUIRED_HEADER_LIB([SDL_net.h SDL/SDL_net.h], [SDL_net], [main],,, [http://www.libsdl.org/projects/SDL_net])
508
509#--------#
510# FFmpeg #
511#--------#
512# checking for FFmpeg-headers
513  AC_CHECK_HEADERS([avformat.h] ,,
514      [AC_CHECK_HEADERS([ffmpeg/avformat.h] ,,AC_MSG_ERROR([cannot find FFmpeg header.])]))
515# checking for ffmpeg-lib
516  AC_CHECK_LIB([avformat], [main], [FOUND_avformat=yes; LIBS="$LIBS -lavformat"])
517     if test x$FOUND_avformat != xyes ; then
518        echo "------------------"
519        echo "avformat library not found."
520        echo "please install the FFmpeg library, which can be found at http://ffmpeg.sourceforge.net"
521        echo "------------------"
522        exit -1
523     fi
524  AC_CHECK_HEADERS([avcodec.h] ,,
525      [AC_CHECK_HEADERS([ffmpeg/avcodec.h] ,,AC_MSG_ERROR([cannot find FFmpeg header.])]))
526  AC_CHECK_LIB([avcodec], [main], [FOUND_avcodec=yes; LIBS="$LIBS -lavcodec"])
527     if test x$FOUND_avcodec != xyes ; then
528        echo "------------------"
529        echo "avcodec library not found."
530        echo "please install the FFmpeg library, which can be found at http://ffmpeg.sourceforge.net"
531        echo "------------------"
532        exit -1
533     fi
534  AC_CHECK_LIB([avutil], [main], [FOUND_avutil=yes; LIBS="$LIBS -lavutil"])
535  AC_CHECK_LIB([xvid], [main], [FOUND_xvid=yes; LIBS="$LIBS -lxvid"])
536  AC_CHECK_LIB([gcj], [main], [FOUND_gcj=yes; LIBS="$LIBS -lgcj"])
537  AC_CHECK_LIB([theora], [main], [FOUND_theora=yes; LIBS="$LIBS -ltheora"])
538  AC_CHECK_LIB([dts], [main], [FOUND_dts=yes; LIBS="$LIBS -ldts"])
539  AC_CHECK_LIB([gsm], [main], [FOUND_gsm=yes; LIBS="$LIBS -lgsm"])
540  AC_CHECK_LIB([dc1394_control], [main], [FOUND_dc1394_control=yes; LIBS="$LIBS -ldc1394_control"])
541  AC_CHECK_LIB([vorbisenc], [main], [FOUND_vorbisenc=yes; LIBS="$LIBS -lvorbisenc"])
542
543
544#--------#
545# vorbis #
546#--------#
547AX_CHECK_REQUIRED_HEADER_LIB([vorbis/vorbisfile.h], [vorbisfile], [main],,, [http://www.xiph.org/ogg/vorbis/index.html])
548AX_CHECK_REQUIRED_HEADER_LIB([vorbis/codec.h], [vorbis], [main],,, [http://www.xiph.org/ogg/vorbis/index.html])
549
550#-----#
551# ogg #
552#-----#
553AX_CHECK_REQUIRED_HEADER_LIB([ogg/ogg.h], [ogg], [main],,, [http://www.xiph.org/ogg/vorbis/index.html])
554
555
556#---------#
557# libcURL #
558#---------#
559AX_CHECK_HEADER_LIB([curl/curl.h], [curl], [main], [
560 have_curl=yes
561  CURL_LIBS=`curl-config --libs`
562  CURLCFLAGS=`curl-config --cflags`
563  AC_DEFINE_UNQUOTED(HAVE_CURL, 1, [if we have CURL]) ]
564  ,, [http://curl.haxx.se/])
565
566AC_SUBST(CURL_LIBS)
567AC_SUBST(CURL_CFLAGS)
568AM_CONDITIONAL(HAVE_CURL, test "x$have_curl" = "xyes")
569
570#--------#
571# efence #
572#--------#
573if test x$def_efence = xyes ; then
574  AC_CHECK_LIB([efence], [main], [FOUND_efence=yes; LIBS="$LIBS -lefence"])
575   if test x$FOUND_efence != xyes ; then
576     echo "efence was requested, but is not installed!! going on"
577   fi
578
579fi
580
581#-----#
582# GTK #
583#-----#
584if test x$def_gtk = xyes; then
585#PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no)
586        AC_MSG_CHECKING([for gtk2.0])
587        if `$PKG_CONFIG --exists gtk+-2.0`; then
588                echo "yes"
589                have_gtk2=yes
590                GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0`
591                GTK2_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`
592                AC_DEFINE_UNQUOTED(HAVE_GTK2, 1, [if we have GTK2])
593                if test $DEBUG -ge 3; then
594                 echo "cflags: $GTK2_CFLAGS"
595                 echo "libs: $GTK2_LIBS"
596                fi
597        else
598                echo "no"
599        fi
600
601fi
602AC_SUBST(GTK2_LIBS)
603AC_SUBST(GTK2_CFLAGS)
604AM_CONDITIONAL(HAVE_GTK2, test x$have_gtk2 = xyes)
605
606
607# FIXME: Replace `main' with a function in `-lm':
608 AC_CHECK_LIB([m], [main])
609
610
611# Checks for header files.
612AC_HEADER_STDC
613AC_CHECK_HEADERS([stdlib.h string.h])
614
615# Checks for typedefs, structures, and compiler characteristics.
616AC_HEADER_STDBOOL
617
618# Checks for library functions.
619AC_FUNC_MALLOC
620AC_CHECK_FUNCS([bzero sqrt])
621
622######################
623## OUTPUT CONFIGURE ##
624######################
625AC_CONFIG_FILES([Makefile
626                 src/Makefile
627                 src/lib/Makefile
628                 src/lib/math/Makefile
629                 src/lib/graphics/Makefile
630                 src/lib/graphics/importer/Makefile
631                 src/lib/graphics/spatial_separation/Makefile
632                 src/lib/sound/Makefile
633                 src/lib/event/Makefile
634                 src/lib/physics/Makefile
635                 src/lib/particles/Makefile
636                 src/lib/collision_detection/Makefile
637                 src/lib/network/Makefile
638                 src/lib/shell/Makefile
639                 src/lib/gui/Makefile
640                 src/lib/gui/gtk_gui/Makefile
641                 src/lib/gui/gl_gui/Makefile
642                 src/lib/parser/Makefile
643                 src/lib/parser/tinyxml/Makefile
644                 src/lib/parser/ini_parser/Makefile
645                 src/util/Makefile
646                 src/subprojects/Makefile
647                 src/subprojects/testmain/Makefile
648                 src/subprojects/importer/Makefile
649                 src/subprojects/particles/Makefile
650                 src/subprojects/collision_detection/Makefile
651                 src/subprojects/network/Makefile
652                 ])
653
654AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.