]> granicus.if.org Git - graphviz/commitdiff
Remove bashism
authorDavid Seifert <soap@gentoo.org>
Tue, 6 Jul 2021 11:46:13 +0000 (13:46 +0200)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 8 Jul 2021 00:23:19 +0000 (17:23 -0700)
* `==` only works in bash, whereas a shell like
  dash is significantly faster for running the
  configure script.

configure.ac

index 0bceb48a3be197bd84f5c227ddf4de748f48bd2a..8f8bedc09e0b5536dc15b6103a7a0a58edcabc56 100644 (file)
@@ -317,7 +317,7 @@ AC_C_INLINE
 dnl ===========================================================================
 dnl Set GCC compiler flags
 
-if [test "${GCC}" == "yes"]
+if [ test "${GCC}" = "yes" ]
 then
   # Enable common warnings flags
   CFLAGS="${CFLAGS} -Wall"