commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 30/36: Add --without-daemon option to configure


From: Samuel Thibault
Subject: [hurd] 30/36: Add --without-daemon option to configure
Date: Tue, 24 Sep 2013 12:31:19 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit cf2aaecb77099ef8d2b9f9fb8ae0d1e362643271
Author: Samuel Thibault <address@hidden>
Date:   Tue Sep 24 00:19:08 2013 +0200

    Add --without-daemon option to configure
    
    * configure.ac (--without-daemon): Add option to disable libdaemon pkgconfig
    test.
---
 configure.ac |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 175a520..a505b1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -297,9 +297,16 @@ else
                            echo ${file}:build.mk.in; done`"
 fi
 
-PKG_CHECK_MODULES([libdaemon], [libdaemon],
-  [AC_DEFINE([HAVE_DAEMON], [1], [Use libdaemon])],
-  [true])
+AC_ARG_WITH([libdaemon],
+  [AS_HELP_STRING([--without-libdaemon], [disable libdaemon use in console 
client])],
+  [],
+  [with_libdaemon=yes])
+
+AS_IF([test "x$with_libdaemon" != xno], [
+  PKG_CHECK_MODULES([libdaemon], [libdaemon],
+    [AC_DEFINE([HAVE_DAEMON], [1], [Use libdaemon])],
+    [true])
+])
 AC_SUBST([libdaemon_LIBS])
 AC_SUBST([libdaemon_CFLAGS])
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]