37 |
AC_CHECK_LIB([ncurses], [initscr], LIBNCURSES_FOUND=1, LIBNCURSES_FOUND=0) |
AC_CHECK_LIB([ncurses], [initscr], LIBNCURSES_FOUND=1, LIBNCURSES_FOUND=0) |
38 |
|
|
39 |
AM_OPTIONS_WXCONFIG |
AM_OPTIONS_WXCONFIG |
|
|
|
40 |
AM_PATH_WXCONFIG(2.3.4, wxWin=1) |
AM_PATH_WXCONFIG(2.3.4, wxWin=1) |
|
if test "$wxWin" != 1; then |
|
|
AC_MSG_ERROR([ |
|
|
wxWindows must be installed on your system |
|
|
but wx-config script couldn't be found. |
|
|
|
|
|
Please check that wx-config is in path, the directory |
|
|
where wxWindows libraries are installed (returned by |
|
|
'wx-config --libs' command) is in LD_LIBRARY_PATH or |
|
|
equivalent variable and wxWindows version is 2.3.4 or above. |
|
|
]) |
|
|
fi |
|
41 |
|
|
42 |
CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" |
CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" |
43 |
CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" |
CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" |
91 |
fi |
fi |
92 |
|
|
93 |
if test "x$enable_wxwidgets" = "xyes" ; then |
if test "x$enable_wxwidgets" = "xyes" ; then |
94 |
WXWIDGETS_CFLAGS="" |
if test "$wxWin" != 1; then |
95 |
WXWIDGETS_LIBS="" |
AC_MSG_ERROR([ |
96 |
|
wxWindows must be installed on your system |
97 |
|
but wx-config script couldn't be found. |
98 |
|
|
99 |
|
Please check that wx-config is in path, the directory |
100 |
|
where wxWindows libraries are installed (returned by |
101 |
|
'wx-config --libs' command) is in LD_LIBRARY_PATH or |
102 |
|
equivalent variable and wxWindows version is 2.3.4 or above. |
103 |
|
]) |
104 |
|
fi |
105 |
|
WXWIDGETS_CFLAGS="" |
106 |
|
WXWIDGETS_LIBS="" |
107 |
fi |
fi |
108 |
|
|
109 |
if test "x$enable_gtk" = "xyes" ; then |
if test "x$enable_gtk" = "xyes" ; then |