mirror of
https://github.com/libvirt/libvirt.git
synced 2026-07-29 15:54:48 -05:00
configure: Remove bashism and replace 'test ==' with 'test ='
This also fixes configure problems on FreeBSD, as test doesn't understand '==' there.
This commit is contained in:
+3
-3
@@ -269,9 +269,9 @@ fi
|
|||||||
|
|
||||||
AC_MSG_CHECKING([where to write libvirtd PID file])
|
AC_MSG_CHECKING([where to write libvirtd PID file])
|
||||||
AC_ARG_WITH([remote-pid-file], [AC_HELP_STRING([--with-remote-pid-file=@<:@pidfile|none@:>@], [PID file for libvirtd])])
|
AC_ARG_WITH([remote-pid-file], [AC_HELP_STRING([--with-remote-pid-file=@<:@pidfile|none@:>@], [PID file for libvirtd])])
|
||||||
if test "x$with_remote_pid_file" == "x" ; then
|
if test "x$with_remote_pid_file" = "x" ; then
|
||||||
REMOTE_PID_FILE="$localstatedir/run/libvirtd.pid"
|
REMOTE_PID_FILE="$localstatedir/run/libvirtd.pid"
|
||||||
elif test "x$with_remote_pid_file" == "xnone" ; then
|
elif test "x$with_remote_pid_file" = "xnone" ; then
|
||||||
REMOTE_PID_FILE=""
|
REMOTE_PID_FILE=""
|
||||||
else
|
else
|
||||||
REMOTE_PID_FILE="$with_remote_pid_file"
|
REMOTE_PID_FILE="$with_remote_pid_file"
|
||||||
@@ -1776,7 +1776,7 @@ if test "$with_python" != "no" ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$with_python" == "yes" ; then
|
if test "$with_python" = "yes" ; then
|
||||||
AM_PATH_PYTHON(,, [:])
|
AM_PATH_PYTHON(,, [:])
|
||||||
|
|
||||||
if test "$PYTHON" != : ; then
|
if test "$PYTHON" != : ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user