]> git.saurik.com Git - wxWidgets.git/blobdiff - acinclude.m4
Make Eof() consistent with other streams
[wxWidgets.git] / acinclude.m4
index 51cd13f6a3aaedbb88aba29423798588a52aadf8..4f4ecb9682151821e5cc7eb2ee7862134db23318 100644 (file)
@@ -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],
                       [