X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5b6251927eacf651b9c46fd6bc499f477ba2360..06d4c4d65aa052a7586dd42bf0d558c46699b564:/acinclude.m4 diff --git a/acinclude.m4 b/acinclude.m4 index 51cd13f6a3..4f4ecb9682 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -335,10 +335,11 @@ AC_DEFUN([WX_ARG_SYS_WITH], ]) dnl this macro checks for a command line argument and caches the result -dnl usage: WX_ARG_WITH(option, helpmessage, variable-name) +dnl usage: WX_ARG_WITH(option, helpmessage, variable-name, [withstring]) AC_DEFUN([WX_ARG_WITH], [ - AC_MSG_CHECKING([for --with-$1]) + withstring=$4 + AC_MSG_CHECKING([for --${withstring:-with}-$1]) no_cache=0 AC_ARG_WITH($1, [$2], [