Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7501 in orxonox.OLD for branches/qt_gui


Ignore:
Timestamp:
May 3, 2006, 11:09:18 AM (19 years ago)
Author:
bensch
Message:

config-work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/qt_gui/configure.ac

    r7489 r7501  
    145145fi
    146146
    147 
    148 #-------------#
    149 # with-qt-dir #
    150 #-------------#
    151 WITH_QT=yes
    152 AC_MSG_CHECKING([if we want to use QT for the gui.])
    153 AC_ARG_WITH([modular-debug],
    154         AS_HELP_STRING([--without-qt], [does not use QT for the display of the GUI]),
    155          WITH_QT=$enableval)
    156 if test x$WITH_QT = xno; then
    157         echo "no"
    158 elif test x$WITH_QT = xyes; then
    159         echo "yes"
    160         BNV_HAVE_QT
    161         if test x$have_qt = xno ; then
    162           WITH_QT=no
    163         fi
    164 fi
    165 AM_CONDITIONAL([WITH_QT], [test x$WITH_QT = xyes])
    166 
    167147#--------------#
    168148# GTK-disabled #
     
    173153        AS_HELP_STRING(--with-gtk, uses GTK for the GUI), [def_gtk=yes], [def_gtk=no])
    174154if test x$def_gtk = xyes; then
    175   echo "yes"
     155  echo "yes - will be overwritten if Qt is enabled"
    176156fi
    177157if test x$def_gtk = xno; then
     
    254234  CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include"
    255235  LDFLAGS="${LDFLAGS} -L$PREFIX/${ARCH}/lib -Wl,-rpath -Wl,${PREFIX}/${ARCH}/lib"
     236
     237  ## QT
     238  QT_PREFIX=/usr/pack/qt-4.1.1-mo
     239  QTDIR="${QT_PREFIX}/${ARCH}"
     240  LDFLAGS="${LDFLAGS} -Wl,-rpath -Wl,${QT_PREFIX}/${ARCH}/lib"
     241
     242
    256243  ## GTK
    257244  GTKPREFIX=/usr/pack/gtk-2.8.3-mo
     
    264251  echo "no"
    265252fi
     253
     254
     255BNV_HAVE_QT(QTDIR)
     256if test x$have_qt = xno ; then
     257    WITH_QT=no
     258fi
     259
     260
    266261
    267262#######################
Note: See TracChangeset for help on using the changeset viewer.