Changeset 11822 for trunk


Ignore:
Timestamp:
08/06/11 17:16:58 (13 years ago)
Author:
tbretz
Message:
Updated to latest changes in dependencies.
Location:
trunk/FACT++
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/Makefile.am

    r11821 r11822  
    4343if HAS_GUI
    4444bin_PROGRAMS += fact
     45endif
     46
    4547if HAS_VIEWER
    4648bin_PROGRAMS += viewer
    47 endif
    4849endif
    4950
     
    323324if HAS_GUI
    324325
    325 #
    326 
    327326fact_DIALOGS = \
    328327        gui/design.ui
     
    339338fact_SRCADD = $(fact_DIALOGS:.ui=.h) $(fact_RESOURCES:.qrc=.cc) $(fact_QT_SOURCES:.cc=.moc.cc)
    340339
    341 #
     340endif
     341
     342# -----
    342343
    343344if HAS_VIEWER
     
    350351
    351352viewer_SRCADD = $(viewer_DIALOGS:.ui=.h) $(viewer_RESOURCES:.qrc=.cc) $(viewer_QT_SOURCES:.cc=.moc.cc)
    352 
    353 endif
    354353
    355354endif
     
    361360CLEANFILES += $(BUILT_SOURCES)
    362361
    363 EXTRA_DIST += $(DIALOGS) $(RESOURCES)
     362EXTRA_DIST += \
     363        $(fact_DIALOGS) $(fact_RESOURCES) \
     364        $(viewer_DIALOGS) $(viewer_RESOURCES)
    364365
    365366fact_LDADD = $(ROOTLDFLAGS) $(ROOTGLIBS) $(QT4_LIB) $(QT4_LDFLAGS) -L. \
  • trunk/FACT++/Makefile.in

    r11821 r11822  
    5555        $(am__EXEEXT_3) $(am__EXEEXT_4)
    5656@HAS_GUI_TRUE@am__append_1 = fact
    57 @HAS_GUI_TRUE@@HAS_VIEWER_TRUE@am__append_2 = viewer
     57@HAS_VIEWER_TRUE@am__append_2 = viewer
    5858@HAS_LIBXP_TRUE@am__append_3 = did
    5959
     
    165165libTools_la_OBJECTS = $(am_libTools_la_OBJECTS)
    166166@HAS_GUI_TRUE@am__EXEEXT_1 = fact$(EXEEXT)
    167 @HAS_GUI_TRUE@@HAS_VIEWER_TRUE@am__EXEEXT_2 = viewer$(EXEEXT)
     167@HAS_VIEWER_TRUE@am__EXEEXT_2 = viewer$(EXEEXT)
    168168@HAS_LIBXP_TRUE@am__EXEEXT_3 = did$(EXEEXT)
    169169@IS_FALSE@am__EXEEXT_4 = test$(EXEEXT) dclient5$(EXEEXT) \
     
    332332        gui/RawEventsViewer/RawEventsViewer.moc.cc \
    333333        gui/RawEventsViewer/RawEventsViewer.cc
    334 @HAS_GUI_TRUE@@HAS_VIEWER_TRUE@am__objects_8 = gui/RawEventsViewer/RawEventsViewer.moc.$(OBJEXT)
    335 @HAS_GUI_TRUE@@HAS_VIEWER_TRUE@am__objects_9 = $(am__objects_2) \
    336 @HAS_GUI_TRUE@@HAS_VIEWER_TRUE@ $(am__objects_8)
    337 @HAS_GUI_TRUE@@HAS_VIEWER_TRUE@am__objects_10 = gui/RawEventsViewer/RawEventsViewer.$(OBJEXT)
     334@HAS_VIEWER_TRUE@am__objects_8 = gui/RawEventsViewer/RawEventsViewer.moc.$(OBJEXT)
     335@HAS_VIEWER_TRUE@am__objects_9 = $(am__objects_2) $(am__objects_8)
     336@HAS_VIEWER_TRUE@am__objects_10 = gui/RawEventsViewer/RawEventsViewer.$(OBJEXT)
    338337am_viewer_OBJECTS = $(am__objects_9) $(am__objects_10)
    339338viewer_OBJECTS = $(am_viewer_OBJECTS)
     
    692691        dim/README_v14.txt dim/README_v17.txt dim/README_v16.txt \
    693692        dim/README_v17.txt dim/README_v18.txt dim/README_v19.txt \
    694         $(DIALOGS) $(RESOURCES) $(am__append_8) $(am__append_11)
     693        $(fact_DIALOGS) $(fact_RESOURCES) $(viewer_DIALOGS) \
     694        $(viewer_RESOURCES) $(am__append_8) $(am__append_11)
    695695dns_LDADD = libDim.la libDimExtension.la
    696696dns_SOURCES = src/dns.c
     
    889889
    890890# -----
    891 
    892 #
    893891@HAS_GUI_TRUE@fact_DIALOGS = \
    894892@HAS_GUI_TRUE@  gui/design.ui
     
    905903@HAS_GUI_TRUE@fact_SRCADD = $(fact_DIALOGS:.ui=.h) $(fact_RESOURCES:.qrc=.cc) $(fact_QT_SOURCES:.cc=.moc.cc)
    906904
    907 #
    908 @HAS_GUI_TRUE@@HAS_VIEWER_TRUE@viewer_DIALOGS = \
    909 @HAS_GUI_TRUE@@HAS_VIEWER_TRUE@ gui/RawEventsViewer/viewer.ui
    910 
    911 @HAS_GUI_TRUE@@HAS_VIEWER_TRUE@viewer_QT_SOURCES = \
    912 @HAS_GUI_TRUE@@HAS_VIEWER_TRUE@ gui/RawEventsViewer/RawEventsViewer.cc
    913 
    914 @HAS_GUI_TRUE@@HAS_VIEWER_TRUE@viewer_SRCADD = $(viewer_DIALOGS:.ui=.h) $(viewer_RESOURCES:.qrc=.cc) $(viewer_QT_SOURCES:.cc=.moc.cc)
     905# -----
     906@HAS_VIEWER_TRUE@viewer_DIALOGS = \
     907@HAS_VIEWER_TRUE@       gui/RawEventsViewer/viewer.ui
     908
     909@HAS_VIEWER_TRUE@viewer_QT_SOURCES = \
     910@HAS_VIEWER_TRUE@       gui/RawEventsViewer/RawEventsViewer.cc
     911
     912@HAS_VIEWER_TRUE@viewer_SRCADD = $(viewer_DIALOGS:.ui=.h) $(viewer_RESOURCES:.qrc=.cc) $(viewer_QT_SOURCES:.cc=.moc.cc)
    915913BUILT_SOURCES = $(fact_SRCADD) $(viewer_SRCADD)
    916914fact_LDADD = $(ROOTLDFLAGS) $(ROOTGLIBS) $(QT4_LIB) $(QT4_LDFLAGS) -L. \
  • trunk/FACT++/configure

    r11808 r11822  
    753753HAS_VIEWER_FALSE
    754754HAS_VIEWER_TRUE
     755HAS_GUI_FALSE
     756HAS_GUI_TRUE
    755757HAS_QWT_FALSE
    756758HAS_QWT_TRUE
     
    769771HAS_CFITSIO_FALSE
    770772HAS_CFITSIO_TRUE
    771 HAS_GUI_FALSE
    772 HAS_GUI_TRUE
    773773HAS_ROOT_QT_FALSE
    774774HAS_ROOT_QT_TRUE
     
    2302823028fi
    2302923029
    23030  if test "$QT4_VERSION" -a "$HAVE_ROOT_QT" = yes; then
    23031   HAS_GUI_TRUE=
    23032   HAS_GUI_FALSE='#'
    23033 else
    23034   HAS_GUI_TRUE='#'
    23035   HAS_GUI_FALSE=
    23036 fi
    23037 
    2303823030 if test "$HAVE_CFITSIO" = yes; then
    2303923031  HAS_CFITSIO_TRUE=
     
    2310223094fi
    2310323095
     23096
     23097 if test "$QT4_VERSION" -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_ROOT_QT" = yes ; then
     23098  HAS_GUI_TRUE=
     23099  HAS_GUI_FALSE='#'
     23100else
     23101  HAS_GUI_TRUE='#'
     23102  HAS_GUI_FALSE=
     23103fi
    2310423104
    2310523105 if test "$QT4_VERSION" -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_QWT" = yes; then
     
    2344223442Usually this means the macro was only invoked conditionally." "$LINENO" 5
    2344323443fi
    23444 if test -z "${HAS_GUI_TRUE}" && test -z "${HAS_GUI_FALSE}"; then
    23445   as_fn_error $? "conditional \"HAS_GUI\" was never defined.
    23446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    23447 fi
    2344823444if test -z "${HAS_CFITSIO_TRUE}" && test -z "${HAS_CFITSIO_FALSE}"; then
    2344923445  as_fn_error $? "conditional \"HAS_CFITSIO\" was never defined.
     
    2347623472if test -z "${HAS_QWT_TRUE}" && test -z "${HAS_QWT_FALSE}"; then
    2347723473  as_fn_error $? "conditional \"HAS_QWT\" was never defined.
     23474Usually this means the macro was only invoked conditionally." "$LINENO" 5
     23475fi
     23476if test -z "${HAS_GUI_TRUE}" && test -z "${HAS_GUI_FALSE}"; then
     23477  as_fn_error $? "conditional \"HAS_GUI\" was never defined.
    2347823478Usually this means the macro was only invoked conditionally." "$LINENO" 5
    2347923479fi
     
    2604226042{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
    2604326043$as_echo "$as_me: " >&6;}
    26044 #AM_COND_IF(HAS_FITS_H, [
    26045    if test "$HAVE_ZLIB" = yes; then
     26044if test "$HAVE_ZLIB" = yes; then
    2604626045  :
    2604726046else
     
    2605026049
    2605126050fi
    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 #)
    2605826051if test "$lt_cv_libxp" = "yes"; then
    2605926052  :
     
    2608026073
    2608126074fi
     26075if test -n "$QT4_VERSION"; then
     26076  :
     26077else
     26078  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  QT4 missing - GUIs disabled!" >&5
     26079$as_echo "$as_me: WARNING:  QT4 missing - GUIs disabled!" >&2;}
     26080fi
    2608226081if test "$HAVE_GL" = yes; then
    2608326082  :
    2608426083else
    26085   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  GL not found - viewer will be disabled." >&5
    26086 $as_echo "$as_me: WARNING:  GL not found - viewer will be disabled." >&2;}
     26084  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  GL not found - GUIs will be disabled." >&5
     26085$as_echo "$as_me: WARNING:  GL not found - GUIs will be disabled." >&2;}
    2608726086fi
    2608826087if test "$HAVE_GLU" = yes; then
    2608926088  :
    2609026089else
    26091   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  GLU not found - viewer will be disabled." >&5
    26092 $as_echo "$as_me: WARNING:  GLU not found - viewer will be disabled." >&2;}
     26090  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  GLU not found - GUIs will be disabled." >&5
     26091$as_echo "$as_me: WARNING:  GLU not found - GUIs will be disabled." >&2;}
     26092fi
     26093if test "$HAVE_QGL" = yes; then
     26094  :
     26095else
     26096  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  QtOpenGl not found - GUIs will be disabled." >&5
     26097$as_echo "$as_me: WARNING:  QtOpenGl not found - GUIs will be disabled." >&2;}
    2609326098fi
    2609426099if test "$HAVE_QWT" = yes; then
     
    2609826103$as_echo "$as_me: WARNING:  Qwt not found - viewer will be disabled." >&2;}
    2609926104fi
    26100 
    26101 if test -n "$QT4_VERSION"; then
     26105if test "$QT4_VERSION" -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_ROOT_QT" = yes ; then
    2610226106  :
    2610326107else
    26104   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  QT4 missing: fact and viewer GUI disabled!" >&5
    26105 $as_echo "$as_me: WARNING:  QT4 missing: fact and viewer GUI disabled!" >&2;}
    26106 
    26107 fi
    26108 if test "$QT4_VERSION" -a "$HAVE_ROOT_QT" = yes; then
     26108  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  Either of the necessary packages not found - fact GUI disabled!" >&5
     26109$as_echo "$as_me: WARNING:  Either of the necessary packages not found - fact GUI disabled!" >&2;}
     26110
     26111fi
     26112if test "$QT4_VERSION" -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_QWT" = yes; then
    2610926113  :
    2611026114else
    26111   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  Either QT4 or qt-root is missing: fact GUI disabled!" >&5
    26112 $as_echo "$as_me: WARNING:  Either QT4 or qt-root is missing: fact GUI disabled!" >&2;}
     26115  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  Either of the necessary packages not found - viewer GUI disabled!" >&5
     26116$as_echo "$as_me: WARNING:  Either of the necessary packages not found - viewer GUI disabled!" >&2;}
    2611326117
    2611426118fi
  • trunk/FACT++/configure.ac

    r11808 r11822  
    304304AM_CONDITIONAL(HAS_ROOT,      [test "$ROOTEXEC" != no])
    305305AM_CONDITIONAL(HAS_ROOT_QT,   [test "$HAVE_ROOT_QT" = yes])
    306 AM_CONDITIONAL(HAS_GUI,       [test "$QT4_VERSION" -a "$HAVE_ROOT_QT" = yes])
    307306AM_CONDITIONAL(HAS_CFITSIO,   [test "$HAVE_CFITSIO" = yes])
    308307AM_CONDITIONAL(HAS_CCFITS,    [test "$HAVE_CCFITS" = yes])
     
    316315AM_CONDITIONAL(HAS_QWT,       [test "$HAVE_QWT" = yes])
    317316
     317AM_CONDITIONAL(HAS_GUI,       [test "$QT4_VERSION" -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_ROOT_QT" = yes ])
    318318AM_CONDITIONAL(HAS_VIEWER,    [test "$QT4_VERSION" -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_QWT" = yes])
    319319
     
    465465AC_MSG_NOTICE(--------------------------------------------------------------------)
    466466AC_MSG_NOTICE()
    467 #AM_COND_IF(HAS_FITS_H, [
    468    AM_COND_IF(HAS_ZLIB,,
    469       AC_MSG_WARN([ zlib not found. Support for reading .fits.gz disabled.])
    470    )
    471 #   AM_COND_IF(HAS_IZSTREAM_H,,
    472 #      AC_MSG_WARN([ Mars izstream.h not found in gui/RawEventsViewer. Support for .fits.gz disabled.])
    473 #   )
    474 #],
    475 #   AC_MSG_WARN([ Mars fits.h not found in gui/RawEventsViewer. Target 'viewer' disabled.])
    476 #)
     467AM_COND_IF(HAS_ZLIB,,
     468   AC_MSG_WARN([ zlib not found. Support for reading .fits.gz disabled.])
     469)
    477470AM_COND_IF(HAS_LIBXP,,
    478471   AC_MSG_WARN([ Motif/lesstif not found. The dim gui did will not be built!])
     
    486479   )]
    487480)
    488 AM_COND_IF(HAS_GL,,  AC_MSG_WARN([ GL not found - viewer will be disabled.]))
    489 AM_COND_IF(HAS_GLU,, AC_MSG_WARN([ GLU not found - viewer will be disabled.]))
     481AM_COND_IF(HAS_QT4,, AC_MSG_WARN([ QT4 missing - GUIs disabled!]))
     482AM_COND_IF(HAS_GL,,  AC_MSG_WARN([ GL not found - GUIs will be disabled.]))
     483AM_COND_IF(HAS_GLU,, AC_MSG_WARN([ GLU not found - GUIs will be disabled.]))
     484AM_COND_IF(HAS_QGL,, AC_MSG_WARN([ QtOpenGl not found - GUIs will be disabled.]))
    490485AM_COND_IF(HAS_QWT,, AC_MSG_WARN([ Qwt not found - viewer will be disabled.]))
    491 
    492 AM_COND_IF(HAS_QT4, [],
    493       AC_MSG_WARN([ QT4 missing: fact and viewer GUI disabled!])
    494 )
    495486AM_COND_IF(HAS_GUI, [],
    496       AC_MSG_WARN([ Either QT4 or qt-root is missing: fact GUI disabled!])
    497 )
    498 AC_MSG_NOTICE()
     487      AC_MSG_WARN([ Either of the necessary packages not found - fact GUI disabled!])
     488)
     489AM_COND_IF(HAS_VIEWER, [],
     490      AC_MSG_WARN([ Either of the necessary packages not found - viewer GUI disabled!])
     491)
     492AC_MSG_NOTICE()
Note: See TracChangeset for help on using the changeset viewer.