From ce9735e67eed49a680fa0da0bef26b8d347a9a84 Mon Sep 17 00:00:00 2001 From: Francesco Salvestrini Date: Tue, 4 Aug 2009 19:18:18 +0200 Subject: [PATCH 2/3] Excessive quoting and portability problems fixed --- m4/ax_with_prog.m4 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/ax_with_prog.m4 b/m4/ax_with_prog.m4 index e20276c..52ae6b1 100644 --- a/m4/ax_with_prog.m4 +++ b/m4/ax_with_prog.m4 @@ -43,8 +43,8 @@ AC_DEFUN([AX_WITH_PROG],[ AS_IF(test -z "$VARIABLE",[ AC_MSG_CHECKING(whether EXECUTABLE executable path has been provided) - AC_ARG_WITH(EXECUTABLE,AS_HELP_STRING([--with-EXECUTABLE=[[[[PATH]]]]],absolute path to EXECUTABLE executable), [ - AS_IF([test "$withval" != yes -a "$withval" != no],[ + AC_ARG_WITH(EXECUTABLE,AS_HELP_STRING([--with-EXECUTABLE=[[[PATH]]]],absolute path to EXECUTABLE executable), [ + AS_IF([test "$withval" != yes && test "$withval" != no],[ VARIABLE="$withval" AC_MSG_RESULT($VARIABLE) ],[ -- 1.6.3.3