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