comparison src/configure.in @ 8963:53e53aeb35ad v7.4.1767

commit https://github.com/vim/vim/commit/4adfaabfe7e07da9546b45130cad0d266ba48611 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 21 18:20:11 2016 +0200 patch 7.4.1767 Problem: When installing Vim on a GTK system the icon cache is not updated. Solution: Update the GTK icon cache when possible. (Kazunobu Kuriyama)
author Christian Brabandt <cb@256bit.org>
date Thu, 21 Apr 2016 18:30:07 +0200
parents d5d2e48666bd
children c83e2c1e7f2b
comparison
equal deleted inserted replaced
8962:b4be6f6610a0 8963:53e53aeb35ad
2686 AC_MSG_RESULT([not usable.]) 2686 AC_MSG_RESULT([not usable.])
2687 fi 2687 fi
2688 else 2688 else
2689 AC_MSG_RESULT([cannot obtain from pkg_config.]) 2689 AC_MSG_RESULT([cannot obtain from pkg_config.])
2690 fi 2690 fi
2691
2692 AC_MSG_CHECKING([--disable-icon-cache-update argument])
2693 AC_ARG_ENABLE(icon_cache_update,
2694 [ --disable-icon-cache-update update disabled],
2695 [],
2696 [enable_icon_cache_update="yes"])
2697 if test "$enable_icon_cache_update" = "yes"; then
2698 AC_MSG_RESULT([not set])
2699 AC_PATH_PROG(GTK_UPDATE_ICON_CACHE,[gtk-update-icon-cache],no)
2700 if test "x$GTK_UPDATE_ICON_CACHE" = "xno" ; then
2701 AC_MSG_RESULT([not found in PATH.])
2702 fi
2703 else
2704 AC_MSG_RESULT([update disabled])
2705 fi
2706
2707 AC_MSG_CHECKING([--disable-desktop-database-update argument])
2708 AC_ARG_ENABLE(desktop_database_update,
2709 [ --disable-desktop-database-update update disabled],
2710 [],
2711 [enable_desktop_database_update="yes"])
2712 if test "$enable_desktop_database_update" = "yes"; then
2713 AC_MSG_RESULT([not set])
2714 AC_PATH_PROG(UPDATE_DESKTOP_DATABASE,[update-desktop-database],no)
2715 if test "x$UPDATE_DESKTOP_DATABASE" = "xno" ; then
2716 AC_MSG_RESULT([not found in PATH.])
2717 fi
2718 else
2719 AC_MSG_RESULT([update disabled])
2720 fi
2691 fi 2721 fi
2692 AC_SUBST(GLIB_COMPILE_RESOURCES) 2722 AC_SUBST(GLIB_COMPILE_RESOURCES)
2693 AC_SUBST(GRESOURCE_SRC) 2723 AC_SUBST(GRESOURCE_SRC)
2694 AC_SUBST(GRESOURCE_OBJ) 2724 AC_SUBST(GRESOURCE_OBJ)
2725 AC_SUBST(GTK_UPDATE_ICON_CACHE)
2726 AC_SUBST(UPDATE_DESKTOP_DATABASE)
2695 2727
2696 dnl Check for Motif include files location. 2728 dnl Check for Motif include files location.
2697 dnl The LAST one found is used, this makes the highest version to be used, 2729 dnl The LAST one found is used, this makes the highest version to be used,
2698 dnl e.g. when Motif1.2 and Motif2.0 are both present. 2730 dnl e.g. when Motif1.2 and Motif2.0 are both present.
2699 2731