Fix for Mandriva 2009.0

This commit is contained in:
vsr 2009-10-09 14:49:56 +00:00
parent 7d33dea1ec
commit a31d4ccacb

View File

@ -330,13 +330,14 @@ then
CXXFLAGS="$CXXFLAGS $QT_INCLUDES"
LIBS_old=$LIBS
if test "x$QTDIR" = "x/usr"
then
if test "x$QTDIR" = "x/usr" ; then
QT_LIB_DIR=""
elif test -d ${QTDIR}/lib; then
QT_LIB_DIR="-L$QTDIR/lib"
elif test -d ${QTDIR}/lib64; then
QT_LIB_DIR="-L$QTDIR/lib64"
elif test "x$QTDIR" = "x/usr/lib/qt4" ; then
QT_LIB_DIR=""
else
AC_MSG_ERROR(Can't detect of Qt library directory )
qt_ok=no