From: Matthias Bolte Date: Fri, 12 Nov 2010 20:38:27 +0000 (+0100) Subject: configure: Remove bashism and replace 'test ==' with 'test =' X-Git-Tag: v0.8.6~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09c8c2e3edcb186ad764c40a6350e6f59f2b512c;p=thirdparty%2Flibvirt.git configure: Remove bashism and replace 'test ==' with 'test =' This also fixes configure problems on FreeBSD, as test doesn't understand '==' there. --- diff --git a/configure.ac b/configure.ac index f691c27cfe..66237e10da 100644 --- a/configure.ac +++ b/configure.ac @@ -269,9 +269,9 @@ fi 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])]) -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" -elif test "x$with_remote_pid_file" == "xnone" ; then +elif test "x$with_remote_pid_file" = "xnone" ; then REMOTE_PID_FILE="" else REMOTE_PID_FILE="$with_remote_pid_file" @@ -1776,7 +1776,7 @@ if test "$with_python" != "no" ; then fi fi - if test "$with_python" == "yes" ; then + if test "$with_python" = "yes" ; then AM_PATH_PYTHON(,, [:]) if test "$PYTHON" != : ; then