From 1b51fc58c064e5bc085c0a2d764465cd93bb8b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Sat, 9 Jul 2022 13:52:47 +0200 Subject: [PATCH] configure.ac: Replace non-POSIX == operator in tests --- configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index f6d949f44..6f3126132 100644 --- a/configure.ac +++ b/configure.ac @@ -531,7 +531,7 @@ if test "$with_gd" != no; then # If pkg-config did return libgd configuration then # libgd_{CFLAGS,LDFLAGS,LIBS} is set # If gdlib-config executable is found then GDLIB_CONFIG is set - if test $pkg_failed == no && test -n "$GDLIB_CONFIG"; then + if test $pkg_failed = no && test -n "$GDLIB_CONFIG"; then # If pkg-config did succeed and we have gdlib-config then the later takes # priority libgd_CFLAGS=`$GDLIB_CONFIG --cflags` @@ -1141,7 +1141,7 @@ AC_MSG_RESULT([ fig, hpgl, metafont, metapost, pcl5, postscript,]) AC_MSG_RESULT([ pict2e, pslatex, pstex, pstricks, svg, texdraw, tkcanvas]) AC_MSG_RESULT([]) -if test "$with_bitmap_terminals" == yes; then +if test "$with_bitmap_terminals" = yes; then AC_MSG_RESULT([ dot-matrix terminals: yes ( --without-bitmap-terminals to disable)]) else AC_MSG_RESULT([ dot-matrix terminals: no (use --with-bitmap-terminals to enable)]) @@ -1150,7 +1150,7 @@ AC_MSG_RESULT([ epson, nec, okidata, tandy, and seiko dp414 printers]) AC_MSG_RESULT([ hp500c, hpdj, hpljii, hppj, pbm, sixel, starc]) AC_MSG_RESULT([]) -if test "$with_tektronix" == no; then +if test "$with_tektronix" = no; then AC_MSG_RESULT([ tektronix terminal emulators: no ( --with-tektronix to enable)]) else AC_MSG_RESULT([ tektronix terminal emulators: yes ( --without-tektronix to disable)]) @@ -1171,19 +1171,19 @@ else AC_MSG_RESULT([ ggi terminal: no (use --with-ggi to enable, requires libggi)]) fi -if test "$with_gpic" == yes; then +if test "$with_gpic" = yes; then AC_MSG_RESULT([ gpic terminal: yes]) else AC_MSG_RESULT([ gpic terminal: no (use --with-gpic to enable)]) fi -if test "$with_tgif" == yes; then +if test "$with_tgif" = yes; then AC_MSG_RESULT([ tgif terminal: yes]) else AC_MSG_RESULT([ tgif terminal: no (use --with-tgif to enable)]) fi -if test "$with_mif" == yes; then +if test "$with_mif" = yes; then AC_MSG_RESULT([ mif terminal (FrameMaker 3): yes]) else AC_MSG_RESULT([ mif terminal (FrameMaker 3): no (use --with-mif to enable)]) -- 2.35.1