]> git.lyx.org Git - lyx.git/blobdiff - configure.in
patch from Angus
[lyx.git] / configure.in
index 92d552f2881a75f7b73e3391d1e322c50b77f474..bb5ac70cda9653c162df0a898653941d923e6b4a 100644 (file)
@@ -159,6 +159,17 @@ case "$lyx_use_frontend" in
   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
@@ -261,12 +272,14 @@ AC_OUTPUT([Makefile \
        po/Makefile.in \
        src/Makefile \
        src/mathed/Makefile \
+       src/graphics/Makefile \
        src/insets/Makefile \
        src/support/Makefile \
        src/xtl/Makefile \
        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])