Changeset 3424 in orxonox.OLD for orxonox/trunk/configure
- Timestamp:
- Feb 27, 2005, 7:51:36 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/configure
r3423 r3424 867 867 --enable-debug compiles in debug mode. Lots of debug info about the 868 868 game. 869 --enable-sub-projects also builds the subProjects by default869 --enable-sub-projects also builds the subProjects while make from srcdir 870 870 871 871 Optional Packages: … … 1339 1339 1340 1340 1341 # Detect the canonical host and target build environment.1341 ## Detect the canonical host and target build environment. 1342 1342 ac_aux_dir= 1343 1343 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do … … 1447 1447 NONENONEs,x,x, && 1448 1448 program_prefix=${target_alias}- 1449 1450 1449 1451 1450 am__api_version="1.8" … … 1854 1853 1855 1854 1856 1857 # Checks for programs. 1855 ######################### 1856 ## Checks for programs ## 1857 ######################### 1858 1858 ac_ext=cc 1859 1859 ac_cpp='$CXXCPP $CPPFLAGS' … … 3842 3842 3843 3843 3844 ### CHECKING OPTIONAT ARGUMENTS 3845 ## DEBUG-statement 3844 ################################## 3845 ## CHECKING OPTIONAL ARGUMENTS ## 3846 ################################## 3847 3848 #-----------------# 3849 # DEBUG-statement # 3850 #-----------------# 3846 3851 DEBUG=no 3847 3852 echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&5 … … 3853 3858 fi; 3854 3859 3855 if test "$DEBUG" = "no"; then3860 if test x$DEBUG = xno; then 3856 3861 echo "no" 3857 echo " -> Setting debuglevel to 1. Like this you can still see errors."3858 DEBUG= 13859 elif test "$DEBUG" =yes; then3862 echo " -> Setting debuglevel to 3. (orxonox is still in Development. It really is needed." 3863 DEBUG=3 3864 elif test x$DEBUG = xyes; then 3860 3865 echo "yes" 3861 echo " -> Setting debuglevel to 3. HARD DEBUG MODE!!."3862 DEBUG= 33863 else 3864 echo "yes setto $DEBUG"3866 echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!." 3867 DEBUG=4 3868 else 3869 echo "yes: setting debuglevel to to $DEBUG" 3865 3870 fi 3866 3871 … … 3872 3877 3873 3878 3874 ## GTK-disabled 3879 #--------------# 3880 # GTK-disabled # 3881 #--------------# 3875 3882 echo "$as_me:$LINENO: checking if gtk should be enabled" >&5 3876 3883 echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6 … … 3883 3890 def_gtk=yes 3884 3891 fi; 3885 if test "$def_gtk" =yes; then3892 if test x$def_gtk = xyes; then 3886 3893 echo "yes" 3887 3894 fi 3888 if test "$def_gtk" =no; then3895 if test x$def_gtk = xno; then 3889 3896 echo "no" 3890 3897 fi 3891 3898 3892 ## gThread-disabled 3899 #------------------# 3900 # gThread-disabled # 3901 #------------------# 3893 3902 echo "$as_me:$LINENO: checking if gThread should be enabled" >&5 3894 3903 echo $ECHO_N "checking if gThread should be enabled... $ECHO_C" >&6 … … 3901 3910 def_gthread=yes 3902 3911 fi; 3903 if test "$def_gthread" =yes; then3912 if test x$def_gthread = xyes; then 3904 3913 echo "yes" 3905 3914 fi 3906 if test "$def_gthread" =no; then3915 if test x$def_gthread = xno; then 3907 3916 echo "no" 3908 3917 fi 3909 3918 3910 ## pthread-disabled 3919 #------------------# 3920 # pthread-disabled # 3921 #------------------# 3911 3922 echo "$as_me:$LINENO: checking if pthread should be enabled" >&5 3912 3923 echo $ECHO_N "checking if pthread should be enabled... $ECHO_C" >&6 … … 3919 3930 def_pthread=yes 3920 3931 fi; 3921 if test "$def_pthread" =yes; then3932 if test x$def_pthread = xyes; then 3922 3933 echo "yes" 3923 3934 fi 3924 if test "$def_pthread" =no; then3935 if test x$def_pthread = xno; then 3925 3936 echo "no" 3926 3937 fi 3927 3938 3928 ## libCurl disabled? 3939 #------------------# 3940 # libCurl-disabled # 3941 #------------------# 3929 3942 echo "$as_me:$LINENO: checking if libcURL should be enabled" >&5 3930 3943 echo $ECHO_N "checking if libcURL should be enabled... $ECHO_C" >&6 … … 3937 3950 def_curl=yes 3938 3951 fi; 3939 if test "$def_curl" =yes; then3952 if test x$def_curl = xyes; then 3940 3953 echo "yes" 3941 3954 fi 3942 if test "$def_curl" =no; then3955 if test x$def_curl = xno; then 3943 3956 echo "no" 3944 3957 fi 3945 3958 3946 ### SDL_image-disable 3959 #-------------------# 3960 # SDL_image-disable # 3961 #-------------------# 3947 3962 def_sdl_image=yes 3948 3963 echo "$as_me:$LINENO: checking if SDL_image should be enabled" >&5 … … 3954 3969 def_sdl_image=no 3955 3970 fi; 3956 if test "$def_sdl_image" =yes; then3971 if test x$def_sdl_image = xyes; then 3957 3972 echo "yes" 3958 3973 fi 3959 if test "$def_sdl_image" =no; then3974 if test x$def_sdl_image = xno; then 3960 3975 echo "no" 3961 3976 fi 3962 3963 3964 # ## SubProject-enable3965 def_s dl_image=yes3977 #-------------------# 3978 # SubProject-enable # 3979 #-------------------# 3980 def_sub_projects=no 3966 3981 echo "$as_me:$LINENO: checking if the SubProjects should be built" >&5 3967 3982 echo $ECHO_N "checking if the SubProjects should be built... $ECHO_C" >&6 … … 3971 3986 def_sub_projects=yes 3972 3987 fi; 3973 if test "$def_sub_projects" =yes; then3988 if test x$def_sub_projects = xyes; then 3974 3989 echo "yes" 3975 3990 fi 3976 if test "$def_sub_projects" =no; then3991 if test x$def_sub_projects = xno; then 3977 3992 echo "no" 3978 3993 fi … … 3988 4003 3989 4004 3990 ## PROGRAMM CHECKING 3991 # checking for Doxygen 4005 ####################### 4006 ## PROGRAMM CHECKING ## 4007 ## 3. party Programs ## 4008 ####################### 4009 4010 #----------------------# 4011 # checking for Doxygen # 4012 #----------------------# 3992 4013 # Extract the first word of "doxygen", so it can be a program name with args. 3993 4014 set dummy doxygen; ac_word=$2 … … 4040 4061 4041 4062 4042 ### CHECKING FOR SYSTEM ### 4063 ######################### 4064 ## CHECKING FOR SYSTEM ## 4065 ######################### 4066 ## here the system is checked, and openGL is included 4067 ## also checking for SDL on differen Systems 4043 4068 4044 4069 echo "$as_me:$LINENO: checking for System" >&5 … … 4046 4071 ## checking for openGL-environment and other sys-specific parameters 4047 4072 case "$target" in 4048 ### WINDOWS ### 4073 #---------# 4074 # WINDOWS # 4075 #---------# 4049 4076 *-*-mingw32*) 4050 4077 echo "mingw-WINDOWS detected" … … 4349 4376 fi 4350 4377 4351 if test "$FOUND_opengl32" = "yes"; then4378 if test x$FOUND_opengl32 = xyes ; then 4352 4379 LIBS="$LIBS -lopengl32" 4353 4380 else … … 4578 4605 fi 4579 4606 4580 if test "$FOUND_glu32" = "yes"; then4607 if test x$FOUND_glu32 = xyes ; then 4581 4608 LIBS="$LIBS -lGLU32" 4582 4609 else … … 4651 4678 fi 4652 4679 4653 if test $FOUND_mingw32 = "yes"; then4680 if test x$FOUND_mingw32 = xyes; then 4654 4681 LIBS="$LIBS -lmingw32" 4655 4682 fi … … 4873 4900 fi 4874 4901 4875 if test "$FOUND_sdlmain" = "yes"; then4902 if test x$FOUND_sdlmain = xyes ; then 4876 4903 LIBS="$LIBS -lsdlmain" 4877 4904 else … … 4944 4971 fi 4945 4972 4946 if test "$FOUND_sdl" = "yes"; then4973 if test x$FOUND_sdl = xyes ; then 4947 4974 LIBS="$LIBS -lsdl" 4948 4975 else … … 4955 4982 4956 4983 ;; 4957 4958 ### LINUX ### 4984 #-------# 4985 # LINUX # 4986 #-------# 4959 4987 *-*-linux*) 4960 4988 echo "Linux detected" … … 5189 5217 fi 5190 5218 5191 if test "$FOUND_GL" = "yes"; then5219 if test x$FOUND_GL = xyes ; then 5192 5220 LIBS="$LIBS -lGL" 5193 5221 else … … 5423 5451 fi 5424 5452 5425 if test "$FOUND_GLU" = "yes"; then5453 if test x$FOUND_GLU = xyes ; then 5426 5454 LIBS="$LIBS -lGLU" 5427 5455 else … … 5652 5680 fi 5653 5681 5654 if test "$FOUND_SDL" = "yes"; then5682 if test x$FOUND_SDL = xyes ; then 5655 5683 LIBS="$LIBS -lSDL" 5656 5684 else … … 5672 5700 # LIBS="$LIBS $SDL_LIBS" 5673 5701 ;; 5674 5675 ### OS X ### 5702 #-----------# 5703 # MAC -OS X # 5704 #-----------# 5676 5705 *darwin*) 5677 echo "OS X detected"5706 echo "OS X detected" 5678 5707 5679 5708 osX="yes" … … 5993 6022 LIBS="$LIBS -framework OpenGL" 5994 6023 6024 SDL_CFLAGS=`sdl-config --cflags` 6025 SDL_LIBS=`sdl-config --libs` 6026 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 6027 LIBS="$LIBS $SDL_LIBS" 6028 6029 5995 6030 # checking for SDL-headers 5996 6031 # AC_CHECK_HEADERS(SDL/SDL.h ,, … … 6004 6039 # ) 6005 6040 6006 SDL_CFLAGS=`sdl-config --cflags`6007 SDL_LIBS=`sdl-config --libs`6008 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"6009 LIBS="$LIBS $SDL_LIBS"6010 6041 6011 6042 ;; … … 6017 6048 6018 6049 6019 ## check for SDL_Image 6020 if test "$def_sdl_image" = "yes"; then 6050 ################################### 6051 ## CHECKING FOR HEADERS AND LIBS ## 6052 ################################### 6053 6054 #-----------# 6055 # SDL_Image # 6056 #-----------# 6057 if test x$def_sdl_image = xyes; then 6021 6058 # checking for SDL_image-headers 6022 6059 … … 6173 6210 6174 6211 fi 6175 if test "$def_sdl_image" = "yes"; then6212 if test x$def_sdl_image = xyes; then 6176 6213 # checking for SDL_image-lib 6177 6214 echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5 … … 6237 6274 fi 6238 6275 6239 if test "$FOUND_SDL_image" = "yes"; then6276 if test x$FOUND_SDL_image = xyes ; then 6240 6277 LIBS="$LIBS -lSDL_image" 6241 6278 else … … 6248 6285 fi 6249 6286 6250 6251 if test "$def_sdl_image" = "no"; then 6252 ## checking for libjpeg 6287 ## case no SDL-image: 6288 if test x$def_sdl_image = xno; then 6289 #---------# 6290 # libjpeg # 6291 #---------# 6253 6292 6254 6293 for ac_header in jpeglib.h … … 6403 6442 done 6404 6443 6405 if test $jpegHeader = "no"; then6444 if test xjpegHeader = xno; then 6406 6445 echo " not including jpeg." 6407 6446 else … … 6468 6507 fi 6469 6508 6470 if test "$FOUND_jpeg" = "yes"; then6509 if test x$FOUND_jpeg = xyes ; then 6471 6510 LIBS="$LIBS -ljpeg" 6472 6511 else … … 6479 6518 fi 6480 6519 6481 ## checking for libpng 6520 #--------# 6521 # libpng # 6522 #--------# 6482 6523 6483 6524 for ac_header in png.h … … 6632 6673 done 6633 6674 6634 if test $pngHeader = "no"; then6675 if test x$pngHeader = xno; then 6635 6676 echo " not including png." 6636 6677 else … … 6697 6738 fi 6698 6739 6699 if test "$FOUND_png" = "yes"; then6740 if test x$FOUND_png = xyes ; then 6700 6741 LIBS="$LIBS -lpng" 6701 6742 else … … 6709 6750 fi 6710 6751 6711 ## checking for GTK 6712 if test "$def_gtk" = yes; then 6752 #-----# 6753 # GTK # 6754 #-----# 6755 if test x$def_gtk = xyes; then 6713 6756 6714 6757 #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) … … 6743 6786 6744 6787 6745 ## checking for gThread 6746 if test "$def_gthread" = yes; then 6788 #---------# 6789 # gThread # 6790 #---------# 6791 if test x$def_gthread = xyes; then 6747 6792 6748 6793 echo "$as_me:$LINENO: checking for gthread" >&5 … … 6776 6821 6777 6822 6778 ## checking for libcURL 6779 if test "$def_curl" = yes; then 6823 #---------# 6824 # libcURL # 6825 #---------# 6826 if test x$def_curl = xyes; then 6780 6827 6781 6828 … … 7020 7067 7021 7068 7022 7023 ##checking for pthread 7069 #---------# 7070 # pthread # 7071 #---------# 7024 7072 if test x$def_pthread = xyes ; then 7025 7073 if test x$have_gthread = xyes ; then … … 7238 7286 fi 7239 7287 7240 if test "$FOUND_pthread" = "yes"; then7288 if test x$FOUND_pthread = xyes ; then 7241 7289 LIBS="$LIBS -lpthread" 7242 7290 fi 7243 7291 fi 7244 7292 fi 7293 7294 7245 7295 # FIXME: Replace `main' with a function in `-lm': 7246 7296 … … 8129 8179 8130 8180 8181 ###################### 8182 ## OUTPUT CONFIGURE ## 8183 ###################### 8131 8184 ac_config_files="$ac_config_files Makefile src/Makefile src/importer/Makefile src/console/Makefile src/gui/Makefile" 8132 8185
Note: See TracChangeset
for help on using the changeset viewer.