app: default to GIMP_HELP_BROWSER_WEB_BROWSER if there is no webkit

This commit is contained in:
Michael Natterer 2014-05-25 15:23:58 +02:00
parent 38c0937b8f
commit f1573c42d2
2 changed files with 8 additions and 0 deletions

View File

@ -33,7 +33,12 @@
#include "gimp-intl.h"
#ifdef HAVE_WEBKIT
#define DEFAULT_HELP_BROWSER GIMP_HELP_BROWSER_GIMP
#else
#define DEFAULT_HELP_BROWSER GIMP_HELP_BROWSER_WEB_BROWSER
#endif
#define DEFAULT_THEME "Default"
#define DEFAULT_USER_MANUAL_ONLINE_URI \

View File

@ -1406,6 +1406,9 @@ else
fi
AC_SUBST(WEB_PAGE)
if test "x$have_webkit" = "xyes"; then
AC_DEFINE(HAVE_WEBKIT, 1, [Define to 1 if webkit is available])
fi
AM_CONDITIONAL(HAVE_WEBKIT, test "x$have_webkit" = xyes)