From 8ea4cc2e305b2c10a293d5b9165746723f0dde99 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 13 Aug 2012 11:20:29 +0100 Subject: [PATCH 1/3] configure.ac: don't rely on test -a test EXPR -a EXPR is a common extension (present in bash, dash etc.), but is not guaranteed by POSIX. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 43b1271..d1abd97 100644 --- a/configure.ac +++ b/configure.ac @@ -194,7 +194,7 @@ AC_ARG_ENABLE([installed-examples], [enable_installed_examples=$installed_tests]) AM_CONDITIONAL([INSTALL_EXAMPLES], [test "$enable_installed_examples" = yes]) -if test x$installed_tests = xyes -a x$enable_installed_examples != xyes; then +if test x$installed_tests = xyes && test x$enable_installed_examples != xyes; then AC_MSG_ERROR([examples must be installed when tests are installed.]) fi -- 1.7.10.4