]> git.meshlink.io Git - catta/commitdiff
* Mention a 'none' option to --with-distro for distributions that are not known.
authorTrent Lloyd <lathiat@bur.st>
Tue, 23 Aug 2005 06:37:21 +0000 (06:37 +0000)
committerTrent Lloyd <lathiat@bur.st>
Tue, 23 Aug 2005 06:37:21 +0000 (06:37 +0000)
 * 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

configure.ac
examples/glib-integration.c

index 2d33c793bbdabf6809e9851314464c78830ff8da..9feaea6a0f4f226f53bbf7d548993380fe17a3ba 100644 (file)
@@ -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")
index 4c17ebfa5c99e87e08e9886f363ab29659cf97ea..fa68693ada43bc5d57e7d2ca6ff8729f40ac43a3 100644 (file)
@@ -138,4 +138,6 @@ fail:
     g_main_loop_unref (loop);
     avahi_client_free (client);
     avahi_glib_poll_free (glib_poll);
+
+    return 0;
 }