Changeset 10458 for trunk


Ignore:
Timestamp:
04/26/11 11:33:43 (14 years ago)
Author:
tbretz
Message:
Added IS_FALSE, IS_TRUE and a proper treatment of the Motif-check; the check was done, but nothing happened with the result.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure.ac

    r10445 r10458  
    125125LDFLAGS+=" "$MOTIF_LDFLAGS" "
    126126
    127 #AC_CHECK_HEADERS([Mrm/MrmAppl.h], [],
    128 #   [                             
    129 #      echo "Error! Mrm/MrmAppl.h not properly installed, needed to compile did (you need most probably lesstif2-dev)."
    130 #      exit -1
    131 #   ]
    132 #)
     127AM_COND_IF(HAS_LIBXP,,
     128      AC_MSG_WARN([ Motif/lesstif not found!])
     129)
    133130
    134131######################################################################
     
    280277AM_CONDITIONAL(HAS_GUI,       [test "$QT4_VERSION" -a "$HAVE_ROOT_QT" = yes])
    281278
     279AM_CONDITIONAL(IS_FALSE,      [test "x" = "y"])
     280AM_CONDITIONAL(IS_TRUE,       [test "x" = "x"])
     281
    282282##########################################################################
    283283# print summary
     
    297297AC_MSG_NOTICE([ BOOST_CPPFLAGS = $BOOST_CPPFLAGS])
    298298AC_MSG_NOTICE([ BOOST_LDFLAGS  = $BOOST_LDFLAGS])
    299    AC_MSG_NOTICE()
     299AC_MSG_NOTICE()
    300300AM_COND_IF(HAS_QT4, [
    301301   AC_MSG_NOTICE(--------------------------------------------------------------------)
     
    322322   AC_MSG_NOTICE([ ROOTCPPFLAGS  = $ROOTCPPFLAGS])
    323323   AC_MSG_NOTICE([ ROOTLDFLAGS   = $ROOTLDFLAGS])
    324 AC_MSG_NOTICE()
     324   AC_MSG_NOTICE()
    325325],[])
    326326AC_MSG_NOTICE(--------------------------------------------------------------------)
    327327AC_MSG_NOTICE()
    328 
     328AM_COND_IF(HAS_LIBXP,
     329   AC_MSG_NOTICE([ Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: yes]),
     330   AC_MSG_NOTICE([ Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: no])
     331)
    329332AM_COND_IF(HAS_COLORDIFF,
    330    AC_MSG_NOTICE([ colored svn diff       / 'colordiff'      found: yes]),
    331    AC_MSG_NOTICE([ colored svn diff       / 'colordiff'      found: no])
     333   AC_MSG_NOTICE([ colored svn diff       / 'colordiff'       found: yes]),
     334   AC_MSG_NOTICE([ colored svn diff       / 'colordiff'       found: no])
    332335)
    333336AM_COND_IF(HAS_HELP2MAN,[
    334    AC_MSG_NOTICE([ man-pages enabled      / 'help2man'       found: $HELP2MAN])
     337   AC_MSG_NOTICE([ man-pages enabled      / 'help2man'        found: $HELP2MAN])
    335338   AM_COND_IF(HAS_GROFF,
    336       AC_MSG_NOTICE([ build of html enabled  / 'groff'          found: yes])
    337       AC_MSG_NOTICE([ build of pdf  enabled  / 'ps2pdf'         found: $PS2PDF]),
    338       AC_MSG_NOTICE([ build of html and pdf  / 'groff'          found: no])
     339      AC_MSG_NOTICE([ build of html enabled  / 'groff'           found: yes])
     340      AC_MSG_NOTICE([ build of pdf  enabled  / 'ps2pdf'          found: $PS2PDF]),
     341      AC_MSG_NOTICE([ build of html and pdf  / 'groff'           found: no])
    339342   )
    340343],[
    341    AC_MSG_NOTICE([ man, html, pdf enabled / 'help2man'       found: no])
     344   AC_MSG_NOTICE([ man, html, pdf enabled / 'help2man'        found: no])
    342345])   
    343346
    344347AM_COND_IF(HAS_DOXYGEN,
    345    AC_MSG_NOTICE([ doxygen docu enabled   / 'doxygen'        found: $DX_DOXYGEN]),
    346    AC_MSG_NOTICE([ doxygen docu enabled   / 'doxygen'        found: no])
     348   AC_MSG_NOTICE([ doxygen docu enabled   / 'doxygen'         found: $DX_DOXYGEN]),
     349   AC_MSG_NOTICE([ doxygen docu enabled   / 'doxygen'         found: no])
    347350)
    348351AM_COND_IF(HAS_DOT,
    349    AC_MSG_NOTICE([ doxygen graphs enabled / 'dot' (graphviz) found: $DX_DOT]),
    350    AC_MSG_NOTICE([ doxagen graphs enabled / 'dot' (graphviz) found: no])
     352   AC_MSG_NOTICE([ doxygen graphs enabled / 'dot' (graphviz)  found: $DX_DOT]),
     353   AC_MSG_NOTICE([ doxygen graphs enabled / 'dot' (graphviz) found: no])
    351354)
    352355AM_COND_IF(HAS_QT4,
    353    AC_MSG_NOTICE([ QT4 support enabled    /  QT4 toolkit     found: yes]),
    354    AC_MSG_NOTICE([ QT4 support enabled    /  QT4 toolkit     found: no])
    355 )
    356 AC_MSG_NOTICE([ ROOT support enabled   /  root >= 5.12/00 found: $ROOTEXEC])
    357 AC_MSG_NOTICE([ ROOT built with --with-qt                 found: $HAVE_ROOT_QT])
     356   AC_MSG_NOTICE([ QT4 support enabled    /  QT4 toolkit      found: yes]),
     357   AC_MSG_NOTICE([ QT4 support enabled    /  QT4 toolkit      found: no])
     358)
     359AC_MSG_NOTICE([ ROOT support enabled   /  root >= 5.12/00  found: $ROOTEXEC])
     360AC_MSG_NOTICE([ ROOT built with --with-qt                  found: $HAVE_ROOT_QT])
    358361AC_MSG_NOTICE()
    359362AC_MSG_NOTICE(--------------------------------------------------------------------)
     
    361364AC_MSG_NOTICE([Suggestions and hits:])
    362365AC_MSG_NOTICE()
    363 AC_MSG_NOTICE([  - Add 'V=1' to you make-call to switch on verbose output.])
    364 AC_MSG_NOTICE([  - Do not try to create man-pages with doxygen,])
    365 AC_MSG_NOTICE([    it does most probably not work.])
     366AC_MSG_NOTICE([ - Add 'V=1' to you make-call to switch on verbose output.])
     367AC_MSG_NOTICE([ - Do not try to create man-pages with doxygen,])
     368AC_MSG_NOTICE([   it does most probably not work.])
    366369AM_COND_IF(HAS_COLORGCC,,
    367    AC_MSG_NOTICE([  - Install colorgcc to get colored compiler output.])
    368 )
    369 AC_MSG_NOTICE([  - If you send me a bug report about:])
    370 AC_MSG_NOTICE([    + configure please attach the file config.log])
    371 AC_MSG_NOTICE([    + make please send me the output of 'make V=1'])
     370   AC_MSG_NOTICE([ - Install colorgcc to get colored compiler output.])
     371)
     372AC_MSG_NOTICE([ - If you send me a bug report about:])
     373AC_MSG_NOTICE([   + configure: please attach the file config.log])
     374AC_MSG_NOTICE([   + make: please send me the output of 'make V=1'])
    372375AC_MSG_NOTICE()
    373376AC_MSG_NOTICE(--------------------------------------------------------------------)
     
    394397AC_MSG_NOTICE(--------------------------------------------------------------------)
    395398AC_MSG_NOTICE()
     399AM_COND_IF(HAS_LIBXP,,
     400      AC_MSG_WARN([ Motif/lesstif not found. The dim gui did will not be built!])
     401)
    396402AM_COND_IF(HAS_ROOT, 
    397    [AM_COND_IF(HAS_ROOT_QT, [],
     403   [AM_COND_IF(HAS_ROOT_QT,,
    398404      AC_MSG_WARN([ root found but it was built without the --with-qt option])
    399405   )]
Note: See TracChangeset for help on using the changeset viewer.