Changeset 11808 for trunk/FACT++/configure
- Timestamp:
- 08/06/11 16:04:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r11721 r11808 761 761 HAS_GL_FALSE 762 762 HAS_GL_TRUE 763 HAS_FITS_H_FALSE764 HAS_FITS_H_TRUE765 HAS_IZSTREAM_H_FALSE766 HAS_IZSTREAM_H_TRUE767 763 HAS_ZLIB_FALSE 768 764 HAS_ZLIB_TRUE … … 4846 4842 lt_cv_nm_interface="BSD nm" 4847 4843 echo "int some_variable = 0;" > conftest.$ac_ext 4848 (eval echo "\"\$as_me:484 8: $ac_compile\"" >&5)4844 (eval echo "\"\$as_me:4844: $ac_compile\"" >&5) 4849 4845 (eval "$ac_compile" 2>conftest.err) 4850 4846 cat conftest.err >&5 4851 (eval echo "\"\$as_me:48 51: $NM \\\"conftest.$ac_objext\\\"\"" >&5)4847 (eval echo "\"\$as_me:4847: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4852 4848 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4853 4849 cat conftest.err >&5 4854 (eval echo "\"\$as_me:485 4: output\"" >&5)4850 (eval echo "\"\$as_me:4850: output\"" >&5) 4855 4851 cat conftest.out >&5 4856 4852 if $GREP 'External.*some_variable' conftest.out > /dev/null; then … … 6057 6053 *-*-irix6*) 6058 6054 # Find out which ABI we are using. 6059 echo '#line 605 9"configure"' > conftest.$ac_ext6055 echo '#line 6055 "configure"' > conftest.$ac_ext 6060 6056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6061 6057 (eval $ac_compile) 2>&5 … … 7718 7714 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7719 7715 -e 's:$: $lt_compiler_flag:'` 7720 (eval echo "\"\$as_me:77 20: $lt_compile\"" >&5)7716 (eval echo "\"\$as_me:7716: $lt_compile\"" >&5) 7721 7717 (eval "$lt_compile" 2>conftest.err) 7722 7718 ac_status=$? 7723 7719 cat conftest.err >&5 7724 echo "$as_me:772 4: \$? = $ac_status" >&57720 echo "$as_me:7720: \$? = $ac_status" >&5 7725 7721 if (exit $ac_status) && test -s "$ac_outfile"; then 7726 7722 # The compiler can only warn and ignore the option if not recognized … … 8057 8053 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8058 8054 -e 's:$: $lt_compiler_flag:'` 8059 (eval echo "\"\$as_me:805 9: $lt_compile\"" >&5)8055 (eval echo "\"\$as_me:8055: $lt_compile\"" >&5) 8060 8056 (eval "$lt_compile" 2>conftest.err) 8061 8057 ac_status=$? 8062 8058 cat conftest.err >&5 8063 echo "$as_me:80 63: \$? = $ac_status" >&58059 echo "$as_me:8059: \$? = $ac_status" >&5 8064 8060 if (exit $ac_status) && test -s "$ac_outfile"; then 8065 8061 # The compiler can only warn and ignore the option if not recognized … … 8162 8158 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8163 8159 -e 's:$: $lt_compiler_flag:'` 8164 (eval echo "\"\$as_me:816 4: $lt_compile\"" >&5)8160 (eval echo "\"\$as_me:8160: $lt_compile\"" >&5) 8165 8161 (eval "$lt_compile" 2>out/conftest.err) 8166 8162 ac_status=$? 8167 8163 cat out/conftest.err >&5 8168 echo "$as_me:816 8: \$? = $ac_status" >&58164 echo "$as_me:8164: \$? = $ac_status" >&5 8169 8165 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8170 8166 then … … 8217 8213 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8218 8214 -e 's:$: $lt_compiler_flag:'` 8219 (eval echo "\"\$as_me:821 9: $lt_compile\"" >&5)8215 (eval echo "\"\$as_me:8215: $lt_compile\"" >&5) 8220 8216 (eval "$lt_compile" 2>out/conftest.err) 8221 8217 ac_status=$? 8222 8218 cat out/conftest.err >&5 8223 echo "$as_me:82 23: \$? = $ac_status" >&58219 echo "$as_me:8219: \$? = $ac_status" >&5 8224 8220 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8225 8221 then … … 10601 10597 lt_status=$lt_dlunknown 10602 10598 cat > conftest.$ac_ext <<_LT_EOF 10603 #line 10 603"configure"10599 #line 10599 "configure" 10604 10600 #include "confdefs.h" 10605 10601 … … 10697 10693 lt_status=$lt_dlunknown 10698 10694 cat > conftest.$ac_ext <<_LT_EOF 10699 #line 1069 9"configure"10695 #line 10695 "configure" 10700 10696 #include "confdefs.h" 10701 10697 … … 12653 12649 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12654 12650 -e 's:$: $lt_compiler_flag:'` 12655 (eval echo "\"\$as_me:1265 5: $lt_compile\"" >&5)12651 (eval echo "\"\$as_me:12651: $lt_compile\"" >&5) 12656 12652 (eval "$lt_compile" 2>conftest.err) 12657 12653 ac_status=$? 12658 12654 cat conftest.err >&5 12659 echo "$as_me:1265 9: \$? = $ac_status" >&512655 echo "$as_me:12655: \$? = $ac_status" >&5 12660 12656 if (exit $ac_status) && test -s "$ac_outfile"; then 12661 12657 # The compiler can only warn and ignore the option if not recognized … … 12752 12748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12753 12749 -e 's:$: $lt_compiler_flag:'` 12754 (eval echo "\"\$as_me:1275 4: $lt_compile\"" >&5)12750 (eval echo "\"\$as_me:12750: $lt_compile\"" >&5) 12755 12751 (eval "$lt_compile" 2>out/conftest.err) 12756 12752 ac_status=$? 12757 12753 cat out/conftest.err >&5 12758 echo "$as_me:1275 8: \$? = $ac_status" >&512754 echo "$as_me:12754: \$? = $ac_status" >&5 12759 12755 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12760 12756 then … … 12804 12800 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12805 12801 -e 's:$: $lt_compiler_flag:'` 12806 (eval echo "\"\$as_me:1280 6: $lt_compile\"" >&5)12802 (eval echo "\"\$as_me:12802: $lt_compile\"" >&5) 12807 12803 (eval "$lt_compile" 2>out/conftest.err) 12808 12804 ac_status=$? 12809 12805 cat out/conftest.err >&5 12810 echo "$as_me:128 10: \$? = $ac_status" >&512806 echo "$as_me:12806: \$? = $ac_status" >&5 12811 12807 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12812 12808 then … … 18308 18304 fi 18309 18305 18310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LANGUAGE}" >&518311 $as_echo "$as_me: WARNING: ${LANGUAGE}" >&2;}18312 18313 18314 18306 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" 18315 18307 if test "x$ac_cv_header_zlib_h" = x""yes; then : … … 18428 18420 fi 18429 18421 18430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LANGUAGE}" >&518431 $as_echo "$as_me: WARNING: ${LANGUAGE}" >&2;}18432 18433 18434 18422 ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default" 18435 18423 if test "x$ac_cv_header_GL_gl_h" = x""yes; then : … … 18546 18534 fi 18547 18535 18548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LANGUAGE}" >&518549 $as_echo "$as_me: WARNING: ${LANGUAGE}" >&2;}18550 18551 18552 18536 ac_fn_c_check_header_mongrel "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "$ac_includes_default" 18553 18537 if test "x$ac_cv_header_GL_glu_h" = x""yes; then : … … 18629 18613 18630 18614 # Check for the fits header and zstream support from MARS 18631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gui/RawEventsViewer/izstream.h" >&5 18632 $as_echo_n "checking for gui/RawEventsViewer/izstream.h... " >&6; } 18633 if test "${ac_cv_file_gui_RawEventsViewer_izstream_h+set}" = set; then : 18634 $as_echo_n "(cached) " >&6 18635 else 18636 test "$cross_compiling" = yes && 18637 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 18638 if test -r "gui/RawEventsViewer/izstream.h"; then 18639 ac_cv_file_gui_RawEventsViewer_izstream_h=yes 18640 else 18641 ac_cv_file_gui_RawEventsViewer_izstream_h=no 18642 fi 18643 fi 18644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_gui_RawEventsViewer_izstream_h" >&5 18645 $as_echo "$ac_cv_file_gui_RawEventsViewer_izstream_h" >&6; } 18646 if test "x$ac_cv_file_gui_RawEventsViewer_izstream_h" = x""yes; then : 18647 HAVE_IZSTREAM_H=yes 18648 else 18649 HAVE_IZSTREAM_H=no 18650 fi 18651 18652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gui/RawEventsViewer/fits.h" >&5 18653 $as_echo_n "checking for gui/RawEventsViewer/fits.h... " >&6; } 18654 if test "${ac_cv_file_gui_RawEventsViewer_fits_h+set}" = set; then : 18655 $as_echo_n "(cached) " >&6 18656 else 18657 test "$cross_compiling" = yes && 18658 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 18659 if test -r "gui/RawEventsViewer/fits.h"; then 18660 ac_cv_file_gui_RawEventsViewer_fits_h=yes 18661 else 18662 ac_cv_file_gui_RawEventsViewer_fits_h=no 18663 fi 18664 fi 18665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_gui_RawEventsViewer_fits_h" >&5 18666 $as_echo "$ac_cv_file_gui_RawEventsViewer_fits_h" >&6; } 18667 if test "x$ac_cv_file_gui_RawEventsViewer_fits_h" = x""yes; then : 18668 HAVE_FITS_H=yes 18669 else 18670 HAVE_FITS_H=no 18671 fi 18672 18615 #AC_CHECK_FILE(gui/RawEventsViewer/izstream.h, 18616 # HAVE_IZSTREAM_H=yes, HAVE_IZSTREAM_H=no) 18617 #AC_CHECK_FILE(gui/RawEventsViewer/fits.h, 18618 # HAVE_FITS_H=yes, HAVE_FITS_H=no) 18673 18619 18674 18620 # Needed to compile FACT++ … … 18714 18660 CFLAGS="$CFLAGS -I${cfitsio_include}" 18715 18661 fi 18716 18717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LANGUAGE}" >&518718 $as_echo "$as_me: WARNING: ${LANGUAGE}" >&2;}18719 18720 18662 18721 18663 ac_fn_c_check_header_mongrel "$LINENO" "fitsio.h" "ac_cv_header_fitsio_h" "$ac_includes_default" … … 18845 18787 CFLAGS="$CFLAGS -I${ccfits_include}" 18846 18788 fi 18847 18848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LANGUAGE}" >&518849 $as_echo "$as_me: WARNING: ${LANGUAGE}" >&2;}18850 18851 18789 18852 18790 ac_fn_cxx_check_header_mongrel "$LINENO" "CCfits/CCfits" "ac_cv_header_CCfits_CCfits" "$ac_includes_default" … … 22152 22090 22153 22091 cat > conftest.$ac_ext <<EOF 22154 #line 22 154"configure"22092 #line 22092 "configure" 22155 22093 #include "confdefs.h" 22156 22094 #include <qglobal.h> … … 23130 23068 fi 23131 23069 23132 if test "$HAVE_IZSTREAM_H" = yes; then 23133 HAS_IZSTREAM_H_TRUE= 23134 HAS_IZSTREAM_H_FALSE='#' 23135 else 23136 HAS_IZSTREAM_H_TRUE='#' 23137 HAS_IZSTREAM_H_FALSE= 23138 fi 23139 23140 if test "$HAVE_FITS_H" = yes; then 23141 HAS_FITS_H_TRUE= 23142 HAS_FITS_H_FALSE='#' 23143 else 23144 HAS_FITS_H_TRUE='#' 23145 HAS_FITS_H_FALSE= 23146 fi 23147 23070 #AM_CONDITIONAL(HAS_IZSTREAM_H,[test "$HAVE_IZSTREAM_H" = yes]) 23071 #AM_CONDITIONAL(HAS_FITS_H, [test "$HAVE_FITS_H" = yes]) 23148 23072 if test "$HAVE_GL" = yes; then 23149 23073 HAS_GL_TRUE= … … 23179 23103 23180 23104 23181 if test "$QT4_VERSION" -a "$HAVE_ FITS_H" = yes -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_QWT" = yes; then23105 if test "$QT4_VERSION" -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_QWT" = yes; then 23182 23106 HAS_VIEWER_TRUE= 23183 23107 HAS_VIEWER_FALSE='#' … … 23213 23137 23214 23138 fi 23215 23216 if test "$HAVE_FITS_H" = yes; then 23217 23218 if test "$HAVE_IZSTREAM_H" = yes; then 23219 23220 if test "$HAVE_ZLIB" = yes; then 23139 if test "$HAVE_ZLIB" = yes; then 23221 23140 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h 23222 23141 23223 23142 fi 23224 23143 23225 fi 23226 23227 fi 23144 #AM_COND_IF(HAS_FITS_H, [ 23145 # AM_COND_IF(HAS_IZSTREAM_H, [ 23146 # ]) 23147 #],) 23228 23148 23229 23149 … … 23540 23460 if test -z "${HAS_ZLIB_TRUE}" && test -z "${HAS_ZLIB_FALSE}"; then 23541 23461 as_fn_error $? "conditional \"HAS_ZLIB\" was never defined. 23542 Usually this means the macro was only invoked conditionally." "$LINENO" 523543 fi23544 if test -z "${HAS_IZSTREAM_H_TRUE}" && test -z "${HAS_IZSTREAM_H_FALSE}"; then23545 as_fn_error $? "conditional \"HAS_IZSTREAM_H\" was never defined.23546 Usually this means the macro was only invoked conditionally." "$LINENO" 523547 fi23548 if test -z "${HAS_FITS_H_TRUE}" && test -z "${HAS_FITS_H_FALSE}"; then23549 as_fn_error $? "conditional \"HAS_FITS_H\" was never defined.23550 23462 Usually this means the macro was only invoked conditionally." "$LINENO" 5 23551 23463 fi … … 25960 25872 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib / 'zlib.h' found: $HAVE_ZLIB" >&5 25961 25873 $as_echo "$as_me: zlib / 'zlib.h' found: $HAVE_ZLIB" >&6;} 25962 { $as_echo "$as_me:${as_lineno-$LINENO}: gui/RawEventsViewer/izstream.h found: $HAVE_IZSTREAM_H" >&5 25963 $as_echo "$as_me: gui/RawEventsViewer/izstream.h found: $HAVE_IZSTREAM_H" >&6;} 25964 { $as_echo "$as_me:${as_lineno-$LINENO}: gui/RawEventsViewer/fits.h found: $HAVE_FITS_H" >&5 25965 $as_echo "$as_me: gui/RawEventsViewer/fits.h found: $HAVE_FITS_H" >&6;} 25874 #AC_MSG_NOTICE([ gui/RawEventsViewer/izstream.h found: $HAVE_IZSTREAM_H]) 25875 #AC_MSG_NOTICE([ gui/RawEventsViewer/fits.h found: $HAVE_FITS_H]) 25966 25876 { $as_echo "$as_me:${as_lineno-$LINENO}: GL / GL/gl.h found: $HAVE_GL" >&5 25967 25877 $as_echo "$as_me: GL / GL/gl.h found: $HAVE_GL" >&6;} … … 26132 26042 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 26133 26043 $as_echo "$as_me: " >&6;} 26134 if test "$HAVE_FITS_H" = yes; then 26135 26044 #AM_COND_IF(HAS_FITS_H, [ 26136 26045 if test "$HAVE_ZLIB" = yes; then 26137 26046 : 26138 26047 else 26139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib not found. Support for .fits.gz in viewer disabled." >&5 26140 $as_echo "$as_me: WARNING: zlib not found. Support for .fits.gz in viewer disabled." >&2;} 26141 26142 fi 26143 if test "$HAVE_IZSTREAM_H" = yes; then 26144 : 26145 else 26146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Mars izstream.h not found in gui/RawEventsViewer. Support for .fits.gz disabled." >&5 26147 $as_echo "$as_me: WARNING: Mars izstream.h not found in gui/RawEventsViewer. Support for .fits.gz disabled." >&2;} 26148 26149 fi 26150 26151 else 26152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Mars fits.h not found in gui/RawEventsViewer. Target 'viewer' disabled." >&5 26153 $as_echo "$as_me: WARNING: Mars fits.h not found in gui/RawEventsViewer. Target 'viewer' disabled." >&2;} 26154 26155 fi 26048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib not found. Support for reading .fits.gz disabled." >&5 26049 $as_echo "$as_me: WARNING: zlib not found. Support for reading .fits.gz disabled." >&2;} 26050 26051 fi 26052 # AM_COND_IF(HAS_IZSTREAM_H,, 26053 # AC_MSG_WARN([ Mars izstream.h not found in gui/RawEventsViewer. Support for .fits.gz disabled.]) 26054 # ) 26055 #], 26056 # AC_MSG_WARN([ Mars fits.h not found in gui/RawEventsViewer. Target 'viewer' disabled.]) 26057 #) 26156 26058 if test "$lt_cv_libxp" = "yes"; then 26157 26059 : … … 26190 26092 $as_echo "$as_me: WARNING: GLU not found - viewer will be disabled." >&2;} 26191 26093 fi 26094 if test "$HAVE_QWT" = yes; then 26095 : 26096 else 26097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Qwt not found - viewer will be disabled." >&5 26098 $as_echo "$as_me: WARNING: Qwt not found - viewer will be disabled." >&2;} 26099 fi 26192 26100 26193 26101 if test -n "$QT4_VERSION"; then
Note:
See TracChangeset
for help on using the changeset viewer.