mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* config/qt4.m4 (QT4_DO_PKG_CONFIG): use = instead of == to check for equality with 'test' (bug 3770)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18575 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c5ca33dd61
commit
b5c00e2464
@ -152,7 +152,7 @@ AC_DEFUN([QT4_DO_PKG_CONFIG],
|
||||
export PKG_CONFIG_PATH
|
||||
fi
|
||||
PKG_CHECK_MODULES(QT4_CORE, QtCore,,[:])
|
||||
if test "$pkg_failed" == "no" ; then
|
||||
if test "$pkg_failed" = "no" ; then
|
||||
QT4_CORE_INCLUDES=$QT4_CORE_CFLAGS
|
||||
AC_SUBST(QT4_CORE_INCLUDES)
|
||||
QT4_CORE_LDFLAGS=`$PKG_CONFIG --libs-only-L QtCore`
|
||||
@ -161,7 +161,7 @@ AC_DEFUN([QT4_DO_PKG_CONFIG],
|
||||
AC_SUBST(QT4_CORE_LIB)
|
||||
fi
|
||||
PKG_CHECK_MODULES(QT4_FRONTEND, QtCore QtGui,,[:])
|
||||
if test "$pkg_failed" == "no" ; then
|
||||
if test "$pkg_failed" = "no" ; then
|
||||
QT4_INCLUDES=$QT4_FRONTEND_CFLAGS
|
||||
dnl QT4_LDFLAGS=$QT4_FRONTEND_LIBS
|
||||
QT4_LDFLAGS=`$PKG_CONFIG --libs-only-L QtCore QtGui`
|
||||
|
Loading…
Reference in New Issue
Block a user