112 |
AC_SUBST(NCURSES_LIBS) |
AC_SUBST(NCURSES_LIBS) |
113 |
fi |
fi |
114 |
|
|
115 |
if test "x$enable_wxwidgets" = "xyes" ; then |
#if test "x$enable_wxwidgets" = "xyes" ; then |
116 |
AM_OPTIONS_WXCONFIG |
# AM_OPTIONS_WXCONFIG |
117 |
AM_PATH_WXCONFIG(2.3.4, wxWin=1) |
# AM_PATH_WXCONFIG(2.3.4, wxWin=1) |
118 |
|
# |
119 |
if test "$wxWin" != 1; then |
# if test "$wxWin" != 1; then |
120 |
AC_MSG_ERROR([ |
# AC_MSG_ERROR([ |
121 |
*** wxWindows must be installed on your system |
#*** wxWindows must be installed on your system |
122 |
*** but wx-config script couldn't be found. |
#*** but wx-config script couldn't be found. |
123 |
|
# |
124 |
*** Please check that wx-config is in path, the directory |
#*** Please check that wx-config is in path, the directory |
125 |
*** where wxWindows libraries are installed (returned by |
#*** where wxWindows libraries are installed (returned by |
126 |
*** 'wx-config --libs' command) is in LD_LIBRARY_PATH or |
#*** 'wx-config --libs' command) is in LD_LIBRARY_PATH or |
127 |
*** equivalent variable and wxWindows version is 2.3.4 or above. |
#*** equivalent variable and wxWindows version is 2.3.4 or above. |
128 |
]) |
# ]) |
129 |
fi |
# fi |
130 |
|
# |
131 |
CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" |
# CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" |
132 |
CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" |
# CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" |
133 |
CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" |
# CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" |
134 |
LDFLAGS="$LDFLAGS $WX_LIBS" |
# LDFLAGS="$LDFLAGS $WX_LIBS" |
135 |
|
# |
136 |
WXWIDGETS_CFLAGS="" |
# WXWIDGETS_CFLAGS="" |
137 |
WXWIDGETS_LIBS="" |
# WXWIDGETS_LIBS="" |
138 |
fi |
#fi |
139 |
|
|
140 |
if test "x$enable_gtk" = "xyes" ; then |
if test "x$enable_gtk" = "xyes" ; then |
141 |
#if test "$LIBGTK_FOUND" = "0" ; then |
#if test "$LIBGTK_FOUND" = "0" ; then |