X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5044ee8089f346d13af0762b0aa83cdf34516d5..77a1771911ed222ba6861ead327c3735fc16a0b1:/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], [