Changeset 993
- Timestamp:
- Apr 17, 2009, 3:06:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Configure
r921 r993 19 19 # 20 20 21 # $Id: Configure,v 1.11 0 2008/12/03 15:34:57bmorgan Exp $22 # 23 # Generated on Wed Dec 3 15:33:49 GMT 2008[metaconfig 3.0 PL70]21 # $Id: Configure,v 1.112 2009/01/22 14:26:31 bmorgan Exp $ 22 # 23 # Generated on Thu Jan 22 14:06:57 GMT 2009 [metaconfig 3.0 PL70] 24 24 25 25 cat >/tmp/c1$$ <<EOF … … 2377 2377 if test -x "/usr/bin/moc" ; then 2378 2378 g4_qt_moc="/usr/bin/moc" 2379 echo "checking for moc... \$g4_qt_moc"2380 2381 g4_qt_dir=\`dirname \$g4_qt_include_dir\`2382 g4_qt_dir=\`dirname \$g4_qt_dir\`2383 2384 2379 g4_qt_version="4" 2385 g4_qt_cxxflags="-I\$g4_qt_dir/QtCore.framework/Headers -I\$g4_qt_dir/QtGui.framework/Headers" 2386 g4_qt_gl_cxxflags="-I\$g4_qt_dir/QtOpenGl.framework/Headers" 2387 g4_qt_libs="-F\$g4_qt_dir -framework QtCore -framework QtGui" 2388 g4_qt_gl_libs="-framework QtOpenGL" 2380 # checking moc version 2381 g4_qt_moc_major_version=\`\$g4_qt_moc -v 2>&1|sed 's/^.*(Qt \(.*\)\..*\..*)/\1/'\` 2382 if test "$g4_qt_version" = "$g4_qt_moc_major_version" ; then 2383 echo "checking for moc... found \$g4_qt_moc version \$g4_qt_moc_major_version" 2384 2385 g4_qt_dir=\`dirname \$g4_qt_include_dir\` 2386 g4_qt_dir=\`dirname \$g4_qt_dir\` 2387 2388 g4_qt_version="4" 2389 g4_qt_cxxflags="-I\$g4_qt_dir/QtCore.framework/Headers -I\$g4_qt_dir/QtGui.framework/Headers" 2390 g4_qt_gl_cxxflags="-I\$g4_qt_dir/QtOpenGl.framework/Headers" 2391 g4_qt_libs="-F\$g4_qt_dir -framework QtCore -framework QtGui" 2392 g4_qt_gl_libs="-framework QtOpenGL" 2393 else 2394 echo "checking for moc... found \$g4_qt_moc for Qt version \$g4_qt_moc_major_version, but Qt \$g4_qt_version path is used. Please update/move \$g4_qt_moc to Qt \$g4_qt_version" 2395 g4_havegoodqt=no 2396 fi 2389 2397 else 2390 2398 echo "checking for moc... no" … … 2544 2552 g4_havegoodqt=no 2545 2553 fi 2546 echo "checking for moc... \$g4_qtmoc" 2554 # checking moc version 2555 g4_qt_moc_major_version=\`\$g4_qtmoc -v 2>&1|sed 's/^.*(Qt \(.*\)\..*\..*)/\1/'\` 2556 echo "checking for moc... found \$g4_qtmoc version \$g4_qt_moc_major_version" 2547 2557 2548 2558 ## THIS IS POINT AT WHICH TO DO FALLBACK TESTS I.E DOES … … 2589 2599 2590 2600 g4_qt_moc=\$g4_qtmoc 2591 2592 g4_qt_is_configured=yes 2601 if test '$g4_qt_version' = '$g4_qt_moc_major_version' ; then 2602 g4_qt_is_configured='' 2603 else 2604 echo "checking for moc... found \$g4_qt_moc for Qt version \$g4_qt_moc_major_version, but Qt \$g4_qt_version path is used. Please update/move \$g4_qt_moc to Qt \$g4_qt_version" 2605 g4_qt_is_configured=yes 2606 fi 2593 2607 else 2594 2608 g4_qt_is_configured='' … … 3218 3232 if test -d "$g4data/$g4data_g4emlow_version" ; then 3219 3233 $echo "yes" 3220 g4ledata=$g4data/$g4data_ emlow_version3234 g4ledata=$g4data/$g4data_g4emlow_version 3221 3235 else 3222 3236 $echo "no" … … 3238 3252 if test -d "$g4data/$g4data_g4abla_version" ; then 3239 3253 $echo "yes" 3240 g4 levelgammadata=$g4data/$g4data_g4abla_version3254 g4abladata=$g4data/$g4data_g4abla_version 3241 3255 else 3242 3256 $echo "no" … … 3297 3311 else 3298 3312 #try again 3313 g4data_foundall=yes 3299 3314 g4data=$gans 3300 3315 fi
Note: See TracChangeset
for help on using the changeset viewer.