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
This commit is contained in:
@@ -372,7 +372,7 @@ AC_DEFUN([WX_ARG_SYS_WITH],
|
|||||||
fi
|
fi
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
LINE=`grep "$3" ${wx_arg_cache_file}`
|
LINE=`grep "^$3=" ${wx_arg_cache_file}`
|
||||||
if test "x$LINE" != x ; then
|
if test "x$LINE" != x ; then
|
||||||
eval "DEFAULT_$LINE"
|
eval "DEFAULT_$LINE"
|
||||||
else
|
else
|
||||||
@@ -416,7 +416,7 @@ AC_DEFUN([WX_ARG_WITH],
|
|||||||
fi
|
fi
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
LINE=`grep "$3" ${wx_arg_cache_file}`
|
LINE=`grep "^$3=" ${wx_arg_cache_file}`
|
||||||
if test "x$LINE" != x ; then
|
if test "x$LINE" != x ; then
|
||||||
eval "DEFAULT_$LINE"
|
eval "DEFAULT_$LINE"
|
||||||
else
|
else
|
||||||
@@ -458,7 +458,7 @@ AC_DEFUN([WX_ARG_ENABLE],
|
|||||||
fi
|
fi
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
LINE=`grep "$3" ${wx_arg_cache_file}`
|
LINE=`grep "^$3=" ${wx_arg_cache_file}`
|
||||||
if test "x$LINE" != x ; then
|
if test "x$LINE" != x ; then
|
||||||
eval "DEFAULT_$LINE"
|
eval "DEFAULT_$LINE"
|
||||||
else
|
else
|
||||||
@@ -505,7 +505,7 @@ AC_DEFUN([WX_ARG_ENABLE_PARAM],
|
|||||||
wx_cv_use_$1="$3='$enableval'"
|
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
|
if test "x$LINE" != x ; then
|
||||||
eval "DEFAULT_$LINE"
|
eval "DEFAULT_$LINE"
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user