Changeset 10402


Ignore:
Timestamp:
04/18/11 17:42:02 (14 years ago)
Author:
tbretz
Message:
Added QT4 support.
File:
1 edited

Legend:

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

    r10401 r10402  
    190190#)
    191191
    192 #AC_DEFUN([QT4_TRY_LINK],
    193 #AC_DEFUN([QT4_CHECK_COMPILE],
    194 #AC_DEFUN([QT4_GET_VERSION],
    195 QT4_DO_IT_ALL
    196 #AC_DEFUN([QT4_DO_PKG_CONFIG],
    197 #AC_DEFUN([QT4_DO_MANUAL_CONFIG],
     192######################################################################
     193# QT4/GUI SUPPORT
     194######################################################################
     195
     196AC_ARG_WITH([qt4],
     197   [AS_HELP_STRING([--without-qt4], [Disable qt4, i.e. disable gui support.])],
     198   [], [QT4_DO_IT_ALL])
    198199
    199200#AC_CHECK_PROG(QT4_MOC, moc, moc,
     
    267268AM_CONDITIONAL(HAS_DOT,       [test -n "$DX_DOT"])
    268269AM_CONDITIONAL(HAS_COLORGCC,  [test "$GCC" = colorgcc])
     270AM_CONDITIONAL(HAS_QT4,       [test -n "$QT4_VERSION"])
    269271
    270272##########################################################################
     
    301303   AC_MSG_NOTICE([ doxagen graphs enabled / 'dot' (graphviz) found: no])
    302304)
    303 AC_MSG_NOTICE()
    304 AC_MSG_NOTICE(--------------------------------------------------------------------)
    305 AC_MSG_NOTICE()
    306 AC_MSG_NOTICE([ QT4_VERSION  = $QT4_VERSION])
    307 AC_MSG_NOTICE()
    308 AC_MSG_NOTICE([ QT4_LIB      = $QT4_LIB])
    309 AC_MSG_NOTICE([ QT4_LDFLAGS  = $QT4_LDFLAGS])
    310 AC_MSG_NOTICE([ QT4_INCLUDES = $QT4_INCLUDES])
    311 AC_MSG_NOTICE()
    312 AC_MSG_NOTICE([ MOC4 = $MOC4])
    313 AC_MSG_NOTICE([ UIC4 = $UIC4])
    314 AC_MSG_NOTICE([ RCC4 = $RCC4])
     305AM_COND_IF(HAS_QT4,
     306   AC_MSG_NOTICE([ GUI support enabled    / QT4 toolkit      found: yes]),
     307   AC_MSG_NOTICE([ GUI support enabled    / QT4 toolkit      found: no])
     308)
     309AM_COND_IF(HAS_QT4, [
     310   AC_MSG_NOTICE()
     311   AC_MSG_NOTICE(--------------------------------------------------------------------)
     312   AC_MSG_NOTICE()
     313   AC_MSG_NOTICE([ QT4_VERSION  = $QT4_VERSION])
     314   AC_MSG_NOTICE()
     315   AC_MSG_NOTICE([ QT4_LIB      = $QT4_LIB])
     316   AC_MSG_NOTICE([ QT4_LDFLAGS  = $QT4_LDFLAGS])
     317   AC_MSG_NOTICE([ QT4_INCLUDES = $QT4_INCLUDES])
     318   AC_MSG_NOTICE()
     319   AC_MSG_NOTICE([ MOC4 = $MOC4])
     320   AC_MSG_NOTICE([ UIC4 = $UIC4])
     321   AC_MSG_NOTICE([ RCC4 = $RCC4])
     322],[])
    315323AC_MSG_NOTICE()
    316324AC_MSG_NOTICE(--------------------------------------------------------------------)
Note: See TracChangeset for help on using the changeset viewer.