1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-27 18:50:07 +03:00

configure.ac: fix bashisms

'==' is a bashism, so use the POSIX '=' instead.
This commit is contained in:
Sam James 2024-06-24 01:06:08 +01:00 committed by Nick Wellnhofer
parent c14c20f5ce
commit ec47add47c

View File

@ -747,7 +747,7 @@ if test "$with_readline" != "no" && test "$with_readline" != ""; then
RDL_DIR=$with_readline
fi
if test "$RDL_DIR" == ""; then
if test "$RDL_DIR" = ""; then
PKG_CHECK_MODULES([RDL], [readline], [ WITH_READLINE=1 ], [:])
fi
@ -775,7 +775,7 @@ if test "$with_readline" != "no" && test "$with_readline" != ""; then
[Define if readline library is available])
if test "$with_history" = "yes"; then
if test "$RDL_DIR" == ""; then
if test "$RDL_DIR" = ""; then
PKG_CHECK_MODULES([HISTORY], [history], [
WITH_HISTORY=1
RDL_CFLAGS="$HISTORY_CFLAGS $RDL_CFLAGS"