[gnome-keyring/dbus-api] Remove == bashisms from 'test' calls configure.
- From: Stefan Walter <stefw src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-keyring/dbus-api] Remove == bashisms from 'test' calls configure.
- Date: Tue, 21 Jul 2009 00:35:21 +0000 (UTC)
commit 189fe9d11bd74065345e20c18063b541d2e5ccf3
Author: Stef Walter <stef memberwebs com>
Date: Sat Jun 27 15:15:56 2009 +0000
Remove == bashisms from 'test' calls configure.
Patch by Alexis Ballier. POSIX does not document the == construction
for test. Fixes bug #587118
configure.in | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/configure.in b/configure.in
index cdc709d..d3c1235 100644
--- a/configure.in
+++ b/configure.in
@@ -461,7 +461,7 @@ AC_ARG_ENABLE(tests,
[Build test tools, unit tests, and -Werror]))
AC_MSG_CHECKING([build test tools, unit tests, and -Werror])
-if test "$enable_tests" == "yes"; then
+if test "$enable_tests" = "yes"; then
AC_DEFINE_UNQUOTED(WITH_TESTS, 1, [Build with unit test support])
AC_MSG_RESULT(yes)
CFLAGS="$CFLAGS -Werror"
@@ -471,13 +471,13 @@ else
tests_status="no"
fi
-AM_CONDITIONAL(WITH_TESTS, test "$enable_tests" == "yes")
+AM_CONDITIONAL(WITH_TESTS, test "$enable_tests" = "yes")
AC_ARG_ENABLE(coverage,
AC_HELP_STRING([--enable-coverage],
[Build coverage testing into gnome-keyring]))
-if test "$enable_coverage" == "yes"; then
+if test "$enable_coverage" = "yes"; then
CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
fi
@@ -492,10 +492,10 @@ AC_ARG_ENABLE(valgrind,
AC_MSG_CHECKING([valgrind])
valgrind_status="yes"
-AM_CONDITIONAL(WITH_VALGRIND, test "$enable_valgrind" == "run")
+AM_CONDITIONAL(WITH_VALGRIND, test "$enable_valgrind" = "run")
# Run gnome-keyring-daemon under valgrind as default
-if test "$enable_valgrind" == "run"; then
+if test "$enable_valgrind" = "run"; then
AC_PATH_PROG(VALGRIND, valgrind, no)
if test "$VALGRIND" = "no" ; then
AC_MSG_ERROR(valgrind tool is not installed)
@@ -516,9 +516,9 @@ AC_SUBST(VALGRIND_ARG)
AC_SUBST(VALGRIND_RUN)
# Build valgrind support into code
-if test "$enable_valgrind" == "yes"; then
+if test "$enable_valgrind" = "yes"; then
AC_CHECK_HEADER([valgrind/valgrind.h], have_valgrind=yes, have_valgrind=no)
- if test "$have_valgrind" == "no"; then
+ if test "$have_valgrind" = "no"; then
AC_MSG_ERROR(The valgrind headers are missing)
fi
AC_DEFINE_UNQUOTED(WITH_VALGRIND, 1, [Run under valgrind])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]