From dc6923a52c55308c5ae67d28f313d8c12556ef8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 9 May 2007 14:42:46 +0000 Subject: [PATCH] fixed configarg.cache code to correctly handle multiple options with the same prefix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- acinclude.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 4a84836a86..204c5fb238 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -372,7 +372,7 @@ AC_DEFUN([WX_ARG_SYS_WITH], fi ], [ - LINE=`grep "$3" ${wx_arg_cache_file}` + LINE=`grep "^$3=" ${wx_arg_cache_file}` if test "x$LINE" != x ; then eval "DEFAULT_$LINE" else @@ -416,7 +416,7 @@ AC_DEFUN([WX_ARG_WITH], fi ], [ - LINE=`grep "$3" ${wx_arg_cache_file}` + LINE=`grep "^$3=" ${wx_arg_cache_file}` if test "x$LINE" != x ; then eval "DEFAULT_$LINE" else @@ -458,7 +458,7 @@ AC_DEFUN([WX_ARG_ENABLE], fi ], [ - LINE=`grep "$3" ${wx_arg_cache_file}` + LINE=`grep "^$3=" ${wx_arg_cache_file}` if test "x$LINE" != x ; then eval "DEFAULT_$LINE" else @@ -505,7 +505,7 @@ AC_DEFUN([WX_ARG_ENABLE_PARAM], wx_cv_use_$1="$3='$enableval'" ], [ - LINE=`grep "$3" ${wx_arg_cache_file}` + LINE=`grep "^$3=" ${wx_arg_cache_file}` if test "x$LINE" != x ; then eval "DEFAULT_$LINE" else