From: Douglas W. <dwi...@us...> - 2005-05-20 15:03:40
|
Update of /cvsroot/hugin/hugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18520 Modified Files: configure.ac Log Message: Add GNOME desktop integration Index: configure.ac =================================================================== RCS file: /cvsroot/hugin/hugin/configure.ac,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- configure.ac 15 May 2005 21:38:25 -0000 1.21 +++ configure.ac 20 May 2005 15:03:21 -0000 1.22 @@ -98,6 +98,18 @@ AC_PROG_MAKE_SET AC_PROG_LN_S +dnl desktop integration options +AC_ARG_ENABLE([desktop], + AC_HELP_STRING([--enable-desktop], + [enable desktop integration using freedesktop standards(default=yes).]), + [enable_desktop=$enableval], + [enable_desktop=yes]) + +if test "x$enable_desktop" = xyes; then + AC_PATH_PROG(UPDATE_MIME_DATABASE, update-mime-database) + AC_PATH_PROG(UPDATE_DESKTOP_DATABASE, update-desktop-database) +fi + dnl Checks for libraries. AM_OPTIONS_WXCONFIG |