diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-08-24 20:00:14 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-08-24 20:00:14 (GMT) |
commit | 4b77f4fc83a7954a741c1b35ec50e918a2786559 (patch) | |
tree | acf5ce8ed64ee56e5f7eec664f2f00260d068e9c /configure | |
parent | bb18b811e8f1a4a939eadf28d12bc5f99dd74b82 (diff) | |
download | Doxygen-4b77f4fc83a7954a741c1b35ec50e918a2786559.zip Doxygen-4b77f4fc83a7954a741c1b35ec50e918a2786559.tar.gz Doxygen-4b77f4fc83a7954a741c1b35ec50e918a2786559.tar.bz2 |
Release-1.3.8-20040824
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 48 |
1 files changed, 28 insertions, 20 deletions
@@ -234,27 +234,35 @@ if test "$f_wizard" = YES; then if test -z "$QTDIR"; then echo " QTDIR environment variable not set!" echo -n " Checking for Qt..." - if test -d "/usr/lib/qt3/lib"; then - if test -d "/usr/lib/qt3/include"; then - if test -x "/usr/lib/qt3/bin/moc"; then - QTDIR="/usr/lib/qt3" - fi - fi - fi - if test -d "/usr/lib/qt2/lib"; then - if test -d "/usr/lib/qt2/include"; then - if test -x "/usr/lib/qt2/bin/moc"; then - QTDIR="/usr/lib/qt2" - fi - fi - fi - if test -d "/usr/lib/qt/lib"; then - if test -d "/usr/lib/qt/include"; then - if test -x "/usr/lib/qt/bin/moc"; then - QTDIR="/usr/lib/qt" - fi + for d in /usr/lib/{qt-3.1,qt3,qt2,qt,qt*}; do + if test -d "$d/lib" -a -d "$d/include" -a -x "$d/bin/moc"; then + QTDIR=$d fi - fi + done +# if test -d "/usr/lib/qt3/lib"; then +# if test -d "/usr/lib/qt3/include"; then +# if test -x "/usr/lib/qt3/bin/moc"; then +# QTDIR="/usr/lib/qt3" +# fi +# fi +# fi +# if test -d "/usr/lib/qt2/lib"; then +# if test -d "/usr/lib/qt2/include"; then +# if test -x "/usr/lib/qt2/bin/moc"; then +# QTDIR="/usr/lib/qt2" +# fi +# fi +# fi +# if test -d "/usr/lib/qt/lib"; then +# if test -d "/usr/lib/qt/include"; then +# if test -x "/usr/lib/qt/bin/moc"; then +# QTDIR="/usr/lib/qt" +# fi +# fi +# fi + else + echo " Detected Qt via the QTDIR environment variable..." + echo -n " " fi if test -z "$QTDIR"; then echo "QTDIR not set and Qt not found at standard locations!" |