dnl cause for this test.
dnl LYX_CXX_STL_STACK
LYX_CXX_STL_STRING
+LYX_CXX_GOOD_STD_STRING
LYX_CXX_NAMESPACES
LYX_CXX_CHEADERS
LYX_STD_COUNT
xforms)
FRONTEND="xforms"
FRONTEND_GUILIB="\${top_builddir}/src/frontends/xforms/libxforms.la";;
+ gnome)
+ AM_PATH_GTKMM(1.2.1,,
+ AC_MSG_ERROR(Cannot find GTK--: Please install Version 1.2.1+))
+ AM_PATH_GNOMEMM
+
+ FRONTEND="gnome"
+ FRONTEND_GUILIB="\${top_builddir}/src/frontends/gnome/libgnome.la"
+ FRONTEND_LDFLAGS="\$(GNOMEMM_LIBDIR)"
+ FRONTEND_INCLUDES="\$(GNOMEMM_INCLUDEDIR) \$(GTKMM_CFLAGS)"
+ FRONTEND_LIBS="\$(GNOMEMM_LIBS) \$(GTKMM_LIBS)"
+ AC_DEFINE(GTKGUI);;
*)
LYX_ERROR(Unknown frontend $lyx_use_frontend);;
esac
AC_REPLACE_FUNCS(strerror atexit)
### and now some special lyx flags.
-AC_ARG_WITH(two-colors,[ --with-two-colors use two color pixmaps],
- [AC_DEFINE(TWO_COLOR_ICONS,1,
- [You might want to define TWO_COLOR_ICONS if you want to spare
- your colormap. This will use monochrome icons instead of colored ones.])
- lyx_flags="$lyx_flags two-colors"])
AC_ARG_ENABLE(assertions,
[ --enable-assertions add runtime sanity checks in the program],,
[if test $lyx_devel_version = yes -o $lyx_prerelease = yes ; then
src/frontends/Makefile \
src/frontends/xforms/Makefile \
src/frontends/kde/Makefile \
+ src/frontends/gnome/Makefile \
], [sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])