Changeset 11618 for trunk/FACT++/configure
- Timestamp:
- 07/26/11 15:27:39 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r11615 r11618 751 751 IS_FALSE_FALSE 752 752 IS_FALSE_TRUE 753 HAS_VIEWER_FALSE 754 HAS_VIEWER_TRUE 755 HAS_FITS_H_FALSE 756 HAS_FITS_H_TRUE 757 HAS_IZSTREAM_H_FALSE 758 HAS_IZSTREAM_H_TRUE 753 759 HAS_ZLIB_FALSE 754 760 HAS_ZLIB_TRUE … … 4804 4810 lt_cv_nm_interface="BSD nm" 4805 4811 echo "int some_variable = 0;" > conftest.$ac_ext 4806 (eval echo "\"\$as_me:48 06: $ac_compile\"" >&5)4812 (eval echo "\"\$as_me:4812: $ac_compile\"" >&5) 4807 4813 (eval "$ac_compile" 2>conftest.err) 4808 4814 cat conftest.err >&5 4809 (eval echo "\"\$as_me:48 09: $NM \\\"conftest.$ac_objext\\\"\"" >&5)4815 (eval echo "\"\$as_me:4815: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4810 4816 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4811 4817 cat conftest.err >&5 4812 (eval echo "\"\$as_me:481 2: output\"" >&5)4818 (eval echo "\"\$as_me:4818: output\"" >&5) 4813 4819 cat conftest.out >&5 4814 4820 if $GREP 'External.*some_variable' conftest.out > /dev/null; then … … 6015 6021 *-*-irix6*) 6016 6022 # Find out which ABI we are using. 6017 echo '#line 60 17"configure"' > conftest.$ac_ext6023 echo '#line 6023 "configure"' > conftest.$ac_ext 6018 6024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6019 6025 (eval $ac_compile) 2>&5 … … 7676 7682 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7677 7683 -e 's:$: $lt_compiler_flag:'` 7678 (eval echo "\"\$as_me:76 78: $lt_compile\"" >&5)7684 (eval echo "\"\$as_me:7684: $lt_compile\"" >&5) 7679 7685 (eval "$lt_compile" 2>conftest.err) 7680 7686 ac_status=$? 7681 7687 cat conftest.err >&5 7682 echo "$as_me:768 2: \$? = $ac_status" >&57688 echo "$as_me:7688: \$? = $ac_status" >&5 7683 7689 if (exit $ac_status) && test -s "$ac_outfile"; then 7684 7690 # The compiler can only warn and ignore the option if not recognized … … 8015 8021 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8016 8022 -e 's:$: $lt_compiler_flag:'` 8017 (eval echo "\"\$as_me:80 17: $lt_compile\"" >&5)8023 (eval echo "\"\$as_me:8023: $lt_compile\"" >&5) 8018 8024 (eval "$lt_compile" 2>conftest.err) 8019 8025 ac_status=$? 8020 8026 cat conftest.err >&5 8021 echo "$as_me:802 1: \$? = $ac_status" >&58027 echo "$as_me:8027: \$? = $ac_status" >&5 8022 8028 if (exit $ac_status) && test -s "$ac_outfile"; then 8023 8029 # The compiler can only warn and ignore the option if not recognized … … 8120 8126 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8121 8127 -e 's:$: $lt_compiler_flag:'` 8122 (eval echo "\"\$as_me:812 2: $lt_compile\"" >&5)8128 (eval echo "\"\$as_me:8128: $lt_compile\"" >&5) 8123 8129 (eval "$lt_compile" 2>out/conftest.err) 8124 8130 ac_status=$? 8125 8131 cat out/conftest.err >&5 8126 echo "$as_me:81 26: \$? = $ac_status" >&58132 echo "$as_me:8132: \$? = $ac_status" >&5 8127 8133 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8128 8134 then … … 8175 8181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8176 8182 -e 's:$: $lt_compiler_flag:'` 8177 (eval echo "\"\$as_me:81 77: $lt_compile\"" >&5)8183 (eval echo "\"\$as_me:8183: $lt_compile\"" >&5) 8178 8184 (eval "$lt_compile" 2>out/conftest.err) 8179 8185 ac_status=$? 8180 8186 cat out/conftest.err >&5 8181 echo "$as_me:818 1: \$? = $ac_status" >&58187 echo "$as_me:8187: \$? = $ac_status" >&5 8182 8188 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8183 8189 then … … 10559 10565 lt_status=$lt_dlunknown 10560 10566 cat > conftest.$ac_ext <<_LT_EOF 10561 #line 1056 1"configure"10567 #line 10567 "configure" 10562 10568 #include "confdefs.h" 10563 10569 … … 10655 10661 lt_status=$lt_dlunknown 10656 10662 cat > conftest.$ac_ext <<_LT_EOF 10657 #line 106 57"configure"10663 #line 10663 "configure" 10658 10664 #include "confdefs.h" 10659 10665 … … 12611 12617 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12612 12618 -e 's:$: $lt_compiler_flag:'` 12613 (eval echo "\"\$as_me:1261 3: $lt_compile\"" >&5)12619 (eval echo "\"\$as_me:12619: $lt_compile\"" >&5) 12614 12620 (eval "$lt_compile" 2>conftest.err) 12615 12621 ac_status=$? 12616 12622 cat conftest.err >&5 12617 echo "$as_me:126 17: \$? = $ac_status" >&512623 echo "$as_me:12623: \$? = $ac_status" >&5 12618 12624 if (exit $ac_status) && test -s "$ac_outfile"; then 12619 12625 # The compiler can only warn and ignore the option if not recognized … … 12710 12716 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12711 12717 -e 's:$: $lt_compiler_flag:'` 12712 (eval echo "\"\$as_me:1271 2: $lt_compile\"" >&5)12718 (eval echo "\"\$as_me:12718: $lt_compile\"" >&5) 12713 12719 (eval "$lt_compile" 2>out/conftest.err) 12714 12720 ac_status=$? 12715 12721 cat out/conftest.err >&5 12716 echo "$as_me:127 16: \$? = $ac_status" >&512722 echo "$as_me:12722: \$? = $ac_status" >&5 12717 12723 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12718 12724 then … … 12762 12768 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12763 12769 -e 's:$: $lt_compiler_flag:'` 12764 (eval echo "\"\$as_me:127 64: $lt_compile\"" >&5)12770 (eval echo "\"\$as_me:12770: $lt_compile\"" >&5) 12765 12771 (eval "$lt_compile" 2>out/conftest.err) 12766 12772 ac_status=$? 12767 12773 cat out/conftest.err >&5 12768 echo "$as_me:127 68: \$? = $ac_status" >&512774 echo "$as_me:12774: \$? = $ac_status" >&5 12769 12775 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12770 12776 then … … 18339 18345 18340 18346 18341 #AC_CHECK_FILE(gui/RawEventsViewer(izstream.h, [action.if-yes], [action-if-no]) 18342 #AC_CHECK_FILE(gui/RawEventsViewer(fits.h , [action.if-yes], [action-if-no]) 18347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gui/RawEventsViewer/izstream.h" >&5 18348 $as_echo_n "checking for gui/RawEventsViewer/izstream.h... " >&6; } 18349 if test "${ac_cv_file_gui_RawEventsViewer_izstream_h+set}" = set; then : 18350 $as_echo_n "(cached) " >&6 18351 else 18352 test "$cross_compiling" = yes && 18353 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 18354 if test -r "gui/RawEventsViewer/izstream.h"; then 18355 ac_cv_file_gui_RawEventsViewer_izstream_h=yes 18356 else 18357 ac_cv_file_gui_RawEventsViewer_izstream_h=no 18358 fi 18359 fi 18360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_gui_RawEventsViewer_izstream_h" >&5 18361 $as_echo "$ac_cv_file_gui_RawEventsViewer_izstream_h" >&6; } 18362 if test "x$ac_cv_file_gui_RawEventsViewer_izstream_h" = x""yes; then : 18363 HAVE_IZSTREAM_H=yes 18364 else 18365 HAVE_IZSTREAM_H=no 18366 fi 18367 18368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gui/RawEventsViewer/fits.h" >&5 18369 $as_echo_n "checking for gui/RawEventsViewer/fits.h... " >&6; } 18370 if test "${ac_cv_file_gui_RawEventsViewer_fits_h+set}" = set; then : 18371 $as_echo_n "(cached) " >&6 18372 else 18373 test "$cross_compiling" = yes && 18374 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 18375 if test -r "gui/RawEventsViewer/fits.h"; then 18376 ac_cv_file_gui_RawEventsViewer_fits_h=yes 18377 else 18378 ac_cv_file_gui_RawEventsViewer_fits_h=no 18379 fi 18380 fi 18381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_gui_RawEventsViewer_fits_h" >&5 18382 $as_echo "$ac_cv_file_gui_RawEventsViewer_fits_h" >&6; } 18383 if test "x$ac_cv_file_gui_RawEventsViewer_fits_h" = x""yes; then : 18384 HAVE_FITS_H=yes 18385 else 18386 HAVE_FITS_H=no 18387 fi 18388 18343 18389 18344 18390 # Needed to compile FACT++ … … 21814 21860 21815 21861 cat > conftest.$ac_ext <<EOF 21816 #line 218 16"configure"21862 #line 21862 "configure" 21817 21863 #include "confdefs.h" 21818 21864 #include <qglobal.h> … … 22523 22569 fi 22524 22570 22571 if test "$HAVE_IZSTREAM_H" = yes; then 22572 HAS_IZSTREAM_H_TRUE= 22573 HAS_IZSTREAM_H_FALSE='#' 22574 else 22575 HAS_IZSTREAM_H_TRUE='#' 22576 HAS_IZSTREAM_H_FALSE= 22577 fi 22578 22579 if test "$HAVE_FITS_H" = yes; then 22580 HAS_FITS_H_TRUE= 22581 HAS_FITS_H_FALSE='#' 22582 else 22583 HAS_FITS_H_TRUE='#' 22584 HAS_FITS_H_FALSE= 22585 fi 22586 22587 22588 if test "$HAVE_FITS_H" = yes; then 22589 HAS_VIEWER_TRUE= 22590 HAS_VIEWER_FALSE='#' 22591 else 22592 HAS_VIEWER_TRUE='#' 22593 HAS_VIEWER_FALSE= 22594 fi 22595 22525 22596 22526 22597 if test "x" = "y"; then … … 22549 22620 22550 22621 fi 22551 if test "$HAVE_ZLIB" = yes; then 22622 22623 if test "$HAVE_FITS_H" = yes; then 22624 22625 if test "$HAVE_IZSTREAM_H" = yes; then 22626 22627 if test "$HAVE_ZLIB" = yes; then 22552 22628 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h 22553 22629 22554 22630 fi 22631 22632 fi 22633 22634 fi 22635 22555 22636 22556 22637 ########################################################################## … … 22866 22947 if test -z "${HAS_ZLIB_TRUE}" && test -z "${HAS_ZLIB_FALSE}"; then 22867 22948 as_fn_error $? "conditional \"HAS_ZLIB\" was never defined. 22949 Usually this means the macro was only invoked conditionally." "$LINENO" 5 22950 fi 22951 if test -z "${HAS_IZSTREAM_H_TRUE}" && test -z "${HAS_IZSTREAM_H_FALSE}"; then 22952 as_fn_error $? "conditional \"HAS_IZSTREAM_H\" was never defined. 22953 Usually this means the macro was only invoked conditionally." "$LINENO" 5 22954 fi 22955 if test -z "${HAS_FITS_H_TRUE}" && test -z "${HAS_FITS_H_FALSE}"; then 22956 as_fn_error $? "conditional \"HAS_FITS_H\" was never defined. 22957 Usually this means the macro was only invoked conditionally." "$LINENO" 5 22958 fi 22959 if test -z "${HAS_VIEWER_TRUE}" && test -z "${HAS_VIEWER_FALSE}"; then 22960 as_fn_error $? "conditional \"HAS_VIEWER\" was never defined. 22868 22961 Usually this means the macro was only invoked conditionally." "$LINENO" 5 22869 22962 fi … … 25258 25351 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib / 'zlib.h' found: $HAVE_ZLIB" >&5 25259 25352 $as_echo "$as_me: zlib / 'zlib.h' found: $HAVE_ZLIB" >&6;} 25353 { $as_echo "$as_me:${as_lineno-$LINENO}: gui/RawEventsViewer/izstream.h found: $HAVE_IZSTREAM_H" >&5 25354 $as_echo "$as_me: gui/RawEventsViewer/izstream.h found: $HAVE_IZSTREAM_H" >&6;} 25355 { $as_echo "$as_me:${as_lineno-$LINENO}: gui/RawEventsViewer/fits.h found: $HAVE_FITS_H" >&5 25356 $as_echo "$as_me: gui/RawEventsViewer/fits.h found: $HAVE_FITS_H" >&6;} 25260 25357 { $as_echo "$as_me:${as_lineno-$LINENO}: cfitsio / 'fitsio.h' found: $HAVE_CFITSIO" >&5 25261 25358 $as_echo "$as_me: cfitsio / 'fitsio.h' found: $HAVE_CFITSIO" >&6;} … … 25421 25518 : 25422 25519 else 25423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib not found. Support for reading zipped files disabled!" >&5 25424 $as_echo "$as_me: WARNING: zlib not found. Support for reading zipped files disabled!" >&2;} 25520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib not found. Support for reading zipped files viewer disabled!" >&5 25521 $as_echo "$as_me: WARNING: zlib not found. Support for reading zipped files viewer disabled!" >&2;} 25522 25523 fi 25524 if test "$HAVE_IZSTREAM_H" = yes; then 25525 : 25526 else 25527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Mars izstream.h not found in gui/RawEventsViwer. Support for reading zipped files in viewer disabled!" >&5 25528 $as_echo "$as_me: WARNING: Mars izstream.h not found in gui/RawEventsViwer. Support for reading zipped files in viewer disabled!" >&2;} 25529 25530 fi 25531 if test "$HAVE_FITS_H" = yes; then 25532 : 25533 else 25534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Mars fits.h not found in gui/RawEventsViwer. Support for viewer disabled!" >&5 25535 $as_echo "$as_me: WARNING: Mars fits.h not found in gui/RawEventsViwer. Support for viewer disabled!" >&2;} 25425 25536 25426 25537 fi … … 25452 25563 : 25453 25564 else 25454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Either QT4 or qt-root is missing: GUI disabled!" >&525455 $as_echo "$as_me: WARNING: Either QT4 or qt-root is missing: GUI disabled!" >&2;}25565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Either QT4 or qt-root is missing: GUIs disabled!" >&5 25566 $as_echo "$as_me: WARNING: Either QT4 or qt-root is missing: GUIs disabled!" >&2;} 25456 25567 25457 25568 fi
Note:
See TracChangeset
for help on using the changeset viewer.