2 aiksaurus_pkgs="aiksaurus-1.0"
3 aiksaurus_gtk_pkgs="aiksaurusgtk3-1.0"
6 if test "$enable_aiksaurus" != ""; then
8 PKG_CHECK_EXISTS([ $aiksaurus_pkgs ],
12 test "$enable_aiksaurus" = "auto" && AC_MSG_WARN([aiksaurus plugin: dependencies not satisfied - $aiksaurus_pkgs])
17 if test "$enable_aiksaurus" = "yes" || \
18 test "$aiksaurus_deps" = "yes"; then
20 use_builtin_aiksaurus_gtk="no"
21 if test "$TOOLKIT" = "gtk"; then
22 PKG_CHECK_EXISTS([ $aiksaurus_gtk_pkgs ],
24 aiksaurus_pkgs="$aiksaurus_pkgs $aiksaurus_gtk_pkgs"
25 ], [use_builtin_aiksaurus_gtk="yes"])
28 if test "$enable_aiksaurus_builtin" = "yes"; then
29 AC_MSG_ERROR([aiksaurus plugin: static linking not supported])
32 PKG_CHECK_MODULES(AIKSAURUS,[ $aiksaurus_pkgs ])
35 test "$enable_aiksaurus" = "auto" && PLUGINS="$PLUGINS aiksaurus"
37 AIKSAURUS_CFLAGS="$AIKSAURUS_CFLAGS "'${PLUGIN_CFLAGS}'
38 AIKSAURUS_LIBS="$AIKSAURUS_LIBS "'${PLUGIN_LIBS}'
42 AM_CONDITIONAL([WITH_BUILTIN_AIKSAURUS_GTK],[ test "x$use_builtin_aiksaurus_gtk" = "xyes" ])
44 AC_SUBST([AIKSAURUS_CFLAGS])
45 AC_SUBST([AIKSAURUS_LIBS])