1 dnl Checks for static linking for wx windows
2 AC_ARG_WITH([wx-static],
3 AC_HELP_STRING([--with-wx-static],
4 [enable static linking for wxwindows (default no)]),
5 [use_static_wx=${withval}],,)
7 dnl Check for wxwindows
9 AM_PATH_WXCONFIG(2.4.0, wxWin=1)
10 if test "$wxWin" != 1; then
12 wxWindows must be installed on your system
13 but the wx-config script couldn't be found.
14 Please check that wx-config is in path, the directory
15 where wxWindows libraries are installed (returned by
16 'wx-config --libs' command) is in LD_LIBRARY_PATH or
17 equivalent variable and wxWindows version is 2.4.0 or above
18 Try http://www.wxwindows.org to download wxwindows.
22 if test x"$use_static_wx" = x"yes"; then
23 WX_LIBS="$WX_LIBS_STATIC"