summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2005-08-23 06:37:21 +0000
committerTrent Lloyd <lathiat@bur.st>2005-08-23 06:37:21 +0000
commit83c0bc0c4f8701e71d34896472810d0f5c73fbe5 (patch)
treeae7aad01b6606752095a4ad3c7308919fdcacdd4
parent17e2e1d2e179c180d47c94b39eb5a2c07dfdb866 (diff)
* 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
-rw-r--r--configure.ac2
-rw-r--r--examples/glib-integration.c2
2 files changed, 3 insertions, 1 deletions
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;
}