adapted to wx-config libraries list changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
25271309f0
commit
04bd3f56d2
10
wxwin.m4
10
wxwin.m4
@ -94,6 +94,10 @@ AC_DEFUN([AM_PATH_WXCONFIG],
|
||||
WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
|
||||
fi
|
||||
|
||||
if test "x$4" != "x" ; then
|
||||
wx_config_args="$wx_config_args $4"
|
||||
fi
|
||||
|
||||
dnl don't search the PATH if WX_CONFIG_NAME is absolute filename
|
||||
if test -x "$WX_CONFIG_NAME" ; then
|
||||
AC_MSG_CHECKING(for wx-config)
|
||||
@ -147,11 +151,7 @@ AC_DEFUN([AM_PATH_WXCONFIG],
|
||||
if test "x$wx_ver_ok" = x ; then
|
||||
no_wx=yes
|
||||
else
|
||||
if test "x$4" = "x" ; then
|
||||
wx_libs_arg="--libs"
|
||||
else
|
||||
wx_libs_arg="--libs=$4"
|
||||
fi
|
||||
wx_libs_arg="--libs"
|
||||
WX_LIBS=`$WX_CONFIG_WITH_ARGS $wx_libs_arg`
|
||||
WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static $wx_libs_arg`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user