]> granicus.if.org Git - graphviz/commitdiff
Autotools: fix non-portable syntax in configure.ac
authorMichael Bäuerle <micha@NetBSD.org>
Thu, 12 Jan 2023 11:25:00 +0000 (03:25 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 12 Jan 2023 11:25:00 +0000 (03:25 -0800)
configure.ac

index c3c50951480ca4105c6784a38530911585d162ee..0aaf2510c34ddf54edc14165b4c6da34a397a0f2 100644 (file)
@@ -1972,7 +1972,7 @@ AS_IF([test "x$with_qt" != "xno"], [
   # required for linking with QT
   CXXFLAGS="${CXXFLAGS} -fPIE -fPIC"
   AC_CHECK_PROGS([QMAKE], [qmake6 qmake-qt5 qmake5 qmake], [false])
-  AS_IF([test "$QMAKE" == "qmake6"], [
+  AS_IF([test "$QMAKE" = "qmake6"], [
     # Qt6
     AC_CHECK_FILE($(${QMAKE} -query QT_INSTALL_HEADERS)/QtCore/QtCore, [
       QTCORE_CFLAGS="-I$(${QMAKE} -query QT_INSTALL_HEADERS) -I$(${QMAKE} -query QT_INSTALL_HEADERS)/QtCore"