Changeset 11622
- Timestamp:
- 07/26/11 17:42:19 (13 years ago)
- Location:
- trunk/FACT++
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r11620 r11622 753 753 HAS_VIEWER_FALSE 754 754 HAS_VIEWER_TRUE 755 HAS_GLU_FALSE 756 HAS_GLU_TRUE 757 HAS_GL_FALSE 758 HAS_GL_TRUE 755 759 HAS_FITS_H_FALSE 756 760 HAS_FITS_H_TRUE … … 1042 1046 with_zlib_include 1043 1047 with_zlib_libdir 1048 with_GL 1049 with_GL_include 1050 with_GL_libdir 1051 with_GLU 1052 with_GLU_include 1053 with_GLU_libdir 1044 1054 with_cfitsio 1045 1055 with_cfitsio_include … … 1065 1075 with_qt4_includes 1066 1076 with_qt4_libraries 1077 with_QGL 1078 with_QGL_include 1079 with_QGL_libdir 1067 1080 with_root 1068 1081 with_rootsys … … 1750 1763 --with-zlib-libdir=DIR specify exact library dir for zlib library (e.g. libz) 1751 1764 --without-zlib disables zlib usage completely 1765 --with-GL=DIR root directory of GL installation 1766 --with-GL-include=DIR specify exact include dir for GL headers (e.g. GL/gl.h) 1767 --with-GL-libdir=DIR specify exact library dir for GL library (e.g. libGL) 1768 --without-GL disables GL usage completely 1769 --with-GLU=DIR root directory of GLU installation 1770 --with-GLU-include=DIR specify exact include dir for GLU headers (e.g. GL/glu.h) 1771 --with-GLU-libdir=DIR specify exact library dir for GLU library (e.g. libGLU) 1772 --without-GLU disables GLU usage completely 1752 1773 --with-cfitsio=DIR root directory of cfitsio installation 1753 1774 --with-cfitsio-include=DIR specify exact include dir for cfitsio headers (e.g. fitsio.h) … … 1804 1825 --with-qt4-includes where the Qt 4 includes are 1805 1826 --with-qt4-libraries where the Qt 4 library is installed 1827 --with-QGL=DIR root directory of QGL installation 1828 --with-QGL-include=DIR specify exact include dir for QGL headers (e.g. QtOpenGL/QGlWidget) 1829 --with-QGL-libdir=DIR specify exact library dir for QGL library (e.g. libQtOpenGL) 1830 --without-QGL disables QGL usage completely 1806 1831 --without-root Disable root, i.e. disable gui support. 1807 1832 --with-rootsys path to the ROOT executables or top ROOT … … 4810 4835 lt_cv_nm_interface="BSD nm" 4811 4836 echo "int some_variable = 0;" > conftest.$ac_ext 4812 (eval echo "\"\$as_me:48 12: $ac_compile\"" >&5)4837 (eval echo "\"\$as_me:4837: $ac_compile\"" >&5) 4813 4838 (eval "$ac_compile" 2>conftest.err) 4814 4839 cat conftest.err >&5 4815 (eval echo "\"\$as_me:48 15: $NM \\\"conftest.$ac_objext\\\"\"" >&5)4840 (eval echo "\"\$as_me:4840: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4816 4841 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4817 4842 cat conftest.err >&5 4818 (eval echo "\"\$as_me:48 18: output\"" >&5)4843 (eval echo "\"\$as_me:4843: output\"" >&5) 4819 4844 cat conftest.out >&5 4820 4845 if $GREP 'External.*some_variable' conftest.out > /dev/null; then … … 6021 6046 *-*-irix6*) 6022 6047 # Find out which ABI we are using. 6023 echo '#line 60 23"configure"' > conftest.$ac_ext6048 echo '#line 6048 "configure"' > conftest.$ac_ext 6024 6049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6025 6050 (eval $ac_compile) 2>&5 … … 7682 7707 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7683 7708 -e 's:$: $lt_compiler_flag:'` 7684 (eval echo "\"\$as_me:7 684: $lt_compile\"" >&5)7709 (eval echo "\"\$as_me:7709: $lt_compile\"" >&5) 7685 7710 (eval "$lt_compile" 2>conftest.err) 7686 7711 ac_status=$? 7687 7712 cat conftest.err >&5 7688 echo "$as_me:7 688: \$? = $ac_status" >&57713 echo "$as_me:7713: \$? = $ac_status" >&5 7689 7714 if (exit $ac_status) && test -s "$ac_outfile"; then 7690 7715 # The compiler can only warn and ignore the option if not recognized … … 8021 8046 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8022 8047 -e 's:$: $lt_compiler_flag:'` 8023 (eval echo "\"\$as_me:80 23: $lt_compile\"" >&5)8048 (eval echo "\"\$as_me:8048: $lt_compile\"" >&5) 8024 8049 (eval "$lt_compile" 2>conftest.err) 8025 8050 ac_status=$? 8026 8051 cat conftest.err >&5 8027 echo "$as_me:80 27: \$? = $ac_status" >&58052 echo "$as_me:8052: \$? = $ac_status" >&5 8028 8053 if (exit $ac_status) && test -s "$ac_outfile"; then 8029 8054 # The compiler can only warn and ignore the option if not recognized … … 8126 8151 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8127 8152 -e 's:$: $lt_compiler_flag:'` 8128 (eval echo "\"\$as_me:81 28: $lt_compile\"" >&5)8153 (eval echo "\"\$as_me:8153: $lt_compile\"" >&5) 8129 8154 (eval "$lt_compile" 2>out/conftest.err) 8130 8155 ac_status=$? 8131 8156 cat out/conftest.err >&5 8132 echo "$as_me:81 32: \$? = $ac_status" >&58157 echo "$as_me:8157: \$? = $ac_status" >&5 8133 8158 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8134 8159 then … … 8181 8206 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8182 8207 -e 's:$: $lt_compiler_flag:'` 8183 (eval echo "\"\$as_me:8 183: $lt_compile\"" >&5)8208 (eval echo "\"\$as_me:8208: $lt_compile\"" >&5) 8184 8209 (eval "$lt_compile" 2>out/conftest.err) 8185 8210 ac_status=$? 8186 8211 cat out/conftest.err >&5 8187 echo "$as_me:8 187: \$? = $ac_status" >&58212 echo "$as_me:8212: \$? = $ac_status" >&5 8188 8213 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8189 8214 then … … 10565 10590 lt_status=$lt_dlunknown 10566 10591 cat > conftest.$ac_ext <<_LT_EOF 10567 #line 105 67"configure"10592 #line 10592 "configure" 10568 10593 #include "confdefs.h" 10569 10594 … … 10661 10686 lt_status=$lt_dlunknown 10662 10687 cat > conftest.$ac_ext <<_LT_EOF 10663 #line 106 63"configure"10688 #line 10688 "configure" 10664 10689 #include "confdefs.h" 10665 10690 … … 12617 12642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12618 12643 -e 's:$: $lt_compiler_flag:'` 12619 (eval echo "\"\$as_me:126 19: $lt_compile\"" >&5)12644 (eval echo "\"\$as_me:12644: $lt_compile\"" >&5) 12620 12645 (eval "$lt_compile" 2>conftest.err) 12621 12646 ac_status=$? 12622 12647 cat conftest.err >&5 12623 echo "$as_me:126 23: \$? = $ac_status" >&512648 echo "$as_me:12648: \$? = $ac_status" >&5 12624 12649 if (exit $ac_status) && test -s "$ac_outfile"; then 12625 12650 # The compiler can only warn and ignore the option if not recognized … … 12716 12741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12717 12742 -e 's:$: $lt_compiler_flag:'` 12718 (eval echo "\"\$as_me:127 18: $lt_compile\"" >&5)12743 (eval echo "\"\$as_me:12743: $lt_compile\"" >&5) 12719 12744 (eval "$lt_compile" 2>out/conftest.err) 12720 12745 ac_status=$? 12721 12746 cat out/conftest.err >&5 12722 echo "$as_me:127 22: \$? = $ac_status" >&512747 echo "$as_me:12747: \$? = $ac_status" >&5 12723 12748 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12724 12749 then … … 12768 12793 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12769 12794 -e 's:$: $lt_compiler_flag:'` 12770 (eval echo "\"\$as_me:127 70: $lt_compile\"" >&5)12795 (eval echo "\"\$as_me:12795: $lt_compile\"" >&5) 12771 12796 (eval "$lt_compile" 2>out/conftest.err) 12772 12797 ac_status=$? 12773 12798 cat out/conftest.err >&5 12774 echo "$as_me:127 74: \$? = $ac_status" >&512799 echo "$as_me:12799: \$? = $ac_status" >&5 12775 12800 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12776 12801 then … … 18345 18370 18346 18371 18372 # Check for GL and GLU needed for the raw event viewer 18373 18374 18375 18376 # Check whether --with-GL was given. 18377 if test "${with_GL+set}" = set; then : 18378 withval=$with_GL; with_GL=$withval 18379 if test "${with_GL}" != yes; then 18380 GL_include="$withval/include" 18381 GL_libdir="$withval/lib" 18382 fi 18383 18384 fi 18385 18386 18387 18388 # Check whether --with-GL-include was given. 18389 if test "${with_GL_include+set}" = set; then : 18390 withval=$with_GL_include; GL_include="$withval" 18391 fi 18392 18393 18394 18395 # Check whether --with-GL-libdir was given. 18396 if test "${with_GL_libdir+set}" = set; then : 18397 withval=$with_GL_libdir; GL_libdir="$withval" 18398 fi 18399 18400 18401 if test "${with_GL}" != no ; then 18402 OLD_LIBS=$LIBS 18403 OLD_LDFLAGS=$LDFLAGS 18404 OLD_CFLAGS=$CFLAGS 18405 OLD_CPPFLAGS=$CPPFLAGS 18406 18407 if test "${GL_libdir}" ; then 18408 LDFLAGS="$LDFLAGS -L${GL_libdir}" 18409 fi 18410 if test "${GL_include}" ; then 18411 CPPFLAGS="$CPPFLAGS -I${GL_include}" 18412 CFLAGS="$CFLAGS -I${GL_include}" 18413 fi 18414 18415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glLoadIdentity in -lGL" >&5 18416 $as_echo_n "checking for glLoadIdentity in -lGL... " >&6; } 18417 if test "${ac_cv_lib_GL_glLoadIdentity+set}" = set; then : 18418 $as_echo_n "(cached) " >&6 18419 else 18420 ac_check_lib_save_LIBS=$LIBS 18421 LIBS="-lGL $LIBS" 18422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18423 /* end confdefs.h. */ 18424 18425 /* Override any GCC internal prototype to avoid an error. 18426 Use char because int might match the return type of a GCC 18427 builtin and then its argument prototype would still apply. */ 18428 #ifdef __cplusplus 18429 extern "C" 18430 #endif 18431 char glLoadIdentity (); 18432 int 18433 main () 18434 { 18435 return glLoadIdentity (); 18436 ; 18437 return 0; 18438 } 18439 _ACEOF 18440 if ac_fn_c_try_link "$LINENO"; then : 18441 ac_cv_lib_GL_glLoadIdentity=yes 18442 else 18443 ac_cv_lib_GL_glLoadIdentity=no 18444 fi 18445 rm -f core conftest.err conftest.$ac_objext \ 18446 conftest$ac_exeext conftest.$ac_ext 18447 LIBS=$ac_check_lib_save_LIBS 18448 fi 18449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glLoadIdentity" >&5 18450 $as_echo "$ac_cv_lib_GL_glLoadIdentity" >&6; } 18451 if test "x$ac_cv_lib_GL_glLoadIdentity" = x""yes; then : 18452 cat >>confdefs.h <<_ACEOF 18453 #define HAVE_LIBGL 1 18454 _ACEOF 18455 18456 LIBS="-lGL $LIBS" 18457 18458 else 18459 no_good=yes 18460 fi 18461 18462 ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default" 18463 if test "x$ac_cv_header_GL_gl_h" = x""yes; then : 18464 18465 else 18466 no_good=yes 18467 fi 18468 18469 18470 if test "$no_good" = yes; then 18471 HAVE_GL=no 18472 18473 LIBS=$OLD_LIBS 18474 LDFLAGS=$OLD_LDFLAGS 18475 CPPFLAGS=$OLD_CPPFLAGS 18476 CFLAGS=$OLD_CFLAGS 18477 else 18478 HAVE_GL=yes 18479 18480 $as_echo "#define HAVE_PKG_GL 1" >>confdefs.h 18481 18482 fi 18483 18484 fi 18485 18486 18487 18488 18489 18490 # Check whether --with-GLU was given. 18491 if test "${with_GLU+set}" = set; then : 18492 withval=$with_GLU; with_GLU=$withval 18493 if test "${with_GLU}" != yes; then 18494 GLU_include="$withval/include" 18495 GLU_libdir="$withval/lib" 18496 fi 18497 18498 fi 18499 18500 18501 18502 # Check whether --with-GLU-include was given. 18503 if test "${with_GLU_include+set}" = set; then : 18504 withval=$with_GLU_include; GLU_include="$withval" 18505 fi 18506 18507 18508 18509 # Check whether --with-GLU-libdir was given. 18510 if test "${with_GLU_libdir+set}" = set; then : 18511 withval=$with_GLU_libdir; GLU_libdir="$withval" 18512 fi 18513 18514 18515 if test "${with_GLU}" != no ; then 18516 OLD_LIBS=$LIBS 18517 OLD_LDFLAGS=$LDFLAGS 18518 OLD_CFLAGS=$CFLAGS 18519 OLD_CPPFLAGS=$CPPFLAGS 18520 18521 if test "${GLU_libdir}" ; then 18522 LDFLAGS="$LDFLAGS -L${GLU_libdir}" 18523 fi 18524 if test "${GLU_include}" ; then 18525 CPPFLAGS="$CPPFLAGS -I${GLU_include}" 18526 CFLAGS="$CFLAGS -I${GLU_include}" 18527 fi 18528 18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluNewTess in -lGLU" >&5 18530 $as_echo_n "checking for gluNewTess in -lGLU... " >&6; } 18531 if test "${ac_cv_lib_GLU_gluNewTess+set}" = set; then : 18532 $as_echo_n "(cached) " >&6 18533 else 18534 ac_check_lib_save_LIBS=$LIBS 18535 LIBS="-lGLU $LIBS" 18536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18537 /* end confdefs.h. */ 18538 18539 /* Override any GCC internal prototype to avoid an error. 18540 Use char because int might match the return type of a GCC 18541 builtin and then its argument prototype would still apply. */ 18542 #ifdef __cplusplus 18543 extern "C" 18544 #endif 18545 char gluNewTess (); 18546 int 18547 main () 18548 { 18549 return gluNewTess (); 18550 ; 18551 return 0; 18552 } 18553 _ACEOF 18554 if ac_fn_c_try_link "$LINENO"; then : 18555 ac_cv_lib_GLU_gluNewTess=yes 18556 else 18557 ac_cv_lib_GLU_gluNewTess=no 18558 fi 18559 rm -f core conftest.err conftest.$ac_objext \ 18560 conftest$ac_exeext conftest.$ac_ext 18561 LIBS=$ac_check_lib_save_LIBS 18562 fi 18563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluNewTess" >&5 18564 $as_echo "$ac_cv_lib_GLU_gluNewTess" >&6; } 18565 if test "x$ac_cv_lib_GLU_gluNewTess" = x""yes; then : 18566 cat >>confdefs.h <<_ACEOF 18567 #define HAVE_LIBGLU 1 18568 _ACEOF 18569 18570 LIBS="-lGLU $LIBS" 18571 18572 else 18573 no_good=yes 18574 fi 18575 18576 ac_fn_c_check_header_mongrel "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "$ac_includes_default" 18577 if test "x$ac_cv_header_GL_glu_h" = x""yes; then : 18578 18579 else 18580 no_good=yes 18581 fi 18582 18583 18584 if test "$no_good" = yes; then 18585 HAVE_GLU=no 18586 18587 LIBS=$OLD_LIBS 18588 LDFLAGS=$OLD_LDFLAGS 18589 CPPFLAGS=$OLD_CPPFLAGS 18590 CFLAGS=$OLD_CFLAGS 18591 else 18592 HAVE_GLU=yes 18593 18594 $as_echo "#define HAVE_PKG_GLU 1" >>confdefs.h 18595 18596 fi 18597 18598 fi 18599 18600 18601 18602 # Taken from http://code.google.com/p/autoconf-gl-macros/ 18603 #AX_CHECK_GL 18604 #AX_CHECK_GLU 18605 #AX_CHECK_GLUT 18606 18607 # Check for the fits header and zstream support from MARS 18347 18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gui/RawEventsViewer/izstream.h" >&5 18348 18609 $as_echo_n "checking for gui/RawEventsViewer/izstream.h... " >&6; } … … 21860 22121 21861 22122 cat > conftest.$ac_ext <<EOF 21862 #line 2 1862"configure"22123 #line 22123 "configure" 21863 22124 #include "confdefs.h" 21864 22125 #include <qglobal.h> … … 22023 22284 22024 22285 22286 22287 22288 22289 # Check whether --with-QGL was given. 22290 if test "${with_QGL+set}" = set; then : 22291 withval=$with_QGL; with_QGL=$withval 22292 if test "${with_QGL}" != yes; then 22293 QGL_include="$withval/include" 22294 QGL_libdir="$withval/lib" 22295 fi 22296 22297 fi 22298 22299 22300 22301 # Check whether --with-QGL-include was given. 22302 if test "${with_QGL_include+set}" = set; then : 22303 withval=$with_QGL_include; QGL_include="$withval" 22304 fi 22305 22306 22307 22308 # Check whether --with-QGL-libdir was given. 22309 if test "${with_QGL_libdir+set}" = set; then : 22310 withval=$with_QGL_libdir; QGL_libdir="$withval" 22311 fi 22312 22313 22314 if test "${with_QGL}" != no ; then 22315 OLD_LIBS=$LIBS 22316 OLD_LDFLAGS=$LDFLAGS 22317 OLD_CFLAGS=$CFLAGS 22318 OLD_CPPFLAGS=$CPPFLAGS 22319 22320 if test "${QGL_libdir}" ; then 22321 LDFLAGS="$LDFLAGS -L${QGL_libdir}" 22322 fi 22323 if test "${QGL_include}" ; then 22324 CPPFLAGS="$CPPFLAGS -I${QGL_include}" 22325 CFLAGS="$CFLAGS -I${QGL_include}" 22326 fi 22327 22328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lQtOpenGL" >&5 22329 $as_echo_n "checking for main in -lQtOpenGL... " >&6; } 22330 if test "${ac_cv_lib_QtOpenGL_main+set}" = set; then : 22331 $as_echo_n "(cached) " >&6 22332 else 22333 ac_check_lib_save_LIBS=$LIBS 22334 LIBS="-lQtOpenGL $LIBS" 22335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22336 /* end confdefs.h. */ 22337 22338 22339 int 22340 main () 22341 { 22342 return main (); 22343 ; 22344 return 0; 22345 } 22346 _ACEOF 22347 if ac_fn_cxx_try_link "$LINENO"; then : 22348 ac_cv_lib_QtOpenGL_main=yes 22349 else 22350 ac_cv_lib_QtOpenGL_main=no 22351 fi 22352 rm -f core conftest.err conftest.$ac_objext \ 22353 conftest$ac_exeext conftest.$ac_ext 22354 LIBS=$ac_check_lib_save_LIBS 22355 fi 22356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_QtOpenGL_main" >&5 22357 $as_echo "$ac_cv_lib_QtOpenGL_main" >&6; } 22358 if test "x$ac_cv_lib_QtOpenGL_main" = x""yes; then : 22359 cat >>confdefs.h <<_ACEOF 22360 #define HAVE_LIBQTOPENGL 1 22361 _ACEOF 22362 22363 LIBS="-lQtOpenGL $LIBS" 22364 22365 else 22366 no_good=yes 22367 fi 22368 22369 ac_fn_cxx_check_header_mongrel "$LINENO" "QtOpenGL/QGlWidget" "ac_cv_header_QtOpenGL_QGlWidget" "$ac_includes_default" 22370 if test "x$ac_cv_header_QtOpenGL_QGlWidget" = x""yes; then : 22371 22372 else 22373 no_good=yes 22374 fi 22375 22376 22377 if test "$no_good" = yes; then 22378 22379 22380 LIBS=$OLD_LIBS 22381 LDFLAGS=$OLD_LDFLAGS 22382 CPPFLAGS=$OLD_CPPFLAGS 22383 CFLAGS=$OLD_CFLAGS 22384 else 22385 22386 22387 $as_echo "#define HAVE_PKG_QGL 1" >>confdefs.h 22388 22389 fi 22390 22391 fi 22392 22393 22394 22395 22025 22396 ###################################################################### 22026 22397 # ROOT SUPPORT … … 22585 22956 fi 22586 22957 22587 22588 if test "$HAVE_FITS_H" = yes; then 22958 if test "$HAVE_GL" = yes; then 22959 HAS_GL_TRUE= 22960 HAS_GL_FALSE='#' 22961 else 22962 HAS_GL_TRUE='#' 22963 HAS_GL_FALSE= 22964 fi 22965 22966 if test "$HAVE_GLU" = yes; then 22967 HAS_GLU_TRUE= 22968 HAS_GLU_FALSE='#' 22969 else 22970 HAS_GLU_TRUE='#' 22971 HAS_GLU_FALSE= 22972 fi 22973 22974 22975 if test "$QT4_VERSION" -a "$HAVE_FITS_H" = yes -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes; then 22589 22976 HAS_VIEWER_TRUE= 22590 22977 HAS_VIEWER_FALSE='#' … … 22955 23342 if test -z "${HAS_FITS_H_TRUE}" && test -z "${HAS_FITS_H_FALSE}"; then 22956 23343 as_fn_error $? "conditional \"HAS_FITS_H\" was never defined. 23344 Usually this means the macro was only invoked conditionally." "$LINENO" 5 23345 fi 23346 if test -z "${HAS_GL_TRUE}" && test -z "${HAS_GL_FALSE}"; then 23347 as_fn_error $? "conditional \"HAS_GL\" was never defined. 23348 Usually this means the macro was only invoked conditionally." "$LINENO" 5 23349 fi 23350 if test -z "${HAS_GLU_TRUE}" && test -z "${HAS_GLU_FALSE}"; then 23351 as_fn_error $? "conditional \"HAS_GLU\" was never defined. 22957 23352 Usually this means the macro was only invoked conditionally." "$LINENO" 5 22958 23353 fi … … 25355 25750 { $as_echo "$as_me:${as_lineno-$LINENO}: gui/RawEventsViewer/fits.h found: $HAVE_FITS_H" >&5 25356 25751 $as_echo "$as_me: gui/RawEventsViewer/fits.h found: $HAVE_FITS_H" >&6;} 25752 { $as_echo "$as_me:${as_lineno-$LINENO}: GL / GL/gl.h found: $HAVE_GL" >&5 25753 $as_echo "$as_me: GL / GL/gl.h found: $HAVE_GL" >&6;} 25754 { $as_echo "$as_me:${as_lineno-$LINENO}: GLU / GL/glu.h found: $HAVE_GLU" >&5 25755 $as_echo "$as_me: GLU / GL/glu.h found: $HAVE_GLU" >&6;} 25357 25756 { $as_echo "$as_me:${as_lineno-$LINENO}: cfitsio / 'fitsio.h' found: $HAVE_CFITSIO" >&5 25358 25757 $as_echo "$as_me: cfitsio / 'fitsio.h' found: $HAVE_CFITSIO" >&6;} … … 25561 25960 25562 25961 fi 25962 if test "$HAVE_GL" = yes; then 25963 : 25964 else 25965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GL not found - viewer will be disabled." >&5 25966 $as_echo "$as_me: WARNING: GL not found - viewer will be disabled." >&2;} 25967 fi 25968 if test "$HAVE_GLU" = yes; then 25969 : 25970 else 25971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GLU not found - viewer will be disabled." >&5 25972 $as_echo "$as_me: WARNING: GLU not found - viewer will be disabled." >&2;} 25973 fi 25974 25975 if test -n "$QT4_VERSION"; then 25976 : 25977 else 25978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: QT4 missing: fact and viewer GUI disabled!" >&5 25979 $as_echo "$as_me: WARNING: QT4 missing: fact and viewer GUI disabled!" >&2;} 25980 25981 fi 25563 25982 if test "$QT4_VERSION" -a "$HAVE_ROOT_QT" = yes; then 25564 25983 : 25565 25984 else 25566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Either QT4 or qt-root is missing: GUIsdisabled!" >&525567 $as_echo "$as_me: WARNING: Either QT4 or qt-root is missing: GUIsdisabled!" >&2;}25985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Either QT4 or qt-root is missing: fact GUI disabled!" >&5 25986 $as_echo "$as_me: WARNING: Either QT4 or qt-root is missing: fact GUI disabled!" >&2;} 25568 25987 25569 25988 fi -
trunk/FACT++/configure.ac
r11620 r11622 111 111 HAVE_ZLIB=yes, HAVE_ZLIB=no) 112 112 113 # Check for GL and GLU needed for the raw event viewer 114 AC_CHECK_PACKAGE(GL, glLoadIdentity, GL, GL/gl.h, HAVE_GL=yes, HAVE_GL=no) 115 AC_CHECK_PACKAGE(GLU, gluNewTess, GLU, GL/glu.h, HAVE_GLU=yes, HAVE_GLU=no) 116 117 # Taken from http://code.google.com/p/autoconf-gl-macros/ 118 #AX_CHECK_GL 119 #AX_CHECK_GLU 120 #AX_CHECK_GLUT 121 122 # Check for the fits header and zstream support from MARS 113 123 AC_CHECK_FILE(gui/RawEventsViewer/izstream.h, 114 124 HAVE_IZSTREAM_H=yes, HAVE_IZSTREAM_H=no) … … 216 226 [], [QT4_DO_IT_ALL]) 217 227 228 AC_CHECK_PACKAGE(QGL, main, QtOpenGL, QtOpenGL/QGlWidget) 229 230 218 231 ###################################################################### 219 232 # ROOT SUPPORT … … 294 307 AM_CONDITIONAL(HAS_IZSTREAM_H,[test "$HAVE_IZSTREAM_H" = yes]) 295 308 AM_CONDITIONAL(HAS_FITS_H, [test "$HAVE_FITS_H" = yes]) 296 297 AM_CONDITIONAL(HAS_VIEWER, [test "$HAVE_FITS_H" = yes]) 309 AM_CONDITIONAL(HAS_GL, [test "$HAVE_GL" = yes]) 310 AM_CONDITIONAL(HAS_GLU, [test "$HAVE_GLU" = yes]) 311 312 AM_CONDITIONAL(HAS_VIEWER, [test "$QT4_VERSION" -a "$HAVE_FITS_H" = yes -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes]) 298 313 299 314 AM_CONDITIONAL(IS_FALSE, [test "x" = "y"]) … … 359 374 AC_MSG_NOTICE([ gui/RawEventsViewer/izstream.h found: $HAVE_IZSTREAM_H]) 360 375 AC_MSG_NOTICE([ gui/RawEventsViewer/fits.h found: $HAVE_FITS_H]) 376 AC_MSG_NOTICE([ GL / GL/gl.h found: $HAVE_GL]) 377 AC_MSG_NOTICE([ GLU / GL/glu.h found: $HAVE_GLU]) 361 378 AC_MSG_NOTICE([ cfitsio / 'fitsio.h' found: $HAVE_CFITSIO]) 362 379 AC_MSG_NOTICE([ CCfits / 'CCfits/CCfits' found: $HAVE_CCFITS]) … … 461 478 )] 462 479 ) 480 AM_COND_IF(HAS_GL,, AC_MSG_WARN([ GL not found - viewer will be disabled.])) 481 AM_COND_IF(HAS_GLU,, AC_MSG_WARN([ GLU not found - viewer will be disabled.])) 482 483 AM_COND_IF(HAS_QT4, [], 484 AC_MSG_WARN([ QT4 missing: fact and viewer GUI disabled!]) 485 ) 463 486 AM_COND_IF(HAS_GUI, [], 464 AC_MSG_WARN([ Either QT4 or qt-root is missing: GUIsdisabled!])465 ) 466 AC_MSG_NOTICE() 487 AC_MSG_WARN([ Either QT4 or qt-root is missing: fact GUI disabled!]) 488 ) 489 AC_MSG_NOTICE()
Note:
See TracChangeset
for help on using the changeset viewer.