Changeset 3105 in orxonox.OLD for orxonox/branches/images/configure
- Timestamp:
- Dec 5, 2004, 5:34:52 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/images/configure
r3104 r3105 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 CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP MSBITFIELDS PKG_CONFIG GTK2_CFLAGS GTK2_LIBS HAVE_GTK2_TRUE HAVE_GTK2_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 CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS' 315 315 ac_subst_files='' 316 316 … … 865 865 --disable-dependency-tracking speeds up one-time build 866 866 --enable-dependency-tracking do not reject slow dependency extractors 867 --disable-gtk Prevents GTK from being loaded 868 --disabel-sdl-image Prevents SDL_image from being loaded 867 869 868 870 Some influential environment variables: … … 3830 3832 3831 3833 3834 3835 ### CHECKING OPTIONAT ARGUMENTS 3836 ## GTK-disabled 3837 def_gtk=yes 3838 echo "$as_me:$LINENO: checking if gtk should be enabled" >&5 3839 echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6 3840 # Check whether --enable-gtk or --disable-gtk was given. 3841 if test "${enable_gtk+set}" = set; then 3842 enableval="$enable_gtk" 3843 def_gtk=no 3844 fi; 3845 if test "$def_gtk" = yes; then 3846 echo "yes" 3847 fi 3848 if test "$def_gtk" = no; then 3849 echo "no" 3850 fi 3851 ### SDL_image-disable 3852 def_sdl_image=yes 3853 echo "$as_me:$LINENO: checking if SDL_image should be enabled" >&5 3854 echo $ECHO_N "checking if SDL_image should be enabled... $ECHO_C" >&6 3855 # Check whether --enable-sdl_image or --disable-sdl_image was given. 3856 if test "${enable_sdl_image+set}" = set; then 3857 enableval="$enable_sdl_image" 3858 def_sdl_image=no 3859 fi; 3860 if test "$def_sdl_image" = yes; then 3861 echo "yes" 3862 fi 3863 if test "$def_sdl_image" = no; then 3864 echo "no" 3865 fi 3866 3832 3867 ### CHECKING FOR SYSTEM ### 3833 3868 … … 4744 4779 fi 4745 4780 4746 4781 def_sdl_image=no; 4747 4782 ;; 4748 4783 … … 5445 5480 fi 5446 5481 5482 ## check for SDL_Image 5483 if test "$def_sdl_image" = "yes"; then 5447 5484 # checking for SDL_image-headers 5448 5485 … … 5593 5630 5594 5631 else 5595 { { echo "$as_me:$LINENO: error: cannot find SDL_image headers" >&5 5596 echo "$as_me: error: cannot find SDL_image headers" >&2;} 5597 { (exit 1); exit 1; }; } 5632 echo "sdl_image not found. falling back to other options"; def_sdl_image=no 5598 5633 fi 5599 5634 5600 5635 done 5601 5636 5637 fi 5638 if test "$def_sdl_image" = "yes"; then 5602 5639 # checking for SDL_image-lib 5603 5640 echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5 … … 5672 5709 exit -1 5673 5710 fi 5711 fi 5674 5712 5675 5713 ## checking for SDL … … 6017 6055 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 6018 6056 LIBS="$LIBS $SDL_LIBS" 6057 6058 def_sdl_image=no; 6019 6059 ;; 6020 6060 … … 6025 6065 6026 6066 6027 ## checking for libjpeg 6067 if test "$def_sdl_image" = "no"; then 6068 ## checking for libjpeg 6028 6069 6029 6070 for ac_header in jpeglib.h … … 6181 6222 6182 6223 6183 echo "$as_me:$LINENO: checking for main in -ljpeg" >&56224 echo "$as_me:$LINENO: checking for main in -ljpeg" >&5 6184 6225 echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6 6185 6226 if test "${ac_cv_lib_jpeg_main+set}" = set; then … … 6254 6295 6255 6296 6256 ## checking for libpng6297 ## checking for libpng 6257 6298 6258 6299 for ac_header in png.h … … 6410 6451 6411 6452 6412 echo "$as_me:$LINENO: checking for main in -lpng" >&56453 echo "$as_me:$LINENO: checking for main in -lpng" >&5 6413 6454 echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6 6414 6455 if test "${ac_cv_lib_png_main+set}" = set; then … … 6481 6522 exit -1 6482 6523 fi 6483 6524 fi 6484 6525 6485 6526 ## checking for GTK 6486 6487 succeeded=no 6488 6489 if test -z "$PKG_CONFIG"; then 6490 # Extract the first word of "pkg-config", so it can be a program name with args. 6491 set dummy pkg-config; ac_word=$2 6492 echo "$as_me:$LINENO: checking for $ac_word" >&5 6493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6494 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 6495 echo $ECHO_N "(cached) $ECHO_C" >&6 6496 else 6497 case $PKG_CONFIG in 6498 [\\/]* | ?:[\\/]*) 6499 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6500 ;; 6501 *) 6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6503 for as_dir in $PATH 6504 do 6505 IFS=$as_save_IFS 6506 test -z "$as_dir" && as_dir=. 6507 for ac_exec_ext in '' $ac_executable_extensions; do 6508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6509 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6511 break 2 6512 fi 6513 done 6514 done 6515 6516 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 6517 ;; 6518 esac 6519 fi 6520 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6521 6522 if test -n "$PKG_CONFIG"; then 6523 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 6524 echo "${ECHO_T}$PKG_CONFIG" >&6 6525 else 6526 echo "$as_me:$LINENO: result: no" >&5 6527 echo "${ECHO_T}no" >&6 6528 fi 6529 6530 fi 6531 6532 if test "$PKG_CONFIG" = "no" ; then 6533 echo "*** The pkg-config script could not be found. Make sure it is" 6534 echo "*** in your path, or set the PKG_CONFIG environment variable" 6535 echo "*** to the full path to pkg-config." 6536 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." 6537 else 6538 PKG_CONFIG_MIN_VERSION=0.9.0 6539 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 6540 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3" >&5 6541 echo $ECHO_N "checking for gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3... $ECHO_C" >&6 6542 6543 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3" ; then 6544 echo "$as_me:$LINENO: result: yes" >&5 6545 echo "${ECHO_T}yes" >&6 6546 succeeded=yes 6547 6548 echo "$as_me:$LINENO: checking GTK2_CFLAGS" >&5 6549 echo $ECHO_N "checking GTK2_CFLAGS... $ECHO_C" >&6 6550 GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3"` 6551 echo "$as_me:$LINENO: result: $GTK2_CFLAGS" >&5 6552 echo "${ECHO_T}$GTK2_CFLAGS" >&6 6553 6554 echo "$as_me:$LINENO: checking GTK2_LIBS" >&5 6555 echo $ECHO_N "checking GTK2_LIBS... $ECHO_C" >&6 6556 GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3"` 6557 echo "$as_me:$LINENO: result: $GTK2_LIBS" >&5 6558 echo "${ECHO_T}$GTK2_LIBS" >&6 6559 else 6560 GTK2_CFLAGS="" 6561 GTK2_LIBS="" 6562 ## If we have a custom action on failure, don't print errors, but 6563 ## do set a variable so people can do so. 6564 GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3"` 6565 6566 fi 6567 6568 6569 6570 else 6571 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." 6572 echo "*** See http://www.freedesktop.org/software/pkgconfig" 6573 fi 6574 fi 6575 6576 if test $succeeded = yes; then 6577 have_gtk2=yes 6578 else 6579 have_gtk2=no 6580 fi 6581 6582 6583 6584 6585 6586 if test "x$have_gtk2" = xyes; then 6527 if test "$def_gtk" = yes; then 6528 6529 #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) 6530 echo "$as_me:$LINENO: checking for gtk2.0" >&5 6531 echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6 6532 if `pkg-config --exists gtk+-2.0`; then 6533 echo "yes" 6534 have_gtk2=yes 6535 GTK2_LIBS=`pkg-config --libs gtk+-2.0` 6536 GTK2_CFLAGS=`pkg-config --cflags gtk+-2.0` 6537 6538 cat >>confdefs.h <<_ACEOF 6539 #define HAVE_GTK2 1 6540 _ACEOF 6541 6542 else 6543 echo "no" 6544 fi 6545 6546 fi 6547 6548 6549 6550 6551 if test x$have_gtk2 = xyes; then 6587 6552 HAVE_GTK2_TRUE= 6588 6553 HAVE_GTK2_FALSE='#' … … 6591 6556 HAVE_GTK2_FALSE= 6592 6557 fi 6558 6593 6559 6594 6560 … … 8262 8228 s,@EGREP@,$EGREP,;t t 8263 8229 s,@MSBITFIELDS@,$MSBITFIELDS,;t t 8264 s,@ PKG_CONFIG@,$PKG_CONFIG,;t t8230 s,@GTK2_LIBS@,$GTK2_LIBS,;t t 8265 8231 s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t 8266 s,@GTK2_LIBS@,$GTK2_LIBS,;t t8267 8232 s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t 8268 8233 s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t
Note: See TracChangeset
for help on using the changeset viewer.