Changeset 5276 in orxonox.OLD for trunk/configure
- Timestamp:
- Oct 4, 2005, 6:50:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r5273 r5276 312 312 #endif" 313 313 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOCUMENTATION_TRUE DOCUMENTATION_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE GPROF PKG_CONFIG MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE CURL_LIBS CURL_CFLAGS HAVE_CURL_TRUE HAVE_CURL_FALSE LIBOBJS LTLIBOBJS'314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOCUMENTATION_TRUE DOCUMENTATION_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE GPROF PKG_CONFIG MSBITFIELDS CURL_LIBS CURL_CFLAGS HAVE_CURL_TRUE HAVE_CURL_FALSE GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS' 315 315 ac_subst_files='' 316 316 … … 4325 4325 MWINDOWS="-mwindows" 4326 4326 4327 4328 4327 #--------# 4328 # MIN-GW # 4329 #--------# 4329 4330 # checking for mingw32 4330 4331 echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 … … 4394 4395 fi 4395 4396 4396 #----------- #4397 # SDL(win) #4398 #----------- #4399 # checking for SDL-headers4400 4397 #---------------# 4398 # open-GL (win) # 4399 #---------------# 4400 # checking gl header 4401 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4401 4402 4402 4403 … … 4471 4472 4472 4473 4473 for ac_header in SDL/SDL.h4474 for ac_header in GL/gl.h 4474 4475 do 4475 4476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 4617 4618 4618 4619 else 4619 { { echo "$as_me:$LINENO: error: cannot find SDLheaders" >&54620 echo "$as_me: error: cannot find SDLheaders" >&2;}4620 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 4621 echo "$as_me: error: cannot find opengl headers" >&2;} 4621 4622 { (exit 1); exit 1; }; } 4622 4623 fi … … 4624 4625 done 4625 4626 4626 4627 #checking for libSDL 4628 echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 4629 echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 4630 if test "${ac_cv_lib_sdlmain_main+set}" = set; then 4627 # checking for Windows openGl library 4628 echo "$as_me:$LINENO: checking for main in -lopengl32" >&5 4629 echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6 4630 if test "${ac_cv_lib_opengl32_main+set}" = set; then 4631 4631 echo $ECHO_N "(cached) $ECHO_C" >&6 4632 4632 else 4633 4633 ac_check_lib_save_LIBS=$LIBS 4634 LIBS="-l sdlmain$LIBS"4634 LIBS="-lopengl32 $LIBS" 4635 4635 cat >conftest.$ac_ext <<_ACEOF 4636 4636 /* confdefs.h. */ … … 4671 4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4672 4672 (exit $ac_status); }; }; then 4673 ac_cv_lib_ sdlmain_main=yes4673 ac_cv_lib_opengl32_main=yes 4674 4674 else 4675 4675 echo "$as_me: failed program was:" >&5 4676 4676 sed 's/^/| /' conftest.$ac_ext >&5 4677 4677 4678 ac_cv_lib_ sdlmain_main=no4678 ac_cv_lib_opengl32_main=no 4679 4679 fi 4680 4680 rm -f conftest.err conftest.$ac_objext \ … … 4682 4682 LIBS=$ac_check_lib_save_LIBS 4683 4683 fi 4684 echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 4685 echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 4686 if test $ac_cv_lib_sdlmain_main = yes; then 4687 FOUND_sdlmain=yes 4688 fi 4689 4690 if test x$FOUND_sdlmain = xyes ; then 4691 LIBS="$LIBS -lsdlmain" 4692 else 4693 echo "------------------" 4694 echo "SDL library not found." 4695 echo "please install the SDL library, which can be found at http://www.libsdl.org" 4696 echo "------------------" 4697 exit 1 4684 echo "$as_me:$LINENO: result: $ac_cv_lib_opengl32_main" >&5 4685 echo "${ECHO_T}$ac_cv_lib_opengl32_main" >&6 4686 if test $ac_cv_lib_opengl32_main = yes; then 4687 FOUND_GL=yes; LIBS="$LIBS -lopengl32" 4688 fi 4689 4690 if test x$FOUND_GL != xyes ; then 4691 echo "------------------" 4692 echo "opengl not found." 4693 echo "please install the opengl package which can be found at http://www.opengl.org" 4694 echo "------------------" 4695 exit -1 4698 4696 fi 4699 echo "$as_me:$LINENO: checking for main in -lsdl" >&5 4700 echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 4701 if test "${ac_cv_lib_sdl_main+set}" = set; then 4702 echo $ECHO_N "(cached) $ECHO_C" >&6 4703 else 4704 ac_check_lib_save_LIBS=$LIBS 4705 LIBS="-lsdl $LIBS" 4706 cat >conftest.$ac_ext <<_ACEOF 4707 /* confdefs.h. */ 4708 _ACEOF 4709 cat confdefs.h >>conftest.$ac_ext 4710 cat >>conftest.$ac_ext <<_ACEOF 4711 /* end confdefs.h. */ 4712 4713 4714 int 4715 main () 4716 { 4717 main (); 4718 ; 4719 return 0; 4720 } 4721 _ACEOF 4722 rm -f conftest.$ac_objext conftest$ac_exeext 4723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4724 (eval $ac_link) 2>conftest.er1 4725 ac_status=$? 4726 grep -v '^ *+' conftest.er1 >conftest.err 4727 rm -f conftest.er1 4728 cat conftest.err >&5 4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4730 (exit $ac_status); } && 4731 { ac_try='test -z "$ac_c_werror_flag" 4732 || test ! -s conftest.err' 4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4734 (eval $ac_try) 2>&5 4735 ac_status=$? 4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4737 (exit $ac_status); }; } && 4738 { ac_try='test -s conftest$ac_exeext' 4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4740 (eval $ac_try) 2>&5 4741 ac_status=$? 4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4743 (exit $ac_status); }; }; then 4744 ac_cv_lib_sdl_main=yes 4745 else 4746 echo "$as_me: failed program was:" >&5 4747 sed 's/^/| /' conftest.$ac_ext >&5 4748 4749 ac_cv_lib_sdl_main=no 4750 fi 4751 rm -f conftest.err conftest.$ac_objext \ 4752 conftest$ac_exeext conftest.$ac_ext 4753 LIBS=$ac_check_lib_save_LIBS 4754 fi 4755 echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 4756 echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 4757 if test $ac_cv_lib_sdl_main = yes; then 4758 FOUND_sdl=yes 4759 fi 4760 4761 if test x$FOUND_sdl = xyes ; then 4762 LIBS="$LIBS -lsdl" 4763 else 4764 echo "------------------" 4765 echo "SDL library not found." 4766 echo "please install the SDL library, which can be found at http://www.libsdl.org" 4767 echo "------------------" 4768 exit -1 4769 fi 4770 4771 #---------------# 4772 # open-GL (win) # 4773 #---------------# 4774 # checking gl header 4775 4776 for ac_header in GL/gl.h 4697 4698 # cheking for GLU-header 4699 4700 for ac_header in GL/glu.h 4777 4701 do 4778 4702 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 4927 4851 done 4928 4852 4929 # checking for Windows openGl library 4930 echo "$as_me:$LINENO: checking for main in -lopengl32" >&5 4931 echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6 4932 if test "${ac_cv_lib_opengl32_main+set}" = set; then 4853 4854 # checking for libGLU 4855 echo "$as_me:$LINENO: checking for main in -lglu32" >&5 4856 echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6 4857 if test "${ac_cv_lib_glu32_main+set}" = set; then 4933 4858 echo $ECHO_N "(cached) $ECHO_C" >&6 4934 4859 else 4935 4860 ac_check_lib_save_LIBS=$LIBS 4936 LIBS="-l opengl32 $LIBS"4861 LIBS="-lglu32 $LIBS" 4937 4862 cat >conftest.$ac_ext <<_ACEOF 4938 4863 /* confdefs.h. */ … … 4973 4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4974 4899 (exit $ac_status); }; }; then 4975 ac_cv_lib_ opengl32_main=yes4900 ac_cv_lib_glu32_main=yes 4976 4901 else 4977 4902 echo "$as_me: failed program was:" >&5 4978 4903 sed 's/^/| /' conftest.$ac_ext >&5 4979 4904 4980 ac_cv_lib_ opengl32_main=no4905 ac_cv_lib_glu32_main=no 4981 4906 fi 4982 4907 rm -f conftest.err conftest.$ac_objext \ … … 4984 4909 LIBS=$ac_check_lib_save_LIBS 4985 4910 fi 4986 echo "$as_me:$LINENO: result: $ac_cv_lib_opengl32_main" >&5 4987 echo "${ECHO_T}$ac_cv_lib_opengl32_main" >&6 4988 if test $ac_cv_lib_opengl32_main = yes; then 4989 FOUND_opengl32=yes 4990 else 4991 "gl/gl.h" 4992 fi 4993 4994 if test x$FOUND_opengl32 = xyes ; then 4995 LIBS="$LIBS -lopengl32" 4996 else 4911 echo "$as_me:$LINENO: result: $ac_cv_lib_glu32_main" >&5 4912 echo "${ECHO_T}$ac_cv_lib_glu32_main" >&6 4913 if test $ac_cv_lib_glu32_main = yes; then 4914 FOUND_GLU=yes; LIBS="$LIBS -lGLU32" 4915 fi 4916 4917 if test x$FOUND_GLU != xyes ; then 4997 4918 echo "------------------" 4998 echo " openglnot found."4999 echo "please install the opengl packagewhich can be found at http://www.opengl.org"4919 echo "GLU library not found." 4920 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" 5000 4921 echo "------------------" 5001 4922 exit -1 5002 4923 fi 5003 4924 5004 # che king for GLU-header5005 5006 for ac_header in GL/gl u.h4925 # checking glew header 4926 4927 for ac_header in GL/glew.h 5007 4928 do 5008 4929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5150 5071 5151 5072 else 5152 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&55153 echo "$as_me: error: cannot find opengl headers" >&2;}5073 { { echo "$as_me:$LINENO: error: cannot find opengl extension wrangler headers" >&5 5074 echo "$as_me: error: cannot find opengl extension wrangler headers" >&2;} 5154 5075 { (exit 1); exit 1; }; } 5155 5076 fi … … 5157 5078 done 5158 5079 5159 5160 # checking for libGLU 5161 echo "$as_me:$LINENO: checking for main in -lglu32" >&5 5162 echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6 5163 if test "${ac_cv_lib_glu32_main+set}" = set; then 5080 # checking for Windows glew library 5081 echo "$as_me:$LINENO: checking for main in -lglew32" >&5 5082 echo $ECHO_N "checking for main in -lglew32... $ECHO_C" >&6 5083 if test "${ac_cv_lib_glew32_main+set}" = set; then 5164 5084 echo $ECHO_N "(cached) $ECHO_C" >&6 5165 5085 else 5166 5086 ac_check_lib_save_LIBS=$LIBS 5167 LIBS="-lgl u32 $LIBS"5087 LIBS="-lglew32 $LIBS" 5168 5088 cat >conftest.$ac_ext <<_ACEOF 5169 5089 /* confdefs.h. */ … … 5204 5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5205 5125 (exit $ac_status); }; }; then 5206 ac_cv_lib_gl u32_main=yes5126 ac_cv_lib_glew32_main=yes 5207 5127 else 5208 5128 echo "$as_me: failed program was:" >&5 5209 5129 sed 's/^/| /' conftest.$ac_ext >&5 5210 5130 5211 ac_cv_lib_gl u32_main=no5131 ac_cv_lib_glew32_main=no 5212 5132 fi 5213 5133 rm -f conftest.err conftest.$ac_objext \ … … 5215 5135 LIBS=$ac_check_lib_save_LIBS 5216 5136 fi 5217 echo "$as_me:$LINENO: result: $ac_cv_lib_glu32_main" >&5 5218 echo "${ECHO_T}$ac_cv_lib_glu32_main" >&6 5219 if test $ac_cv_lib_glu32_main = yes; then 5220 FOUND_glu32=yes 5221 fi 5222 5223 if test x$FOUND_glu32 = xyes ; then 5224 LIBS="$LIBS -lGLU32" 5225 else 5137 echo "$as_me:$LINENO: result: $ac_cv_lib_glew32_main" >&5 5138 echo "${ECHO_T}$ac_cv_lib_glew32_main" >&6 5139 if test $ac_cv_lib_glew32_main = yes; then 5140 FOUND_GLEW=yes; LIBS="$LIBS -lglew32" 5141 fi 5142 5143 if test x$FOUND_GLEW != xyes ; then 5226 5144 echo "------------------" 5227 echo " GLU librarynot found."5228 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"5145 echo "opengl extension wrangler not found." 5146 echo "please install the glew package which can be found at http://glew.sourceforge.net" 5229 5147 echo "------------------" 5230 5148 exit -1 5231 5149 fi 5232 5150 5233 # checking glew header 5234 5235 for ac_header in GL/glew.h 5151 #--------# 5152 # openAL # 5153 #--------# 5154 # checking for openAL-headers 5155 5156 for ac_header in AL/al.h 5236 5157 do 5237 5158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5379 5300 5380 5301 else 5381 { { echo "$as_me:$LINENO: error: cannot find open gl extension wrangler headers" >&55382 echo "$as_me: error: cannot find open gl extension wrangler headers" >&2;}5302 { { echo "$as_me:$LINENO: error: cannot find openAL header." >&5 5303 echo "$as_me: error: cannot find openAL header." >&2;} 5383 5304 { (exit 1); exit 1; }; } 5384 5305 fi … … 5386 5307 done 5387 5308 5388 # checking for Windows glew library5389 echo "$as_me:$LINENO: checking for main in -lglew32" >&55390 echo $ECHO_N "checking for main in -l glew32... $ECHO_C" >&65391 if test "${ac_cv_lib_ glew32_main+set}" = set; then5309 # checking for openAL-lib 5310 echo "$as_me:$LINENO: checking for main in -lOpenAL32" >&5 5311 echo $ECHO_N "checking for main in -lOpenAL32... $ECHO_C" >&6 5312 if test "${ac_cv_lib_OpenAL32_main+set}" = set; then 5392 5313 echo $ECHO_N "(cached) $ECHO_C" >&6 5393 5314 else 5394 5315 ac_check_lib_save_LIBS=$LIBS 5395 LIBS="-l glew32 $LIBS"5316 LIBS="-lOpenAL32 $LIBS" 5396 5317 cat >conftest.$ac_ext <<_ACEOF 5397 5318 /* confdefs.h. */ … … 5432 5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5433 5354 (exit $ac_status); }; }; then 5434 ac_cv_lib_ glew32_main=yes5355 ac_cv_lib_OpenAL32_main=yes 5435 5356 else 5436 5357 echo "$as_me: failed program was:" >&5 5437 5358 sed 's/^/| /' conftest.$ac_ext >&5 5438 5359 5439 ac_cv_lib_ glew32_main=no5360 ac_cv_lib_OpenAL32_main=no 5440 5361 fi 5441 5362 rm -f conftest.err conftest.$ac_objext \ … … 5443 5364 LIBS=$ac_check_lib_save_LIBS 5444 5365 fi 5445 echo "$as_me:$LINENO: result: $ac_cv_lib_glew32_main" >&5 5446 echo "${ECHO_T}$ac_cv_lib_glew32_main" >&6 5447 if test $ac_cv_lib_glew32_main = yes; then 5448 FOUND_glew32=yes 5449 fi 5450 5451 if test x$FOUND_glew32 = xyes ; then 5452 LIBS="$LIBS -lglew32" 5453 else 5454 echo "------------------" 5455 echo "opengl extension wrangler not found." 5456 echo "please install the glew package which can be found at http://glew.sourceforge.net" 5457 echo "------------------" 5458 exit -1 5459 fi 5460 5461 #--------# 5462 # openAL # 5463 #--------# 5464 # checking for openAL-headers 5465 5466 for ac_header in AL/al.h 5366 echo "$as_me:$LINENO: result: $ac_cv_lib_OpenAL32_main" >&5 5367 echo "${ECHO_T}$ac_cv_lib_OpenAL32_main" >&6 5368 if test $ac_cv_lib_OpenAL32_main = yes; then 5369 FOUND_OPENAL=yes; LIBS="$LIBS -lOpenAL32" 5370 fi 5371 5372 echo "$as_me:$LINENO: checking for main in -lALut" >&5 5373 echo $ECHO_N "checking for main in -lALut... $ECHO_C" >&6 5374 if test "${ac_cv_lib_ALut_main+set}" = set; then 5375 echo $ECHO_N "(cached) $ECHO_C" >&6 5376 else 5377 ac_check_lib_save_LIBS=$LIBS 5378 LIBS="-lALut $LIBS" 5379 cat >conftest.$ac_ext <<_ACEOF 5380 /* confdefs.h. */ 5381 _ACEOF 5382 cat confdefs.h >>conftest.$ac_ext 5383 cat >>conftest.$ac_ext <<_ACEOF 5384 /* end confdefs.h. */ 5385 5386 5387 int 5388 main () 5389 { 5390 main (); 5391 ; 5392 return 0; 5393 } 5394 _ACEOF 5395 rm -f conftest.$ac_objext conftest$ac_exeext 5396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5397 (eval $ac_link) 2>conftest.er1 5398 ac_status=$? 5399 grep -v '^ *+' conftest.er1 >conftest.err 5400 rm -f conftest.er1 5401 cat conftest.err >&5 5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5403 (exit $ac_status); } && 5404 { ac_try='test -z "$ac_c_werror_flag" 5405 || test ! -s conftest.err' 5406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5407 (eval $ac_try) 2>&5 5408 ac_status=$? 5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5410 (exit $ac_status); }; } && 5411 { ac_try='test -s conftest$ac_exeext' 5412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5413 (eval $ac_try) 2>&5 5414 ac_status=$? 5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5416 (exit $ac_status); }; }; then 5417 ac_cv_lib_ALut_main=yes 5418 else 5419 echo "$as_me: failed program was:" >&5 5420 sed 's/^/| /' conftest.$ac_ext >&5 5421 5422 ac_cv_lib_ALut_main=no 5423 fi 5424 rm -f conftest.err conftest.$ac_objext \ 5425 conftest$ac_exeext conftest.$ac_ext 5426 LIBS=$ac_check_lib_save_LIBS 5427 fi 5428 echo "$as_me:$LINENO: result: $ac_cv_lib_ALut_main" >&5 5429 echo "${ECHO_T}$ac_cv_lib_ALut_main" >&6 5430 if test $ac_cv_lib_ALut_main = yes; then 5431 FOUND_ALUT=yes; LIBS="$LIBS -lALut" 5432 fi 5433 5434 if test x$FOUND_OPENAL != xyes ; then 5435 echo "------------------" 5436 echo "openal library not found." 5437 echo "please install the openal library, which can be found at http://www.openal.org" 5438 echo "------------------" 5439 exit -1 5440 fi 5441 5442 5443 #-----------# 5444 # SDL(win) # 5445 #-----------# 5446 # checking for SDL-headers 5447 5448 for ac_header in SDL/SDL.h 5467 5449 do 5468 5450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5610 5592 5611 5593 else 5612 { { echo "$as_me:$LINENO: error: cannot find openAL header." >&55613 echo "$as_me: error: cannot find openAL header." >&2;}5594 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 5595 echo "$as_me: error: cannot find SDL headers" >&2;} 5614 5596 { (exit 1); exit 1; }; } 5615 5597 fi … … 5617 5599 done 5618 5600 5619 # checking for openAL-lib 5620 echo "$as_me:$LINENO: checking for main in -lOpenAL32" >&5 5621 echo $ECHO_N "checking for main in -lOpenAL32... $ECHO_C" >&6 5622 if test "${ac_cv_lib_OpenAL32_main+set}" = set; then 5601 5602 #checking for libSDL 5603 echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 5604 echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 5605 if test "${ac_cv_lib_sdlmain_main+set}" = set; then 5623 5606 echo $ECHO_N "(cached) $ECHO_C" >&6 5624 5607 else 5625 5608 ac_check_lib_save_LIBS=$LIBS 5626 LIBS="-l OpenAL32$LIBS"5609 LIBS="-lsdlmain $LIBS" 5627 5610 cat >conftest.$ac_ext <<_ACEOF 5628 5611 /* confdefs.h. */ … … 5663 5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5664 5647 (exit $ac_status); }; }; then 5665 ac_cv_lib_ OpenAL32_main=yes5648 ac_cv_lib_sdlmain_main=yes 5666 5649 else 5667 5650 echo "$as_me: failed program was:" >&5 5668 5651 sed 's/^/| /' conftest.$ac_ext >&5 5669 5652 5670 ac_cv_lib_ OpenAL32_main=no5653 ac_cv_lib_sdlmain_main=no 5671 5654 fi 5672 5655 rm -f conftest.err conftest.$ac_objext \ … … 5674 5657 LIBS=$ac_check_lib_save_LIBS 5675 5658 fi 5676 echo "$as_me:$LINENO: result: $ac_cv_lib_OpenAL32_main" >&5 5677 echo "${ECHO_T}$ac_cv_lib_OpenAL32_main" >&6 5678 if test $ac_cv_lib_OpenAL32_main = yes; then 5679 FOUND_openal=yes 5680 fi 5681 5682 echo "$as_me:$LINENO: checking for main in -lALut" >&5 5683 echo $ECHO_N "checking for main in -lALut... $ECHO_C" >&6 5684 if test "${ac_cv_lib_ALut_main+set}" = set; then 5659 echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 5660 echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 5661 if test $ac_cv_lib_sdlmain_main = yes; then 5662 FOUND_sdlmain=yes; LIBS="$LIBS -lsdlmain" 5663 fi 5664 5665 if test x$FOUND_sdlmain != xyes ; then 5666 echo "------------------" 5667 echo "SDL library not found." 5668 echo "please install the SDL library, which can be found at http://www.libsdl.org" 5669 echo "------------------" 5670 exit 1 5671 fi 5672 echo "$as_me:$LINENO: checking for main in -lsdl" >&5 5673 echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 5674 if test "${ac_cv_lib_sdl_main+set}" = set; then 5685 5675 echo $ECHO_N "(cached) $ECHO_C" >&6 5686 5676 else 5687 5677 ac_check_lib_save_LIBS=$LIBS 5688 LIBS="-l ALut$LIBS"5678 LIBS="-lsdl $LIBS" 5689 5679 cat >conftest.$ac_ext <<_ACEOF 5690 5680 /* confdefs.h. */ … … 5725 5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5726 5716 (exit $ac_status); }; }; then 5727 ac_cv_lib_ ALut_main=yes5717 ac_cv_lib_sdl_main=yes 5728 5718 else 5729 5719 echo "$as_me: failed program was:" >&5 5730 5720 sed 's/^/| /' conftest.$ac_ext >&5 5731 5721 5732 ac_cv_lib_ ALut_main=no5722 ac_cv_lib_sdl_main=no 5733 5723 fi 5734 5724 rm -f conftest.err conftest.$ac_objext \ … … 5736 5726 LIBS=$ac_check_lib_save_LIBS 5737 5727 fi 5738 echo "$as_me:$LINENO: result: $ac_cv_lib_ALut_main" >&5 5739 echo "${ECHO_T}$ac_cv_lib_ALut_main" >&6 5740 if test $ac_cv_lib_ALut_main = yes; then 5741 FOUND_ALut=yes 5742 fi 5743 5744 if test x$FOUND_openal = xyes ; then 5745 if test x$FOUND_ALut = xyes ; then 5746 LIBS="$LIBS -lALut -lOpenAL32" 5747 else 5728 echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 5729 echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 5730 if test $ac_cv_lib_sdl_main = yes; then 5731 FOUND_SDL=yes; LIBS="$LIBS -lsdl" 5732 fi 5733 5734 if test x$FOUND_SDL != xyes ; then 5748 5735 echo "------------------" 5749 echo " openallibrary not found."5750 echo "please install the openal library, which can be found at http://www.openal.org"5736 echo "SDL library not found." 5737 echo "please install the SDL library, which can be found at http://www.libsdl.org" 5751 5738 echo "------------------" 5752 5739 exit -1 5753 5754 fi 5755 5740 fi 5741 5742 ;; 5756 5743 5757 5744 ######### … … 5988 5975 echo "${ECHO_T}$ac_cv_lib_GL_main" >&6 5989 5976 if test $ac_cv_lib_GL_main = yes; then 5990 FOUND_GL=yes 5991 fi 5992 5993 if test x$FOUND_GL = xyes ; then 5994 LIBS="$LIBS -lGL" 5995 else 5977 FOUND_GL=yes; LIBS="$LIBS -lGL" 5978 fi 5979 5980 if test x$FOUND_GL != xyes ; then 5996 5981 echo "------------------" 5997 5982 echo "opengl not found." … … 6156 6141 done 6157 6142 6158 6159 # AC_CHECK_LIB([GLU], [main], FOUND_GLU=yes) 6160 # if test x$FOUND_GLU = xyes ; then 6143 ### FIXME ### 6144 # AC_CHECK_LIB([GLU], [main], [FOUND_GLU=yes; LIBS="$LIBS -lGLU"]) 6145 # if test x$FOUND_GLU != xyes ; then 6146 FOUND_GLU=yes 6161 6147 LIBS="$LIBS -lGLU" 6162 6148 # else … … 6614 6600 echo "${ECHO_T}$ac_cv_lib_openal_main" >&6 6615 6601 if test $ac_cv_lib_openal_main = yes; then 6616 FOUND_ openal=yes6617 fi 6618 6619 if test x$FOUND_ openal= xyes ; then6602 FOUND_OPENAL=yes 6603 fi 6604 6605 if test x$FOUND_OPENAL = xyes ; then 6620 6606 LIBS="$LIBS -lopenal" 6621 6607 else … … 6840 6826 echo "${ECHO_T}$ac_cv_lib_alut_main" >&6 6841 6827 if test $ac_cv_lib_alut_main = yes; then 6842 FOUND_ alut=yes6828 FOUND_ALUT=yes 6843 6829 fi 6844 6830 … … 6846 6832 LIBS="-lalut $LIBS" 6847 6833 fi 6848 6834 #-----# 6835 # SDL # 6836 #-----# 6849 6837 # checking for SDL 6850 6838 echo "$as_me:$LINENO: checking for SDL-version" >&5 … … 7222 7210 fi 7223 7211 7224 if test x$FOUND_SDL = xyes ; then 7225 echo `sdl-config --libs` 7226 else 7212 if test x$FOUND_SDL != xyes ; then 7227 7213 echo "------------------" 7228 7214 echo "SDL library not found." … … 7965 7951 echo "${ECHO_T}$ac_cv_lib_SDL_ttf_TTF_OpenFont" >&6 7966 7952 if test $ac_cv_lib_SDL_ttf_TTF_OpenFont = yes; then 7967 FOUND_SDL_ttf=yes 7968 fi 7969 7970 if test x$FOUND_SDL_ttf = xyes ; then 7971 LIBS="$LIBS -lSDL_ttf" 7972 else 7953 FOUND_SDL_ttf=yes; LIBS="$LIBS -lSDL_ttf" 7954 fi 7955 7956 if test x$FOUND_SDL_ttf != xyes ; then 7973 7957 echo "------------------" 7974 7958 echo "SDL_ttf library not found." … … 8347 8331 echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&6 8348 8332 if test $ac_cv_lib_SDL_image_main = yes; then 8349 FOUND_SDL_image=yes 8350 fi 8351 8352 if test x$FOUND_SDL_image = xyes ; then 8353 LIBS="$LIBS -lSDL_image" 8354 else 8333 FOUND_SDL_image=yes; LIBS="$LIBS -lSDL_image" 8334 fi 8335 8336 if test x$FOUND_SDL_image != xyes ; then 8355 8337 echo "------------------" 8356 8338 echo "SDL_image library not found." … … 8578 8560 echo "${ECHO_T}$ac_cv_lib_ogg_main" >&6 8579 8561 if test $ac_cv_lib_ogg_main = yes; then 8580 FOUND_ogg=yes 8581 fi 8582 8583 if test x$FOUND_ogg = xyes ; then 8584 LIBS="$LIBS -logg" 8585 else 8562 FOUND_ogg=yes; LIBS="$LIBS -logg" 8563 fi 8564 8565 if test x$FOUND_ogg != xyes ; then 8586 8566 echo "------------------" 8587 8567 echo "ogg library not found." … … 8654 8634 echo "${ECHO_T}$ac_cv_lib_vorbis_main" >&6 8655 8635 if test $ac_cv_lib_vorbis_main = yes; then 8656 FOUND_vorbis=yes 8657 fi 8658 8659 if test x$FOUND_vorbis = xyes ; then 8660 LIBS="$LIBS -lvorbis" 8661 else 8636 FOUND_vorbis=yes; LIBS="$LIBS -lvorbis" 8637 fi 8638 8639 if test x$FOUND_vorbis != xyes ; then 8662 8640 echo "------------------" 8663 8641 echo "vorbis library not found." … … 8885 8863 echo "${ECHO_T}$ac_cv_lib_vorbisfile_main" >&6 8886 8864 if test $ac_cv_lib_vorbisfile_main = yes; then 8887 FOUND_vorbisfile=yes 8888 fi 8889 8890 if test x$FOUND_vorbisfile = xyes ; then 8891 LIBS="$LIBS -lvorbisfile" 8892 else 8865 FOUND_vorbisfile=yes; LIBS="$LIBS -lvorbisfile" 8866 fi 8867 8868 if test x$FOUND_vorbisfile != xyes ; then 8893 8869 echo "------------------" 8894 8870 echo "vorbisfile library not found." … … 8898 8874 fi 8899 8875 8900 #-----#8901 # GTK #8902 #-----#8903 if test x$def_gtk = xyes; then8904 #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no)8905 echo "$as_me:$LINENO: checking for gtk2.0" >&58906 echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&68907 if `$PKG_CONFIG --exists gtk+-2.0`; then8908 echo "yes"8909 have_gtk2=yes8910 GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0`8911 GTK2_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`8912 8913 cat >>confdefs.h <<_ACEOF8914 #define HAVE_GTK2 18915 _ACEOF8916 8917 if test $DEBUG -ge 3; then8918 echo "cflags: $GTK2_CFLAGS"8919 echo "libs: $GTK2_LIBS"8920 fi8921 else8922 echo "no"8923 fi8924 8925 fi8926 8927 8928 8929 8930 if test x$have_gtk2 = xyes; then8931 HAVE_GTK2_TRUE=8932 HAVE_GTK2_FALSE='#'8933 else8934 HAVE_GTK2_TRUE='#'8935 HAVE_GTK2_FALSE=8936 fi8937 8938 8876 8939 8877 #---------# … … 8941 8879 #---------# 8942 8880 if test x$def_curl = xyes; then 8943 8944 8881 8945 8882 for ac_header in curl/curl.h … … 9087 9024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9088 9025 _ACEOF 9089 curlHeader= "yes"9090 else 9091 curlHeader= "no"9026 curlHeader=yes 9027 else 9028 curlHeader=no 9092 9029 fi 9093 9030 … … 9246 9183 echo "${ECHO_T}$ac_cv_lib_efence_main" >&6 9247 9184 if test $ac_cv_lib_efence_main = yes; then 9248 FOUND_efence=yes 9249 fi 9250 9251 if test x$FOUND_efence = xyes ; then9252 LIBS="$LIBS -lefence"9185 FOUND_efence=yes; LIBS="$LIBS -lefence" 9186 fi 9187 9188 if test x$FOUND_efence != xyes ; then 9189 echo "efence was requested, but is not installed!! going on" 9253 9190 fi 9254 9191 9255 9192 fi 9193 9194 #-----# 9195 # GTK # 9196 #-----# 9197 if test x$def_gtk = xyes; then 9198 #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) 9199 echo "$as_me:$LINENO: checking for gtk2.0" >&5 9200 echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6 9201 if `$PKG_CONFIG --exists gtk+-2.0`; then 9202 echo "yes" 9203 have_gtk2=yes 9204 GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0` 9205 GTK2_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` 9206 9207 cat >>confdefs.h <<_ACEOF 9208 #define HAVE_GTK2 1 9209 _ACEOF 9210 9211 if test $DEBUG -ge 3; then 9212 echo "cflags: $GTK2_CFLAGS" 9213 echo "libs: $GTK2_LIBS" 9214 fi 9215 else 9216 echo "no" 9217 fi 9218 9219 fi 9220 9221 9222 9223 9224 if test x$have_gtk2 = xyes; then 9225 HAVE_GTK2_TRUE= 9226 HAVE_GTK2_FALSE='#' 9227 else 9228 HAVE_GTK2_TRUE='#' 9229 HAVE_GTK2_FALSE= 9230 fi 9231 9232 9256 9233 9257 9234 # FIXME: Replace `main' with a function in `-lm': … … 10280 10257 { (exit 1); exit 1; }; } 10281 10258 fi 10259 if test -z "${HAVE_CURL_TRUE}" && test -z "${HAVE_CURL_FALSE}"; then 10260 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CURL\" was never defined. 10261 Usually this means the macro was only invoked conditionally." >&5 10262 echo "$as_me: error: conditional \"HAVE_CURL\" was never defined. 10263 Usually this means the macro was only invoked conditionally." >&2;} 10264 { (exit 1); exit 1; }; } 10265 fi 10282 10266 if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then 10283 10267 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK2\" was never defined. 10284 10268 Usually this means the macro was only invoked conditionally." >&5 10285 10269 echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. 10286 Usually this means the macro was only invoked conditionally." >&2;}10287 { (exit 1); exit 1; }; }10288 fi10289 if test -z "${HAVE_CURL_TRUE}" && test -z "${HAVE_CURL_FALSE}"; then10290 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CURL\" was never defined.10291 Usually this means the macro was only invoked conditionally." >&510292 echo "$as_me: error: conditional \"HAVE_CURL\" was never defined.10293 10270 Usually this means the macro was only invoked conditionally." >&2;} 10294 10271 { (exit 1); exit 1; }; } … … 10913 10890 s,@PKG_CONFIG@,$PKG_CONFIG,;t t 10914 10891 s,@MSBITFIELDS@,$MSBITFIELDS,;t t 10892 s,@CURL_LIBS@,$CURL_LIBS,;t t 10893 s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t 10894 s,@HAVE_CURL_TRUE@,$HAVE_CURL_TRUE,;t t 10895 s,@HAVE_CURL_FALSE@,$HAVE_CURL_FALSE,;t t 10915 10896 s,@GTK2_LIBS@,$GTK2_LIBS,;t t 10916 10897 s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t 10917 10898 s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t 10918 10899 s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t 10919 s,@CURL_LIBS@,$CURL_LIBS,;t t10920 s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t10921 s,@HAVE_CURL_TRUE@,$HAVE_CURL_TRUE,;t t10922 s,@HAVE_CURL_FALSE@,$HAVE_CURL_FALSE,;t t10923 10900 s,@LIBOBJS@,$LIBOBJS,;t t 10924 10901 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
Note: See TracChangeset
for help on using the changeset viewer.