Ignore:
Timestamp:
Nov 19, 2008, 2:41:24 PM (16 years ago)
Author:
garnier
Message:

change and better Leopard check on Mac OSX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/scripts/env.sh.SH

    r689 r886  
    524524fi
    525525
    526 #+
    527 if [ X$g4_qthome != X ] ; then
    528 QTHOME=$g4_qthome
    529 export QTHOME
    530 if [ X\$g4non_display = X ] ; then
    531 echo "On this machine the QTHOME=\$QTHOME"
    532 fi
    533 fi
    534526
    535527
     
    587579fi
    588580fi
     581
     582
     583#
     584# Qt Flags and Libs, messy, but needed for backward compatibility
     585#+
     586if [ "X$g4ui_build_qt_session" = "Xy" -o "X$g4ui_use_qt" = "Xy" ] ; then
     587QTFLAGS="$g4_qt_cxxflags"
     588QTLIBS="$g4_qt_libs"
     589QTMOC="$g4_qt_moc"
     590export QTFLAGS
     591export QTLIBS
     592export QTMOC
     593echo "On this machine the QTFLAGS=\$QTFLAGS"
     594echo "On this machine the QTLIBS=\$QTLIBS"
     595echo "On this machine the QTMOC=\$QTMOC"
     596fi
     597
     598if [ "X$g4vis_build_openglqt_driver" = "Xy" -o "X$g4vis_build_openglqt_driver" = "Xy" ] ; then
     599if [ "X\$QTFLAGS" = "X" ] ; then
     600QTFLAGS="$g4_qt_cxxflags $g4_qt_gl_cxxflags"
     601else
     602QTFLAGS="\$QTFLAGS $g4_qt_gl_cxxflags"
     603fi
     604if [ "X\$QTMOC" = "X" ] ; then
     605QTMOC="$g4_qt_moc"
     606fi
     607GLQTLIBS="$g4_qt_libs $g4_qt_gl_libs"
     608export QTFLAGS
     609export QTMOC
     610export GLQTLIBS
     611echo "On this machine the QTFLAGS=\$QTFLAGS"
     612echo "On this machine the GLQTLIBS=\$GLQTLIBS"
     613echo "On this machine the QTMOC=\$QTMOC"
     614fi
     615
    589616
    590617
Note: See TracChangeset for help on using the changeset viewer.