From: Trent Lloyd Date: Tue, 23 Aug 2005 06:37:21 +0000 (+0000) Subject: * Mention a 'none' option to --with-distro for distributions that are not known. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=83c0bc0c4f8701e71d34896472810d0f5c73fbe5;p=catta * Mention a 'none' option to --with-distro for distributions that are not known. * Add a return 0 to the glib integration example, better make good code examples I suppose. :) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@405 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/configure.ac b/configure.ac index 2d33c79..9feaea6 100644 --- a/configure.ac +++ b/configure.ac @@ -234,7 +234,7 @@ AM_CONDITIONAL(HAVE_PYTHON, [test "x$HAVE_PYTHON" = "xyes" ]) # # Detecting the linux distro for specific things like initscripts. # -AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO],[Specify the Linux distribution to target: One of redhat, suse, gentoo, debian, or slackware])) +AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO],[Specify the Linux distribution to target: One of redhat, suse, gentoo, debian, slackware or none])) if test "z$with_distro" = "z"; then AC_CHECK_FILE(/etc/redhat-release,with_distro="redhat") AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse") diff --git a/examples/glib-integration.c b/examples/glib-integration.c index 4c17ebf..fa68693 100644 --- a/examples/glib-integration.c +++ b/examples/glib-integration.c @@ -138,4 +138,6 @@ fail: g_main_loop_unref (loop); avahi_client_free (client); avahi_glib_poll_free (glib_poll); + + return 0; }