see: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac index 64bc186..9d5cdda 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ AC_CONFIG_MACRO_DIR([m4]) AC_PATH_PROG([GIT], [git]) AC_MSG_CHECKING([for extra version information]) -if test "x${GIT}" != x -a -x "${GIT}" -a -d "${srcdir}/.git"; then +if test "x${GIT}" != x && test -x "${GIT}" && test -d "${srcdir}/.git"; then PACKAGE_VERSION_FULL="$( cd "${srcdir}" && ${GIT} describe --tags --long --always --dirty)" @@ -124,7 +124,7 @@ AC_ARG_WITH( ) AC_PATH_PROG([MYSQL_CONFIG], [${mysql_config}]) -if test "x${MYSQL_CONFIG}" != x -a -x "${MYSQL_CONFIG}"; then +if test "x${MYSQL_CONFIG}" != x && test -x "${MYSQL_CONFIG}"; then # this is a bit of a hack because mysql_config --include specified non-system include flags for flag in `$MYSQL_CONFIG --include`; do case $flag in -- 2.4.5 ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ rpstir-devel mailing list rpstir-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpstir-devel