Changeset 886 for trunk/config/scripts


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

change and better Leopard check on Mac OSX

Location:
trunk/config/scripts
Files:
3 edited

Legend:

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

    r689 r886  
    384384endif
    385385
    386 #+
    387 if ( X$g4_qthome != X ) then
    388 setenv QTHOME "$g4_qthome"
    389 echo "On this machine the QTHOME=\$QTHOME"
    390 endif
    391 
    392 
    393386
    394387#+
     
    427420echo "On this machine the XAWLIBS=\$XAWLIBS"
    428421endif
     422
     423
     424#
     425# Qt Flags and Libs, messy, but needed for backward compatibility
     426#+
     427if ( "X$g4ui_build_qt_session" == "Xy" || "X$g4ui_use_qt" == "Xy" )  then
     428setenv QTFLAGS "$g4_qt_cxxflags"
     429setenv QTLIBS "$g4_qt_libs"
     430setenv QTMOC "$g4_qt_moc"
     431echo "On this machine the QTFLAGS=\$QTFLAGS"
     432echo "On this machine the QTLIBS=\$QTLIBS"
     433echo "On this machine the QTMOC=\$QTMOC"
     434endif
     435
     436if ( "X$g4vis_build_openglqt_driver" == "Xy" || "X$g4vis_build_openglqt_driver" == "Xy" )  then
     437if ( "X\$QTFLAGS" == "X" )  then
     438setenv QTFLAGS "$g4_qt_cxxflags $g4_qt_gl_cxxflags"
     439else
     440setenv QTFLAGS "\$QTFLAGS $g4_qt_gl_cxxflags"
     441endif
     442if ( "X\$QTMOC" == "X" )  then
     443setenv QTMOC "$g4_qt_moc"
     444endif
     445setenv GLQTLIBS "$g4_qt_libs $g4_qt_gl_libs"
     446echo "On this machine the QTFLAGS=\$QTFLAGS"
     447echo "On this machine the GLQTLIBS=\$GLQTLIBS"
     448echo "On this machine the QTMOC=\$QTMOC"
     449endif
     450
     451
    429452
    430453
  • 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
  • trunk/config/scripts/install.sh.SH

    r689 r886  
    280280export G4UI_BUILD_QT_SESSION
    281281echo "On this machine the G4UI_BUILD_QT_SESSION=\$G4UI_BUILD_QT_SESSION"
    282 fi 
     282fi
    283283
    284284#+
     
    354354export G4VIS_BUILD_OPENGLQT_DRIVER
    355355echo "On this machine the G4VIS_BUILD_OPENGLQT_DRIVER=\$G4VIS_BUILD_OPENGLQT_DRIVER"
    356 fi 
     356fi
    357357
    358358
     
    442442fi
    443443
    444 #+
    445 if [ X$g4_qthome != X ] ; then
    446 QTHOME=$g4_qthome
    447 export QTHOME
    448 echo "On this machine the QTHOME=\$QTHOME"
    449 fi
    450 
    451444
    452445#+
     
    503496fi
    504497fi
     498
     499
     500
     501# Qt Flags and Libs, messy, but needed for backward compatibility
     502#+
     503if [ "X$g4ui_build_qt_session" = "Xy" -o "X$g4ui_use_qt" = "Xy" ] ; then
     504QTFLAGS="$g4_qt_cxxflags"
     505QTLIBS="$g4_qt_libs"
     506QTMOC="$g4_qt_moc"
     507export QTFLAGS
     508export QTLIBS
     509export QTMOC
     510if [ X\$g4non_display = X ] ; then
     511echo "On this machine the QTFLAGS=\$QTFLAGS"
     512echo "On this machine the QTLIBS=\$QTLIBS"
     513echo "On this machine the QTMOC=\$QTMOC"
     514fi
     515fi
     516
     517if [ "X$g4vis_build_openglqt_driver" = "Xy" -o "X$g4vis_build_openglqt_driver" = "Xy" ] ; then
     518if [ "X\$QTFLAGS" = "X" ] ; then
     519QTFLAGS="$g4_qt_cxxflags $g4_qt_gl_cxxflags"
     520else
     521QTFLAGS="\$QTFLAGS $g4_qt_gl_cxxflags"
     522fi
     523if [ "X\$QTMOC" = "X" ] ; then
     524QTMOC="$g4_qt_moc"
     525fi
     526GLQTLIBS="$g4_qt_libs $g4_qt_gl_libs"
     527export QTFLAGS
     528export QTMOC
     529export GLQTLIBS
     530if [ X\$g4non_display = X ] ; then
     531echo "On this machine the QTFLAGS=\$QTFLAGS"
     532echo "On this machine the GLQTLIBS=\$GLQTLIBS"
     533echo "On this machine the QTMOC=\$QTMOC"
     534fi
     535fi
    505536
    506537
Note: See TracChangeset for help on using the changeset viewer.