X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=configure.in;h=77b90d5c50576e8cc38687ff811878e2c54b3805;hb=1c6dbe5efa98631fad4310eb9234e67e89cbcf17;hp=e42caf81362a49f5c9fa83d6d6cf0c391a4f5d66;hpb=eb511463c7a9a6d1c190c6fb8b1ef13fc00c0ff9;p=doldaconnect.git diff --git a/configure.in b/configure.in index e42caf8..77b90d5 100644 --- a/configure.in +++ b/configure.in @@ -56,6 +56,10 @@ DOLDA_PKG([HAS_GTK2], [test "$with_gtk2" = no && HAS_GTK2=no], if test "$with_gtk2" = yes -a "$HAS_GTK2" = no; then AC_MSG_ERROR([*** cannot find GTK2 on this system]) fi +DOLDA_PKG([HAS_GTK2SI], [test "$HAS_GTK2" = no && HAS_GTK2SI=no], + [DOLDA_CHECK_FUNC(gtk_status_icon_new_from_pixbuf, [], [HAS_GTK2SI=no], $GTK2_CFLAGS, $GTK2_LIBS)]) +DOLDA_PKG([HAS_GTK2ASS], [test "$HAS_GTK2" = no && HAS_GTK2ASS=no], + [DOLDA_CHECK_FUNC(gtk_assistant_new, [], [HAS_GTK2ASS=no], $GTK2_CFLAGS, $GTK2_LIBS)]) # libxml2 check AC_ARG_WITH(libxml2, [ --with-libxml2 Enable libxml2 support]) @@ -100,12 +104,12 @@ AM_CONDITIONAL(CLI_GTK2, test "$enable_gtk2ui" = yes) # Dolconf check DOLDA_ENABLE(dolconf, [ --enable-dolconf Build the configuration helper], yes, - [HAS_GTK2]) + [HAS_GTK2], [HAS_GTK2ASS]) AM_CONDITIONAL(DOLCONF, test "$enable_dolconf" = yes) # GUI shell check DOLDA_ENABLE(guishell, [ --enable-guishell Build the GUI shell programs], yes, - [HAS_GTK2]) + [HAS_GTK2], [HAS_GTK2SI]) AM_CONDITIONAL(GUISHELL, test "$enable_guishell" = yes) # Gnome applet check @@ -202,6 +206,8 @@ AC_CHECK_MEMBER(struct sockaddr_in6.sin6_family, [ AC_DEFINE(HAVE_IPV6) ], , [#i AH_TEMPLATE(HAVE_RESOLVER, [define if your system supports the res_* functions to fetch DNS RRs]) AC_CHECK_LIB(resolv, res_query, [ AC_DEFINE(HAVE_RESOLVER) LDFLAGS="$LDFLAGS -lresolv" ]) +AC_CHECK_LIB(resolv, __res_query, [ AC_DEFINE(HAVE_RESOLVER) + LDFLAGS="$LDFLAGS -lresolv" ]) # Unix credentials selector AH_TEMPLATE(UNIX_AUTH_STYLE, [undefine for no Unix auth, 1 for Linux style, 2 for BSD style])