Changeset 4625

Show
Ignore:
Timestamp:
09/23/06 23:19:26 (2 years ago)
Author:
erijo
Message:

Applied patch from Geoffrey Lee to have qt-gui do proper detection of Qt under Mac OS X (#1401).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt-gui/acinclude.m4.in

    r4615 r4625  
    5959      for qt_dir in $qt_library_dirs; do 
    6060        if test -z $ac_kde || test "$ac_kde" = "no" || test "$kde_version" -ge 3; then 
    61           if test -r "$qt_dir/libqt-mt.so"; then 
     61          if test -r "$qt_dir/libqt-mt.so" -o -r "$qt_dir/libqt-mt.dylib"; then 
    6262            ac_qt_libname=-lqt-mt 
    6363            ac_qt_libdir=$qt_dir 
     
    6767          fi 
    6868 
    69           if test -r "$qt_dir/libqt-mt.so.3"; then 
     69          if test -r "$qt_dir/libqt-mt.so.3" -o -r "$qt_dir/libqt-mt.so.3.dylib"; then 
    7070            ac_qt_libname=-lqt-mt 
    7171            ac_qt_libdir=$qt_dir 
     
    144144 
    145145      if test -n "$QTDIR"; then 
    146         qt_include_dirs="$QTDIR/include $qt_include_dirs" 
     146        qt_include_dirs="$QTDIR/include $QTDIR/include/qt $QTDIR/include/qt3 $qt_include_dirs" 
    147147      fi 
    148148