Changed launcher to not have S3D_SERVER #defined to allow visible dialog messages
[scorched3d.git] / configure-wx.m4
blobc35dd48a2f4aee55dd7b43e0995abe1d21fd9525
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
8 AM_OPTIONS_WXCONFIG
9 AM_PATH_WXCONFIG(2.4.0, wxWin=1)
10 if test "$wxWin" != 1; then
11         AC_MSG_ERROR([
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.
19         ])
21      
22 if test x"$use_static_wx" = x"yes"; then
23         WX_LIBS="$WX_LIBS_STATIC"