diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-07-29 20:18:19 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-07-29 20:18:19 +0200 |
| commit | a17a4821ac20e46aa2289168596535a8ead01db1 (patch) | |
| tree | 9f960ff302c7fcab3a61bd518021507109e718a6 /configure.ac | |
| parent | 7d9cf8b42bc4b145f641a5bbc7c62e59b55a7edd (diff) | |
Fix make distcheck
Add all headers to _SOURCES
Cleanup update-mime-database (and c.o.) and disable them for distcheck
as they leave files after uninstall
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fdf8800..2d7c041 100644 --- a/configure.ac +++ b/configure.ac @@ -166,8 +166,20 @@ AS_IF([test x$qt_check = xyes], ]) AM_CONDITIONAL([HAVE_QT],[test "x$have_qt" = "x1"]) + AM_CONDITIONAL([HAVE_GUI],[test "x$have_gtk" = "x1" -o "x$have_qt" = "x1"]) +AC_ARG_ENABLE([update-mimedb], + [AC_HELP_STRING([--disable-update-mimedb], [disable the update-mime-database after install])], + [enable_update_mimedb=$enableval], + [enable_update_mimedb=yes]) +AM_CONDITIONAL([ENABLE_UPDATE_MIMEDB], [test "x$enable_update_mimedb" = "xyes"]) +AS_IF([test "x$have_gtk" = "x1" -o "x$have_qt" = "x1"], + [AC_PATH_PROG([UPDATE_MIME_DATABASE], [update-mime-database], [no]) + AC_PATH_PROG([UPDATE_DESKTOP_DATABASE], [update-desktop-database], [no])]) +AS_IF([test "x$have_gtk" = "x1"], + [AC_PATH_PROG([GTK_UPDATE_ICON_CACHE], [gtk-update-icon-cache], [no])]) + # Finish up AC_CONFIG_HEADERS([src/config.h]) |
