Skip to content

Commit

Permalink
Kill bashizm
Browse files Browse the repository at this point in the history
'=' operator for test(1) is not portable.
  • Loading branch information
obache committed Nov 9, 2014
1 parent 75688ad commit 021406c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configure
Expand Up @@ -14197,15 +14197,15 @@ fi
touch aclocal.m4 Makefile.in */Makefile.in configure config.h.in


if test x$have_jpeg == xyes; then
if test x$have_jpeg = xyes; then
HAVE_JPEG_TRUE=
HAVE_JPEG_FALSE='#'
else
HAVE_JPEG_TRUE='#'
HAVE_JPEG_FALSE=
fi

if test x$have_png == xyes; then
if test x$have_png = xyes; then
HAVE_PNG_TRUE=
HAVE_PNG_FALSE='#'
else
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -367,8 +367,8 @@ AC_DEFUN([LS_UPDATE_TIMESTAMP], [
])
LS_UPDATE_TIMESTAMP

AM_CONDITIONAL([HAVE_JPEG], [test x$have_jpeg == xyes])
AM_CONDITIONAL([HAVE_PNG], [test x$have_png == xyes])
AM_CONDITIONAL([HAVE_JPEG], [test x$have_jpeg = xyes])
AM_CONDITIONAL([HAVE_PNG], [test x$have_png = xyes])

AC_CONFIG_FILES([Makefile
libsixel.pc
Expand Down

0 comments on commit 021406c

Please sign in to comment.